Go to file
Serge Victor 55d392c274 Spread payment requests to subdirs
Currently Electrum stores all payment requests in main requests
directory. It's not going to be efficient when we have thousands of
thousands of payment requests. This patch spreads that files across
two level of subdirectories.
2016-10-01 05:40:40 +00:00
contrib fix ssl issue, #1875 2016-08-02 09:53:28 +02:00
gui add empty label to fix layout 2016-09-30 09:50:25 +02:00
icons remove xpub icon 2016-09-28 21:31:47 +02:00
lib Spread payment requests to subdirs 2016-10-01 05:40:40 +00:00
plugins simplification 2016-09-30 15:01:22 +02:00
pubkeys Add my own public key. 2015-06-26 14:49:02 +09:00
scripts rm authenticator script (replaced by new android app 2016-02-15 16:25:59 +01:00
.gitignore kivy:Improve startup speed 2016-01-27 20:21:20 +05:30
.travis.yml travis: use Tox for test automation 2015-07-02 17:25:02 +03: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 readme: Fix typo and grammatical error 2016-06-19 16:16:08 -06:00
RELEASE-NOTES update release notes 2016-09-30 11:26:36 +02:00
app.fil updates for i18n translations 2016-08-01 10:04:11 +02:00
electrum follow up previous commit 2016-08-25 12:28:06 +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 Icon location fix. Fixes #1111 2015-03-29 18:07:03 +02:00
electrum.icns New app icons 2013-10-23 01:10:52 +02:00
icons.qrc remove xpub icon 2016-09-28 21:31:47 +02:00
setup-release.py add packages directory to osx setup 2015-08-18 17:36:22 +02:00
setup.py Fix typo: $XDG_DATA_HOME should be XDG_DATA_HOME. 2016-06-18 17:41:24 +02:00
tox.ini travis: use Tox for test automation 2015-07-02 17:25:02 +03: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. However, if you want to use the
Qt interface, then you need to install the Qt dependencies::

    sudo apt-get install python-qt4

If you downloaded the official package (tar.gz), then 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

If you cloned the git repository, then 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)::

    python 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

Compile the protobuf description file::

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

Create translations::

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



Install on Linux systems
========================

If you install Electrum on your system, you can run it from any
directory.

If you have pip, you can do::

    python setup.py sdist
    sudo pip install --pre dist/Electrum-2.0.tar.gz


If you don't have pip, install with::

    python setup.py sdist
    sudo python setup.py install



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


In order to create binaries, you must 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.