ElectrumSV RegTest node
Project description
ElectrumSV-Node
The project is intended to provide Python packages for Linux, MacOS and Windows that include and
help run pre-built Bitcoin SV executables. It should allow the consistently usable and available
ability to run a Bitcoin SV node on any 64-bit platform with the installation of the
electrumsv-node
package using the standard pip
package manager for Python.
These packages and the executables within them, are only intended for running nodes for development as Regtest blockchains. If we had the ability to do so, we would prevent them from running as any other blockchain. Do not bother us with your questions or problems related to non-Regtest usage.
- You must be using 64-bit Python 3.7 or 3.8.
- You must be using Windows, MacOS or Linux.
- You must have the latest version of the
pip
package.
To update pip
:
> python3 -m pip install --upgrade pip
To install electrumsv-node
:
> pip3 install electrumsv-node
To use it:
from electrumsv_node import electrumsv_node
# Set logging level to debug mode to see logging information (Optional)
logging.basicConfig(
format="%(asctime)s %(levelname)s %(message)s",
level=logging.DEBUG,
datefmt="%Y-%m-%d %H-%M-%S",
)
electrumsv_node.start()
time.sleep(5)
electrumsv_node.stop()
time.sleep(5)
electrumsv_node.reset()
Console output will look something like this (with custom data directory):
2020-07-03 19-35-57 DEBUG starting RegTest bitcoin daemon...
2020-07-03 19-36-02 DEBUG stopping RegTest bitcoin daemon...
2020-07-03 19-36-02 DEBUG bitcoin daemon stopped.
2020-07-03 19-36-07 DEBUG resetting state of RegTest bitcoin daemon...
2020-07-03 19-36-09 DEBUG removed 'G:\electrumsv-node\electrumsv_node\data' successfully
2020-07-03 19-36-09 DEBUG created 'G:\electrumsv-node\electrumsv_node\data' successfully
The node data directory
By default, the node will be started with a data directory in a standard location. On Windows this
will be within ElectrumSV-Node
in the computer's LOCALAPPDATA
directory, which will likely be
c:\users\<user-name>\AppData\Local
. On MacOS and Linux this will be within .electrumsv-node
in
the user's home directory, which will likely be something like /home/<user-name>
on Linux or
/Users/<user-name>
on MacOS.
ElectrumSV and ElectrumSV-Node
This is part of a wider effort to provide a first class RegTest development environment experience with the ElectrumSV stack (which includes ElectrumX). It is expected that for these purposes, the ElectrumSV-SDK project will be the way that developers will make use of ElectrumSV-Node.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for electrumsv_node-0.0.15-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86df93cd13f1c423d49447ef685e777f20672694ad712d1d240f08604477303e |
|
MD5 | 76155ab2d0e1d99fb3f53671c5a43469 |
|
BLAKE2b-256 | d444677497ea31872604dd5da00f7daf6d96612cac2d7d792caa3bad60c0acf4 |
Hashes for electrumsv_node-0.0.15-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1676cd4ea1df8f0535c311585c34e79d6f74855033b9865fe8838173ecb4a37c |
|
MD5 | 57b3fe0e5c3c618cae6fad2e3a2af7ec |
|
BLAKE2b-256 | 70132f21f264e4922a85f8bddf6b54da3111f5556876237fd325cef14d4b8eac |
Hashes for electrumsv_node-0.0.15-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfba88b497deba0d4834ec0b621de3c19d035c6501e638a67a99fd245252382d |
|
MD5 | 5cc35769a047d62f5af4adade2b855a0 |
|
BLAKE2b-256 | 238d631361edc062c6240938e90d6c87a985743ae23061e63f9a387cc4128fe9 |
Hashes for electrumsv_node-0.0.15-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16b2ace8d66919b2817cc23e44c140db2e7063d29ce634dd58194a9d8d362d5a |
|
MD5 | 269a683167df38b44a13f85f939d418d |
|
BLAKE2b-256 | a30cc72a5b0f5c4252c64e61f8176c07111a7b0ec967fc6e576a3ce229d9dc03 |
Hashes for electrumsv_node-0.0.15-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a677d67ef0bb8805f77cd245a20ba06da8ad977d1f1b2bb2b8a4f3bea58de087 |
|
MD5 | 34be06471a699be06511c869268eac03 |
|
BLAKE2b-256 | afc26edf312856adfac2d450c12cb2e4a2f2429a051a387479cba234b81a116d |
Hashes for electrumsv_node-0.0.15-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9147432a110f56b021d3f0747947538bc76ea9fd2bb7940258f21f7bd121f0cb |
|
MD5 | 8fbbd83fd69da484c5630bae98533ea5 |
|
BLAKE2b-256 | d516ed00e9c6e834a555a0cf97d9330cfb9f835e7bd35ef92f8bdbb7b06f167b |
Hashes for electrumsv_node-0.0.15-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1ebd8620fb9b590e4419d13a5177a88fa4a8e752e19016cb4a683169992cf8 |
|
MD5 | 2c501b7218044ef507ee6ef3648e6937 |
|
BLAKE2b-256 | 7afbf7c6ffa25734e65a61f8c74a9d28dc50d2565fcc39d5f9028cb07b9d3970 |
Hashes for electrumsv_node-0.0.15-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39926d603c574142d7629ba45eb0799fc03016c9f56ea90d56a58b573b68e4dd |
|
MD5 | 38ef29a116e888893312c515d660f0b6 |
|
BLAKE2b-256 | 4a597a558bc7a4a603dafe55f93467e3e8dbf79f00fe2f9055cefab4e6bbd15c |