Can we use web3.py with Truffle framework ? If yes, please share such integration examples
1 Answer
Truffle is a Javascript framework and web3.py is a Python library. Getting them to work together would be more hassle than it's worth, especially considering there is also a web3js library.
If you are looking for Truffle-like functionality but prefer to code in Python, I would suggest checking out Brownie. It offers many similar features to Truffle.
Disclaimer: I am the lead developer for Brownie.