Example scripts interacting with USDtb Minting API
- Create a
.env
file in the root directory:
$ cp .env.example .env
- Edit the
.env
file with your credentials. These will be loaded into environment variables on start.
- Install Python 3.11
- Create and activate a self-contained Python environment:
$ python3 -m venv venv
$ source venv/bin/activate
- Install requirements:
(venv) $ pip install -r requirements.txt
(venv) $ python3 ./py/usdtb_mint_script.py