Examples how to use web3.py and Web-Ethereum-Defi library

  • Doing low level blockchain transactions and event reading

  • Data research with Jupyter Notebooks and Pandas


Make sure you know how to install packages (pip, poetry) and use Python virtual environments.

To run the scripts you need to be able to understand how Python packaging works and how to install additional modules.

Install the package with data addons:

pip install "web3-ethereum-defi[data]"

Example tutorials

For more examples, browse tests folder on Github. You can also search function names in the repository using Github search.