/casper-python-sdk

Python library for interacting with a CSPR node

Primary LanguagePythonApache License 2.0Apache-2.0

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: Run unit tests against an NCTL network ?

cd YOUR_WORKING_DIRECTORY
pipenv shell
pytest ./tests