[Feature] Typings and/or contract method autogeneration using web3py
- Dominant language
- Python
- Stars
- 5.5k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 2
Description
* Version: 6.15.1
* Python: 3.5
* OS: linux
* `pip freeze` output
```
pycryptodome==3.20.0
pydantic==2.6.3
pydantic-settings==2.2.1
pydantic_core==2.16.3
pytest==8.0.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
streamlit==1.32.0
types-pytz==2024.1.0.20240203
types-requests==2.31.0.20240218
typing-inspect==0.9.0
typing_extensions==4.10.0
urllib3==2.2.1
web3==6.15.1
websockets==12.0
Werkzeug==3.0.1
```
### What was wrong?
I'm using web3py to interact with a deployed contract. Instead of calling the functions by-hand and using error-prone strings, I would like to use auto-generated contract methods (similar to what Typechain (https://github.com/dethcrypto/TypeChain) does in Typescript.
Is there support for typings and/or autogeneration in web3py? If not, is there a package that achieves this?
Thank you!
Contributor guide
Assessment
This issue has not been assessed yet.