Files
pallectrum/README.rst

124 lines
2.7 KiB
ReStructuredText
Raw Normal View History

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
.. image:: https://d322cqt584bo4o.cloudfront.net/electrum/localized.svg
2018-03-13 17:36:21 +01:00
:target: https://crowdin.com/project/electrum
:alt: Help translate Electrum online
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Getting started
===============
2020-02-11 17:33:06 +01:00
Electrum itself is pure Python, and so are most of the required dependencies.
Non-python dependencies
-----------------------
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
2020-02-11 17:33:06 +01:00
For elliptic curve operations, libsecp256k1 is a required dependency::
sudo apt-get install libsecp256k1-0
Alternatively, when running from a cloned repository, a script is provided to build
libsecp256k1 yourself::
./contrib/make_libsecp256k1.sh
Running from tar.gz
-------------------
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
./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::
2020-02-11 17:33:06 +01:00
sudo apt-get install python3-setuptools python3-pip
python3 -m pip install --user .
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.
2016-10-15 12:12:10 +02: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
2020-02-11 17:33:06 +01:00
version".
2016-03-06 07:44:10 +01:00
Development version
2020-02-11 17:33:06 +01:00
-------------------
2016-03-06 07:44:10 +01:00
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)::
2020-02-11 17:33:06 +01:00
python3 -m pip install --user .
2016-03-17 12:52:40 +01:00
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
./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
=================
Linux (tarball)
---------------
2015-06-27 10:58:45 +03:00
See :code:`contrib/build-linux/README.md`.
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Linux (AppImage)
----------------
See :code:`contrib/build-linux/appimage/README.md`.
Mac OS X / macOS
----------------
See :code:`contrib/osx/README.md`.
2015-06-27 10:58:45 +03:00
2016-03-06 07:44:10 +01:00
Windows
-------
See :code:`contrib/build-wine/README.md`.
2016-03-06 07:44:10 +01:00
Android
-------
See :code:`electrum/gui/kivy/Readme.md`.