Python library for interacting with a CSPR node.
Project description
Casper Python SDK
Python 3.9+ 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.0.tar.gz
(41.7 kB
view hashes)
Built Distribution
pycspr-0.13.0-py3-none-any.whl
(61.6 kB
view hashes)