This repository contains a script to source and transform ABIs from Sourcify into the specific format required by Glaciers.
Glaciers require an ABI database to decode raw Ethereum logs effectively. This script helps streamline the process by:
- Download and extract verified ABIs from Sourcify.
- Filter and format them for compatibility with Glaciers.
To use this script, you need to install the Python package for Glaciars and Polars
pip install glaciers polars
- Download the Sourcify repository. Follow the instructions in Sourcify's documentation. You can edit the manifest to download only the necessary files.
- Once downloaded, move each file to dedicated folders and execute the notebook to extract and format the ABIs for Glaciers:
Sourcify is a public good and non-profit project. It's fully open and transparent. It started under the Ethereum Foundation and now is part of the Argot Collective.
This project wouldn't be possible without it, and we are very grateful for this public good.
Contributions and improvements are welcome! Feel free to submit an issue or pull request.