Go to file
ThomasV c8f3666f76 increase version number 2017-11-06 19:13:14 +01:00
contrib fix pre-Windows10 binaries 2017-11-02 19:11:00 +01:00
gui make tx deserialization more robust to ill-formed tx 2017-11-06 12:27:47 +01:00
icons
lib increase version number 2017-11-06 19:13:14 +01:00
plugins fix #3211: use bytearray in ledger sign_message 2017-11-05 17:45:55 +01:00
pubkeys
scripts fix peers type 2017-09-17 16:46:24 +02:00
snap
.gitignore
.travis.yml
AUTHORS
Info.plist Revert "follow-up f7200cb6162ba30f4ebd0e94d933f7b7d559cdb2: remove Info.plist" 2017-11-06 19:04:07 +01:00
LICENCE
MANIFEST.in
README.rst
RELEASE-NOTES release notes 2017-11-01 22:27:06 +01:00
app.fil
electrum from_seed: add missing parameter 2017-11-01 14:46:44 +01:00
electrum-env
electrum.conf.sample
electrum.desktop
electrum.icns
icons.qrc
setup.py
tox.ini

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.