You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
https://github.com/empyrealapp/eth-packages I built an implementation that I feel addresses this requirement. I think this could serve as an alternative to web3.py for typed bindings, or if there is interest it could be integrated into the web3.py toolchain.
We also needed auto-generated contract methods, and have written a package on top of web3py for this. Feel free to check it out! https://github.com/delvtech/pypechain
pip freeze
outputWhat 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!
The text was updated successfully, but these errors were encountered: