casper-network / casper-python-sdk

Python library for interacting with a CSPR node
Apache License 2.0
14 stars 19 forks source link

Casper Python SDK

Python library for interacting with a CSPR node.

Installation

pip3 install pycspr

Usage

Cryptography

Deploys

Smart Contracts

Node APIs

Development

Pre-Requisites

1. Setup Local CCTL Network.

2. Install poetry.

Install SDK

cd YOUR_WORKING_DIRECTORY
git clone https://github.com/casper-network/casper-python-sdk.git
cd casper-python-sdk
poetry install

Testing

Important Environment Variables

Running Tests

cd YOUR_WORKING_DIRECTORY/casper-python-sdk
poetry shell
pytest ./tests [TEST-FILTER]