Go to file
ThomasV 557b2c1896 update scripts for python3 2017-09-05 15:27:08 +02:00
contrib migrate make_locale to python3 2017-08-27 08:01:12 +02:00
gui fix #2834 2017-09-03 06:25:50 +02:00
icons Use Windows icon with higher resolution and transparency 2017-08-07 21:03:48 +02:00
lib cleanup six (no python2 support) 2017-09-04 14:43:31 +02:00
plugins rename bc_address functions 2017-08-31 10:21:57 +02:00
pubkeys Add my own public key. 2015-06-26 14:49:02 +09:00
scripts update scripts for python3 2017-09-05 15:27:08 +02:00
snap fix typo on the python version 2017-06-15 19:12:46 +00:00
.gitignore Added tox temporary files to .gitignore 2017-05-31 13:35:15 +03:00
.travis.yml Let travis run the test using Python3 2017-08-26 08:28:24 +02:00
AUTHORS Add self to AUTHORS 2015-11-09 22:53:27 +09:00
Info.plist Removed packages folder as depedency for osx builds 2015-02-23 09:37:44 +01:00
LICENCE Relicensing 2016-02-24 10:20:30 +01:00
MANIFEST.in remove themes, check python3 in setup.py 2015-10-18 12:43:20 +02:00
README.rst python 3 changes in README 2017-09-01 06:13:46 +02:00
RELEASE-NOTES bump version number and update release notes 2017-08-26 08:33:42 +02:00
app.fil updates for i18n translations 2016-08-01 10:04:11 +02:00
electrum update make_packages script for android 2017-08-26 08:28:25 +02:00
electrum-env kivy:Improve startup speed 2016-01-27 20:21:20 +05:30
electrum.conf.sample update doc for sample conf file 2016-04-12 20:01:28 +02:00
electrum.desktop Move Electrum to the Finance category 2017-03-21 00:40:59 +01:00
electrum.icns Updated mac icon to meet aesthetic of Windows icon 2017-07-25 00:03:36 -07:00
icons.qrc Add tab icons 2017-07-09 21:01:11 +02:00
setup-release.py update OSX builds with python3 2017-08-26 08:28:24 +02:00
setup.py misc python3 updates: 2017-08-26 08:28:24 +02:00
tox.ini Let travis run the test using Python3 2017-08-26 08:28:24 +02:00

README.rst

Electrum - Lightweight Bitcoin client
=====================================

::

  Licence: MIT Licence
  Author: Thomas Voegtlin
  Language: Python
  Homepage: https://electrum.org/


.. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master
    :target: https://travis-ci.org/spesmilo/electrum
    :alt: Build Status





Getting started
===============

Electrum is a pure python application. If you want to use the
Qt interface, install the Qt dependencies::

    sudo apt-get install python3-pyqt4

If you downloaded the official package (tar.gz), you can run
Electrum from its root directory, without installing it on your
system; all the python dependencies are included in the 'packages'
directory. To run Electrum from its root directory, just do::

    ./electrum

You can also install Electrum on your system, by running this command::

    python3 setup.py install

This will download and install the Python dependencies used by
Electrum, instead of using the 'packages' directory.

If you cloned the git repository, you need to compile extra files
before you can run Electrum. Read the next section, "Development
Version".



Development version
===================

Check out the code from Github::

    git clone git://github.com/spesmilo/electrum.git
    cd electrum

Run install (this should install dependencies)::

    python3 setup.py install

Compile the icons file for Qt::

    sudo apt-get install pyqt4-dev-tools
    pyrcc4 icons.qrc -o gui/qt/icons_rc.py -py3

Compile the protobuf description file::

    sudo apt-get install protobuf-compiler
    protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto

Create translations (optional)::

    sudo apt-get install python-pycurl gettext
    ./contrib/make_locale




Creating Binaries
=================


To create binaries, create the 'packages' directory::

    ./contrib/make_packages

This directory contains the python dependencies used by Electrum.

Mac OS X
--------

::

    # On MacPorts installs: 
    sudo python setup-release.py py2app
    
    # On Homebrew installs: 
    ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip
    
    sudo hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-VERSION-macosx.dmg

Windows
-------

See `contrib/build-wine/README` file.


Android
-------

See `gui/kivy/Readme.txt` file.