2016-03-06 07:44:10 +01:00
|
|
|
Electrum - Lightweight Bitcoin client
|
2015-06-27 10:58:45 +03:00
|
|
|
=====================================
|
|
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
2016-02-23 11:36:42 +01:00
|
|
|
Licence: MIT Licence
|
2015-06-27 10:58:45 +03:00
|
|
|
Author: Thomas Voegtlin
|
2018-09-11 21:04:36 +02:00
|
|
|
Language: Python (>= 3.6)
|
2015-06-27 10:58:45 +03:00
|
|
|
Homepage: https://electrum.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master
|
|
|
|
|
:target: https://travis-ci.org/spesmilo/electrum
|
|
|
|
|
:alt: Build Status
|
2017-11-08 22:31:13 +01:00
|
|
|
.. image:: https://coveralls.io/repos/github/spesmilo/electrum/badge.svg?branch=master
|
|
|
|
|
:target: https://coveralls.io/github/spesmilo/electrum?branch=master
|
2017-11-08 17:58:17 +01:00
|
|
|
:alt: Test coverage statistics
|
2018-07-17 22:09:04 -04:00
|
|
|
.. image:: https://d322cqt584bo4o.cloudfront.net/electrum/localized.svg
|
2018-03-13 17:36:21 +01:00
|
|
|
:target: https://crowdin.com/project/electrum
|
2018-07-17 22:09:04 -04:00
|
|
|
:alt: Help translate Electrum online
|
2015-06-27 10:58:45 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Getting started
|
|
|
|
|
===============
|
|
|
|
|
|
2017-04-01 19:55:09 -07:00
|
|
|
Electrum is a pure python application. If you want to use the
|
|
|
|
|
Qt interface, install the Qt dependencies::
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2017-09-23 05:54:38 +02:00
|
|
|
sudo apt-get install python3-pyqt5
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2017-04-01 19:55:09 -07:00
|
|
|
If you downloaded the official package (tar.gz), you can run
|
2018-12-01 21:28:46 -05:00
|
|
|
Electrum from its root directory without installing it on your
|
2016-03-18 09:20:00 +01:00
|
|
|
system; all the python dependencies are included in the 'packages'
|
|
|
|
|
directory. To run Electrum from its root directory, just do::
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2018-07-11 17:38:47 +02:00
|
|
|
./run_electrum
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2016-10-15 12:12:10 +02:00
|
|
|
You can also install Electrum on your system, by running this command::
|
|
|
|
|
|
2017-09-19 15:24:17 +02:00
|
|
|
sudo apt-get install python3-setuptools
|
2018-10-12 17:02:38 +02:00
|
|
|
python3 -m pip install .[fast]
|
2016-10-15 12:12:10 +02:00
|
|
|
|
|
|
|
|
This will download and install the Python dependencies used by
|
2018-12-01 21:28:46 -05:00
|
|
|
Electrum instead of using the 'packages' directory.
|
2018-06-15 13:07:10 +02:00
|
|
|
The 'fast' extra contains some optional dependencies that we think
|
2018-03-28 11:54:24 +02:00
|
|
|
are often useful but they are not strictly needed.
|
2016-10-15 12:12:10 +02:00
|
|
|
|
2017-04-01 19:55:09 -07:00
|
|
|
If you cloned the git repository, you need to compile extra files
|
2016-03-06 07:44:10 +01:00
|
|
|
before you can run Electrum. Read the next section, "Development
|
|
|
|
|
Version".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development version
|
|
|
|
|
===================
|
|
|
|
|
|
2018-04-15 20:45:30 +03:00
|
|
|
Check out the code from GitHub::
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
git clone git://github.com/spesmilo/electrum.git
|
|
|
|
|
cd electrum
|
2019-09-04 14:03:39 +02:00
|
|
|
git submodule update --init
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2016-03-17 12:52:40 +01:00
|
|
|
Run install (this should install dependencies)::
|
|
|
|
|
|
2018-10-12 17:02:38 +02:00
|
|
|
python3 -m pip install .[fast]
|
2016-03-17 12:52:40 +01:00
|
|
|
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
Compile the protobuf description file::
|
|
|
|
|
|
|
|
|
|
sudo apt-get install protobuf-compiler
|
2018-07-11 17:38:47 +02:00
|
|
|
protoc --proto_path=electrum --python_out=electrum electrum/paymentrequest.proto
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2016-10-15 12:12:10 +02:00
|
|
|
Create translations (optional)::
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2018-01-07 16:48:02 -05:00
|
|
|
sudo apt-get install python-requests gettext
|
2019-07-03 17:42:40 +02:00
|
|
|
./contrib/pull_locale
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2016-03-06 07:44:10 +01:00
|
|
|
Creating Binaries
|
|
|
|
|
=================
|
|
|
|
|
|
2019-05-17 05:30:41 +00:00
|
|
|
Linux (tarball)
|
|
|
|
|
---------------
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2019-01-27 11:15:37 -06:00
|
|
|
See :code:`contrib/build-linux/README.md`.
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2016-03-06 07:44:10 +01:00
|
|
|
|
2019-05-17 05:30:41 +00:00
|
|
|
Linux (AppImage)
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
See :code:`contrib/build-linux/appimage/README.md`.
|
|
|
|
|
|
|
|
|
|
|
2017-09-27 04:40:22 +04:00
|
|
|
Mac OS X / macOS
|
2019-01-25 19:14:28 +01:00
|
|
|
----------------
|
|
|
|
|
|
2019-01-27 11:15:37 -06:00
|
|
|
See :code:`contrib/osx/README.md`.
|
2015-06-27 10:58:45 +03:00
|
|
|
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
Windows
|
|
|
|
|
-------
|
|
|
|
|
|
2019-05-06 20:19:23 +02:00
|
|
|
See :code:`contrib/build-wine/README.md`.
|
2016-03-06 07:44:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Android
|
|
|
|
|
-------
|
|
|
|
|
|
2019-01-25 19:14:28 +01:00
|
|
|
See :code:`electrum/gui/kivy/Readme.md`.
|