Developer Ecosystem
WhatsABI icon

WhatsABI

Project

0x59...4BE2

Extract ABI (and more) from EVM bytecode, even without source code.

Appears in
45 ballots

Contribution

WhatsABI is a public good for making EVM bytecode more useful and usable on all EVM-based chains, such as mainnet and OP Stack chains. The guiding purpose for WhatsABI is to improve decentralization, transparency, and user safety by reducing our dependence on proprietary frontends to EVM contracts. WhatsABI a permissively-licensed TypeScript library that is perfect for building better contract explorers (a better Etherscan), transaction builders (Safe Wallet), smarter wallets (MetaMask, Zapper), and for doing security research. It is designed to be small, fast, and easily embedded in wallets or runnable locally with any provider. Many tools already use WhatsABI: gnosis/zodiac-pilot, paradigmxyz/rivet, ondora.xyz, monobase.xyz, ethcmd.com, notar-cli, abi.w1nt3r.xyz, and more!

Impact

The features that WhatsABI offers are important for all EVM-powered blockchains, including those under the Optimism Collective. Many of the tools that already use WhatsABI are operating on OP Stack powered chains: Rivet, Zodiac, Ondora, etc. By using WhatsABI, all of these tools get many features out of the box: Easy fetching of ABIs from verified contracts, extracting ABIs from unverified contracts, detecting and resolving proxies, and more. (See Github project page for more details.) Anyone building generalized frontends (like block explorers) knows how hard it is to do these things reliably. One example: Resolving proxy contracts. There's many kinds (EIP-1967, GnosisSafeProxy, ZeppelinOSProxy, PROXIABLE, DiamondProxy, and more)—WhatsABI detects and resolves all of them!

Funding sources

Other
Self-funded since Sept 2022, received grant for upcoming work on July-Nov 2023.
55,000.00 USD