web3Easy Playground

Web3.py: interact with Ethereum blockchain (contracts, transactions)

Getting started with web3Run locally
Install
pip install web3
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: web3)

web3 is a third-party package. Web3.py: interact with Ethereum blockchain (contracts, transactions). Install with: pip install web3

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?