Important
For ENS (Ethereum Name Service) users, web3.py v6.6.0
introduced ENS name
normalization standard
ENSIP-15.
This update to ENS name validation and normalization wonβt affect ~99%
of names but may prevent invalid names from being created and from interacting with
the ENS contracts via web3.py. We feel strongly that this change, though breaking,
is in the best interest of our users as it ensures compatibility with the latest ENS
standards.
gmο
web3.py is a Python library for interacting with Ethereum.
Itβs commonly found in decentralized apps (dapps) to help with sending transactions, interacting with smart contracts, reading block data, and a variety of other use cases.
The original API was derived from the Web3.js Javascript API, but has since evolved toward the needs and creature comforts of Python developers.
Getting Startedο
Note
π Brand new to Ethereum?
Donβt travel alone! Join the Ethereum Python Community Discord.
Read this blog post series for a gentle introduction to Ethereum blockchain concepts.
The Overview page will give you a quick idea of what else web3.py can do.
Try building a little something!
Ready to code? β Quickstart
Interested in a quick tour? β Overview
Need help debugging? β StackExchange
Found a bug? β Contribute
Want to chat? β Discord
Read the source? β Github
Table of Contentsο
Intro
Guides
- Your Ethereum Node
- Providers
- Working with Local Private Keys
- Sending Transactions
- Monitoring Events
- Contracts
- ABI Types
- Middleware
- Web3 Internals
- ethPM
- Ethereum Name Service (ENS)
- Examples
- Troubleshooting
- Migrating your code from v5 to v6
- Migrating your code from v4 to v5
- Migrating your code from v3 to v4
API