Skip to main content

PyPI version Build Status Platforms Node Version

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, 3.8, 3.9 or 3.10.
  • 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:

import logging
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",
)
logger = logging.getLogger("testing")

electrumsv_node.start()

# (Optional keyword arguments)
# electrumsv_node.start(
#     data_path=</your/custom/datadir/path>,
#     rpcuser="rpcuser",
#     rpcpassword="rpcpassword",
#     rpcport=18332,
#     p2p_port=18444,
#     zmq_port=28332,
#     network='regtest',
#     print_to_console=True,  # feeds logging to stdout
#     extra_params=['-somearg1=var1', '-somearg2=var2']
# )

result = electrumsv_node.call_any('getinfo')
logger.debug(result.json())
electrumsv_node.stop()
electrumsv_node.reset()

Console output will look something like this (with custom data directory):

2021-01-03 11-50-29 INFO starting bitcoin node
2021-01-03 11-50-29 DEBUG polling bitcoin node...
2021-01-03 11-50-31 DEBUG polling bitcoin node...
2021-01-03 11-50-32 INFO bitcoin node online
2021-01-03 11-50-32 DEBUG {'result': {'version': 101000600, 'protocolversion': 70015, 'walletversion': 160300, 'balance': 0.0, 'blocks': 0, 'timeoffset': 0, 'connections': 0, 'proxy': '', 'difficulty': 4.656542373906925e-10, 'testnet': False, 'stn': False, 'keypoololdest': 1609627830, 'keypoolsize': 2000, 'paytxfee': 0.0, 'relayfee': 2.5e-06, 'errors': 'This is a pre-release or beta test build - use at your own risk - do not use for mining or merchant applications', 'maxblocksize': 10000000000, 'maxminedblocksize': 128000000, 'maxstackmemoryusagepolicy': 100000000, 'maxstackmemoryusageconsensus': 9223372036854775807}, 'error': None, 'id': 0}
2021-01-03 11-50-32 DEBUG stopping bitcoin node
2021-01-03 11-50-32 INFO bitcoin daemon stopped.
2021-01-03 11-50-32 DEBUG resetting state of RegTest bitcoin daemon...
2021-01-03 11-50-32 ERROR the bitcoin daemon must be shutdown to reset - retrying in 3 seconds
2021-01-03 11-50-35 DEBUG removed 'C:\Users\donha\AppData\Local\ElectrumSV-Node' 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.

Release files for electrumsv-node 0.0.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for electrumsv-node 0.0.27
File
electrumsv_node-0.0.27-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
electrumsv_node-0.0.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
electrumsv_node-0.0.27-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
electrumsv_node-0.0.27-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
electrumsv_node-0.0.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
electrumsv_node-0.0.27-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
electrumsv_node-0.0.27-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
electrumsv_node-0.0.27-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
electrumsv_node-0.0.27-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
electrumsv_node-0.0.27-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
electrumsv_node-0.0.27-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
electrumsv_node-0.0.27-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 115.6 MB

Release files / electrumsv_node-0.0.27-cp310-cp310-win_amd64.whl

Download URL electrumsv_node-0.0.27-cp310-cp310-win_amd64.whl
Size 10.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b013a149a83d343ecfbf3c229459f94f7670f70fc1cb600a5910f21fbbe9d1d7
BLAKE2b-256 checksum
How to use checksums
023254bd5746878fcbe2cc84caca121866c16e37dc99624a68313e7f2424ca9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL electrumsv_node-0.0.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a9aff6348db0c596234798e229cf1cf2fe87424c9610907dbd46aa3d49b1045e
BLAKE2b-256 checksum
How to use checksums
f0a37b9e9e1324f5baaa7f419e339f58ba2503a7927d7ac9cc32d2d331e5fc97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp310-cp310-macosx_10_9_x86_64.whl

Download URL electrumsv_node-0.0.27-cp310-cp310-macosx_10_9_x86_64.whl
Size 8.1 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
8a160371dfc16b845b1c305199a5541c67a940099920d822fe0a3bc4b6fbe227
BLAKE2b-256 checksum
How to use checksums
44fcea861a7baf8f1e68ac540024e7ab3992ae49865c532493042352d6f9dacb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp39-cp39-win_amd64.whl

Download URL electrumsv_node-0.0.27-cp39-cp39-win_amd64.whl
Size 10.4 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
82c94c2ebf780cb99d0f205e00e4f3361f1beba3950f89719048a62919a9de81
BLAKE2b-256 checksum
How to use checksums
013fe124bbbec8f0c8a5bf2bd6cf9c7448eea8f2ecf862a186e6baeed8d64c22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL electrumsv_node-0.0.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
31d3f06b010041eaa6c948be31f309e3474de3cf989fafecba861ee6580feb65
BLAKE2b-256 checksum
How to use checksums
5c8721da305e96287b0e8c4653020e8dfdebe7131ec81079275c6533022de64b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp39-cp39-macosx_10_9_x86_64.whl

Download URL electrumsv_node-0.0.27-cp39-cp39-macosx_10_9_x86_64.whl
Size 8.1 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e56f1914095dd3bef4948cb291c400d866f742c5448c8b3886c3bc7668d54cff
BLAKE2b-256 checksum
How to use checksums
61230bc905c4a26628ac834086123c2fcaed0efb227df893eb25cfe998e3a02a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp38-cp38-win_amd64.whl

Download URL electrumsv_node-0.0.27-cp38-cp38-win_amd64.whl
Size 10.4 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
55c043d23079f4f53aa9029f3986fe9e4f6147e073c9a932f51b9bcd6adce4f7
BLAKE2b-256 checksum
How to use checksums
c299f536fb1d5b1f48ad4a33adcfc0aecf45fdf5c398bc0901252dd3a7143e6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL electrumsv_node-0.0.27-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cbdde227ef3f183935595f471e5b5e10f01c8c6b8c5ad0bb7c686276ecd55fe4
BLAKE2b-256 checksum
How to use checksums
7696e7d3f2ac606c76680e3ad4ee544593da9d9ccb497105d1f5c7e6bac21021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp38-cp38-macosx_10_9_x86_64.whl

Download URL electrumsv_node-0.0.27-cp38-cp38-macosx_10_9_x86_64.whl
Size 8.1 MB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d1bfb14c2ffc1013a8765b136140448dfaa09d2f32907b45e83876860bd887ef
BLAKE2b-256 checksum
How to use checksums
be95ab48a44265a4a48f4e4fd27a1fbe2fd04299d55e5a4b4acf703b8b40569d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp37-cp37m-win_amd64.whl

Download URL electrumsv_node-0.0.27-cp37-cp37m-win_amd64.whl
Size 10.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8a1436c853a3e79d0fe829c021cf757308bb547645c59f9608f50fad15358844
BLAKE2b-256 checksum
How to use checksums
2d2c9597761d4ec96c9791217febbbc19edf061d0e7bf67c3635fbe618a67d97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL electrumsv_node-0.0.27-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
69b64524fdd95e35b4e5994deb8f598211cec77fb58f1b62cf756d1ea26b524d
BLAKE2b-256 checksum
How to use checksums
9e6ab809d574cda67b4dc9206a91f7224563e2775b392646899ea4f1853f62ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / electrumsv_node-0.0.27-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL electrumsv_node-0.0.27-cp37-cp37m-macosx_10_9_x86_64.whl
Size 8.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
1000cf26fb5c8f92fd8bae8c9ebff4440aff3f8af8fe08fcb1881fd9c65b8eb6
BLAKE2b-256 checksum
How to use checksums
a399495c2cc01c5dee62d22e2fcdcd3d6fd15106fa1ba910e3eba5c8639cb99d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release history Release notifications | RSS feed

1.0.2

2 release files

This release

0.0.27 This release

12 release files

0.0.15

8 release files

0.0.14

8 release files

0.0.13

8 release files

0.0.12

6 release files

0.0.11

6 release files

0.0.10

6 release files

0.0.9

6 release files

0.0.8

6 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page