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-1.0.0.tar.gz
(41.9 kB
view details)
Built Distribution
pycspr-1.0.0-py3-none-any.whl
(61.7 kB
view details)
File details
Details for the file pycspr-1.0.0.tar.gz
.
File metadata
- Download URL: pycspr-1.0.0.tar.gz
- Upload date:
- Size: 41.9 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 | fe02e97a8c63e558393e241a4dac0279a1aea97904ff01c69cf5a3dbfe1a04a7 |
|
MD5 | 799ee9ae488da6d08a88de2be2e755ce |
|
BLAKE2b-256 | 31234e68fce88494cc012756f0ecca9f4dec4d8d706518c21765cf37b450575f |
File details
Details for the file pycspr-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pycspr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 61.7 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 | 354798117ead13e126ff51aceda57ed1aba9e89fedbd72bc6be18390546b5c65 |
|
MD5 | 6358b17b08a2d45b235b6df93e7d1a52 |
|
BLAKE2b-256 | 5e41ddf718d73b7d6378694c000e6782a42fa84fb8d2e3d86b6bc6ff6c106118 |