Simple example of how to use the web3.py library in python. Performs a simple ERC20 transfer transaction.
The ERC20 contract is on the Polygon mumbai test network.
Mint some ERC20 tokens for testing here: https://mint-nalnda.netlify.app/
Now, rename the .env.example to .env and put your private key (without the 0x prefix) here.
Run using:
python script.py