-WIP-electrum-btcp/README.rst

182 lines
4.0 KiB
ReStructuredText
Raw Normal View History

2018-01-19 09:26:14 -08:00
ZCL Electrum - Lightweight Zclassic Client
2018-01-19 09:42:13 -08:00
==========================================
2015-06-27 00:58:45 -07:00
Latest Release: https://github.com/BTCP-community/electrum-zcl/releases/
2018-01-26 10:02:37 -08:00
Viewing & Sending from Z addresses is not yet supported on this wallet.
2018-01-26 10:02:37 -08:00
2018-01-28 16:26:05 -08:00
Know about your data directory::
2018-01-19 09:26:14 -08:00
Linux + Mac: ~/.electrum-zcl/
Windows: C:\Users\YourUserName\AppData\Roaming\Electrum-zcl\
2018-01-19 09:42:13 -08:00
~/.electrum-zcl/wallets/ has your wallet files - BACK UP THIS FOLDER
2015-06-27 00:58:45 -07:00
You can also use 'Export Private Keys' and 'Show Seed' from inside the application to write down and store your funds.
2015-06-27 00:58:45 -07:00
Please use the issue tracker for bug reports, feature requests, and other mission-critical information. It is actively monitored by the Zclassic development team. For general support, please visit our Discord: https://discord.gg/2PRZ5q
2016-10-15 03:12:10 -07:00
Development Version
2016-03-05 22:44:10 -08:00
===================
Check out the code from Github::
git clone https://github.com/BTCP-community/electrum-zcl
cd electrum-zcl
2016-03-05 22:44:10 -08:00
For Mac:
--------
2016-03-17 04:52:40 -07:00
Using Homebrew::
2016-03-17 04:52:40 -07:00
2018-01-25 23:23:30 -08:00
# Setup Homebrew
sh ./setup-mac.sh
2018-01-25 23:23:30 -08:00
# Install Homebrew dependencies
brew bundle
2018-01-25 23:23:30 -08:00
# Install Python dependencies
pip3 install -r requirements.txt
# Build icons
2018-01-28 16:26:05 -08:00
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
2018-01-19 09:26:14 -08:00
2018-01-25 23:23:30 -08:00
# Compile the protobuf description file
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
# Run
2018-01-28 16:26:05 -08:00
./electrum
2018-01-19 09:26:14 -08:00
For Linux:
----------
Install Dependencies::
2018-01-25 23:23:30 -08:00
sudo apt-get install $(grep -vE "^\s*#" packages.txt | tr "\n" " ")
pip install -r requirements.txt
// pip3 for newer version
2018-01-25 23:43:24 -08:00
(Ubuntu with ledger wallet)
ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so
Compile the icons file for Qt::
2016-03-05 22:44:10 -08:00
2017-09-22 20:54:38 -07:00
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
2016-03-05 22:44:10 -08:00
For the Linux app launcher (start menu) icon::
sudo desktop-file-install electrum.desktop
2016-03-05 22:44:10 -08:00
Compile the protobuf description file::
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
2016-10-15 03:12:10 -07:00
Create translations (optional)::
2016-03-05 22:44:10 -08:00
./contrib/make_locale
2018-01-19 09:26:14 -08:00
Run::
2018-01-20 19:33:16 -08:00
2018-01-19 09:26:14 -08:00
./electrum
2016-03-05 22:44:10 -08:00
2018-01-31 14:46:50 -08:00
For Linux with docker:
----------------------
Build the docker image::
./build-docker.sh
Run the docker image::
./run-docker.sh
2016-03-05 22:44:10 -08:00
Building Releases
=================
2018-01-19 09:42:13 -08:00
2018-01-19 09:26:14 -08:00
MacOS
------
2018-01-19 09:42:13 -08:00
Simply - ::
sh ./setup-mac.sh
sudo sh ./create-dmg.sh
2018-01-19 09:42:13 -08:00
Windows
-------
See `contrib/build-wine/README` file.
Android
-------
2015-06-27 00:58:45 -07:00
See `gui/kivy/Readme.txt` file.
UPSTREAM PATCH: https://github.com/spesmilo/electrum/blob/master/gui/kivy/Readme.md
2016-03-05 22:44:10 -08:00
---
2015-06-27 00:58:45 -07:00
To just create binaries, create the 'packages/' directory::
2015-06-27 00:58:45 -07:00
2016-03-17 04:52:40 -07:00
./contrib/make_packages
2015-06-27 00:58:45 -07:00
(This directory contains the Python dependencies used by Electrum.)
2016-03-05 22:44:10 -08:00
2015-06-27 00:58:45 -07:00
ZCL Hints and Debug
===================
2018-01-20 19:33:16 -08:00
There are several useful scripts in::
2016-03-05 22:44:10 -08:00
scripts
2016-03-05 22:44:10 -08:00
Here is a good initial check to determine whether things are working (should successfully validate chunks)::
2016-03-05 22:44:10 -08:00
cd scripts
python3 block_headers
2016-03-05 22:44:10 -08:00
--
The Zclassic Wiki is located at: https://github.com/z-classic/zclassic/wiki. Please use this as a reference and feel free to contribute.
There is also an Electrum ZCL wiki at: https://github.com/BTCP-community/electrum-zcl/wiki. It cointains information about setting up the ElectrumX Server (https://github.com/BTCP-community/electrumx), which is the provider for block and peer data.
--
Here is our current progress on zk-SNARK integration: https://github.com/BTCP-community/electrum-zcl/wiki/Shielded-Transactions
Original Project Info
---------------------
::
Forked from **spesmilo/electrum**: https://github.com/spesmilo/electrum
Licence: MIT Licence
Author: Thomas Voegtlin
Language: Python (GUI: Qt, Kivy)
Platforms: Windows, Mac, Linux, Android
Homepage: https://electrum.org/
.. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master
:target: https://travis-ci.org/spesmilo/electrum
:alt: Build Status
.. image:: https://coveralls.io/repos/github/spesmilo/electrum/badge.svg?branch=master
:target: https://coveralls.io/github/spesmilo/electrum?branch=master
:alt: Test coverage statistics
---
The Zclassic Team