The supra-python-sdk provides a seamless interface for interacting with the Supra-L1 network. It offers comprehensive support for move-vm operations and transactions, enabling developers to both query on-chain data and submit move-vm based transactions with ease.
This SDK uses uv for packaging and dependency management.
Follow the official installation guide.
Once uv is installed, run the following command to create a virtual environment and install all dependencies:
uv syncSince the Supra-L1 network codebase is not publicly available, the test cases in
async_client.pyuses testnet rpc-url by default. However, if you are an internal contributor with access to the codebase, you can replace the testnet rpc-url with a localnet rpc-url to run the tests with a local network.
Follow to run the local network using smr-moonshot:
cd remote_env/
make killall
./local_test.sh -t daemon -nUnit tests
make testTest coverage
make test-coverageRun examples
make examplesmake fmtmake lintThis project follows semver as closely as possible