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

Metadata

Release files for pyrchain 0.3.12

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

Source distribution (sdist)

Source distribution for pyrchain 0.3.12
File Size Uploaded Provenance
pyrchain-0.3.12.tar.gz 97.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrchain 0.3.12
File Interpreter ABI Platform
pyrchain-0.3.12-py3-none-any.whl Python 3 none any Details

Total release size: 208.2 kB

Release files / pyrchain-0.3.12.tar.gz

Download URL pyrchain-0.3.12.tar.gz
Size 97.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a4ea6f8ce2804117c8cc580eea56569a8f950f79f110615d594be0ca9527fb91
BLAKE2b-256 checksum
How to use checksums
dbdc8aeb14490147af0f4fff8417226c27daec8a3116c857eabcc75e352342e8
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.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / pyrchain-0.3.12-py3-none-any.whl

Download URL pyrchain-0.3.12-py3-none-any.whl
Size 110.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25030d9ee3dff789c5eb4a6f9c09c31d4c488d5dfabd90cc4a30123dec5e4a6c
BLAKE2b-256 checksum
How to use checksums
319a574adfbb40ac57e87a505df1833e800ad3c18d679d63ed65472065492a9b
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.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for pyrchain 0.3.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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