Go to file
SomberNight 12c9cca102 updated snap packaging details 2017-10-20 23:23:32 +02:00
contrib https in build scripts 2017-10-20 16:01:59 +02:00
gui Merge pull request #3010 from SomberNight/qt_wiz_catch_exc 2017-10-19 16:03:01 +02:00
icons Adjust colors if dark color scheme is used 2017-10-04 15:17:20 +02:00
lib Update commands: output str(Decimals), not floats 2017-10-20 21:35:18 +03:00
plugins fix command line interface for hardware wallets. fixes #3056 2017-10-19 11:59:36 +02:00
pubkeys Add my own public key. 2015-06-26 14:49:02 +09:00
scripts fix peers type 2017-09-17 16:46:24 +02:00
snap updated snap packaging details 2017-10-20 23:23:32 +02: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 Update README.rst for Python 3 on macOS 2017-09-27 04:40:22 +04:00
RELEASE-NOTES clarify release status 2017-09-17 14:34:24 +02:00
app.fil updates for i18n translations 2016-08-01 10:04:11 +02:00
electrum fix #3071: import error message 2017-10-20 09:53:54 +02:00
electrum-env py3: electrum-env 2017-09-30 07:04:11 +02:00
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 Adjust colors if dark color scheme is used 2017-10-04 15:17:20 +02:00
setup-release.py migration to PyQt5. initial commit. 2017-09-23 05:54:38 +02:00
setup.py add server list to setup.py 2017-09-14 10:25:04 +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-pyqt5

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::

    sudo apt-get install python3-setuptools
    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 pyqt5-dev-tools
    pyrcc5 icons.qrc -o gui/qt/icons_rc.py

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 / macOS
--------

::

    # On MacPorts installs: 
    sudo python3 setup-release.py py2app
    
    # On Homebrew installs: 
    ARCHFLAGS="-arch i386 -arch x86_64" sudo python3 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.