Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyrchain

Interface to RChain RNode RPC.

Install

Pyrchain is Python 3 library for interfacing with RChain RNode gRPC API. The library is distributed via PyPI (https://pypi.org/project/pyrchain/). You can install it for current user by running:

pip3 install -U pyrchain

See setup.py for information about 3rd party library dependencies.

Examples

The features below are provided in pyrchain.

  1. generate private key and public key
  2. sign a deploy with the private key
  3. use grpc api to interact with rnode
  4. Vault Api of rchain to do transfer and check balance

Development

To install the development package:

pip install -e .[dev]

To update protocol buffers from upstream run:

./update-protobufs
./update-generated

This first command will fetch latest RChain *.proto files from dev branch into ./protobuf directory. The second command will generate gRPC Python code corresponding to the protcol buffers into rchain.pb package (./rchain/pb).

To run integration tests run:

python -m pytest rchain/tests
python -m mypy rchain
isort --recursive --check-only rchain

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrchain-0.3.11rc1.tar.gz (84.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrchain-0.3.11rc1-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrchain-0.3.11rc1.tar.gz.

File metadata

  • Download URL: pyrchain-0.3.11rc1.tar.gz
  • Upload date:
  • Size: 84.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyrchain-0.3.11rc1.tar.gz
Algorithm Hash digest
SHA256 dac05147fd80e52524a881670f31839f6d9c308c62c2ac409f9e130728483cc5
MD5 9d74013cf8c115a37ede31b67491e67f
BLAKE2b-256 7d6bd5d7e1d60dc8961a875c3891ddfa57af34df210039f657d70df88852fdea

See more details on using hashes here.

File details

Details for the file pyrchain-0.3.11rc1-py3-none-any.whl.

File metadata

  • Download URL: pyrchain-0.3.11rc1-py3-none-any.whl
  • Upload date:
  • Size: 97.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pyrchain-0.3.11rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 39fb6ddd55e95c89fade37507e57e8ff9ff3da6d62861341d9e93e6b9a018e49
MD5 3125795bca0c2af3da64c7e75837ceab
BLAKE2b-256 a25890a900ff41bd276aa94927ec7057a60e041dffb8e27ae4f4c2ef39790180

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.12

2 files

This release

0.3.11rc1 This release

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 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