Skip to content

Simple example of how to use the web3.py library in python

License

Notifications You must be signed in to change notification settings

codetit4n/web3-py-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3.py example

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

Releases

No releases published

Packages

No packages published