Skip to content

Entropy-Foundation/aptos-python-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supra Python SDK

Discord chat

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.

Requirements

This SDK uses uv for packaging and dependency management.

Step 1: Install uv

Follow the official installation guide.

Step 2: Set up the environment

Once uv is installed, run the following command to create a virtual environment and install all dependencies:

uv sync

Run and Test SDK

Since the Supra-L1 network codebase is not publicly available, the test cases in async_client.py uses 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 -n

Unit tests

make test

Test coverage

make test-coverage

Run examples

make examples

Autoformatting

make fmt

Autolinting

make lint

Semantic versioning

This project follows semver as closely as possible

About

Aptos Python SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.5%
  • Gherkin 13.2%
  • Makefile 0.3%