Python library for interacting with a CSPR node.
Project description
Casper Python SDK
Python library for interacting with a CSPR node.
What is casper-client-py ?
The python client is published as pycspr: PYthon CaSPeR. It's goal is to streamline client side experience of interacting with a casper node.
How To: Install ?
pip install pycspr
How To: Query a node ?
See here.
How To: Transfer funds between 2 accounts ?
See here.
How To: Delegate funds to a validator ?
See here.
How To: Undelegate funds from a validator ?
See here.
How To: Stake funds as a validator ?
See here.
How To: Unstake funds as a validator ?
See here.
How To: Install a smart contract ?
See here.
How To: Invoke a smart contract ?
See here.
How To: Query a smart contract ?
See here.
How To: Speculatively execute a deploy ?
See here.
How To: Hash data ?
See here.
How To: Create Key Pairs ?
See here.
How To: Apply a checksum ?
See here.
How To: Await Events ?
See here.
How To: Consume Events ?
See here.
How To: Run unit tests against an CCTL network ?
cd YOUR_WORKING_DIRECTORY
pipenv shell
pytest ./tests
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
pycspr-0.13.1.tar.gz
(41.7 kB
view details)
Built Distribution
pycspr-0.13.1-py3-none-any.whl
(61.6 kB
view details)
File details
Details for the file pycspr-0.13.1.tar.gz
.
File metadata
- Download URL: pycspr-0.13.1.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62f529692c95e43b491882b19ab417fb00e635cabe4e517a8e3487a52e497232 |
|
MD5 | 2424158c267275bb9189ea5914a676ca |
|
BLAKE2b-256 | 4ee385859b0a75dd9aecd13fcf1e2186e1b4528224592475ff4e7ee90917cbcc |
File details
Details for the file pycspr-0.13.1-py3-none-any.whl
.
File metadata
- Download URL: pycspr-0.13.1-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea48dbabdf5e7b5a8233d52370f07773fda8d19f69197122c2b7ef5586260411 |
|
MD5 | 587c0d0372c59cb72337bdc3adb31808 |
|
BLAKE2b-256 | fd059002d7a19f5621460daa5abdbe6d4a510dde0f3c38668214e6291edea0d4 |