Skip to main content

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.2.tar.gz (63.3 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.2-py3-none-any.whl (88.4 kB view details)

Uploaded Python 3

File details

Details for the file pyrchain-0.3.2.tar.gz.

File metadata

  • Download URL: pyrchain-0.3.2.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pyrchain-0.3.2.tar.gz
Algorithm Hash digest
SHA256 2371676c48f1dc631aaa2760c38e8e004bb5eb504d0798112d83778f1af65910
MD5 54b8c6e50accaeb4ec3fd1cbc68057be
BLAKE2b-256 f6a0c3c4d820f708ea6138e14e5ef689de7de582076951817d162aa2264d53cc

See more details on using hashes here.

File details

Details for the file pyrchain-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyrchain-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 88.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for pyrchain-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b14d74a1e29d854fc7693e7b9d43457d2a26edb00e369c337abf0deedfdf873
MD5 9653804d1307be67077617f9a7e7a9b6
BLAKE2b-256 b78b3d364ef980b8530293bca37da6829d2da228871078f6f8965b40447dec39

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.12

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

This release

0.3.2 This release

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