Interface to RChain RNode RPC
Project description
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.
- generate private key and public key
- sign a deploy with the private key
- use grpc api to interact with rnode
- 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
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrchain-0.3.12.tar.gz.
File metadata
- Download URL: pyrchain-0.3.12.tar.gz
- Upload date:
- Size: 97.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4ea6f8ce2804117c8cc580eea56569a8f950f79f110615d594be0ca9527fb91
|
|
| MD5 |
9c001593cb20e9a9c5255c598592b260
|
|
| BLAKE2b-256 |
dbdc8aeb14490147af0f4fff8417226c27daec8a3116c857eabcc75e352342e8
|
File details
Details for the file pyrchain-0.3.12-py3-none-any.whl.
File metadata
- Download URL: pyrchain-0.3.12-py3-none-any.whl
- Upload date:
- Size: 110.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25030d9ee3dff789c5eb4a6f9c09c31d4c488d5dfabd90cc4a30123dec5e4a6c
|
|
| MD5 |
768f73c7400a48976313dd192f2ce677
|
|
| BLAKE2b-256 |
319a574adfbb40ac57e87a505df1833e800ad3c18d679d63ed65472065492a9b
|