Skip to content
 
 

Repository files navigation

THB Stable Coin

This provides basic functionalities to mint xxTHB stable coin on Aptos blockchain.

Setup

This SDK uses Poetry for packaging and dependency management:

curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry self add poetry-plugin-dotenv

Create a .env file on the root folder and add the following variables.

MY_LOCAL_ACCOUNT_PRIVATE_KEY=
MY_WEB_ACCOUNT_ADDRESS=

Notes: When you login to AptosConnect you can see your web account address under the "Main Account" title. However you cannot get the private key to that (keyless) account. So, you need a local account for CLI operations. You can create a local account using the aptos init command. Refer this setup guide for more information.

Compile, Upload, Mint and Transfer

Execute the following execute.sh file.

./execute.sh

Note

To get a better understanding of the repo, please refer to the parent repo's README.md.

About

Aptos Python SDK

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages