๐Ÿ”ฅ

getmefcknabi

Unverified contracts? No problem.

Stop wasting time hunting down ABIs. We decompile smart contract bytecode to generate the ABI you need, instantly - even when contracts are unverified on Etherscan.

How it works:

  • 1.We extract the 4byte function selectors from the contract bytecode
  • 2.Match these selectors against known function signatures using keccak256
  • 3.Look up proxy implementations and follow DELEGATECALL patterns
  • 4.Construct a working ABI that's compatible with wagmi and viem

Powered by @shazow's WhatsABI - the genius library that makes this all possible. Works even when Etherscan verification fails you.

๐Ÿ“ฆUse Our NPM Package

๐Ÿ’ก

Pro tip: Use the interactive mode for the best experience! It provides step-by-step guidance and automatically detects common contract patterns.

Our CLI tool makes it easy to extract ABIs from any terminal. Works across all EVM chains!

$Install globally
$npm install -g getmefcknabi
$Interactive mode (recommended)
$npx getmefcknabi --interactive
$Direct usage
$npx getmefcknabi -a 0x1F98431c8aD98523631AE4a59f267346ea31F984 -c 1 -f json

โš ๏ธThe Etherscan Problem

Over 30% of contracts on mainnet are unverified. This means you can't see their source code or ABI. If you want to interact with them, you're stuck.

โœ…Our Solution

We analyze the raw bytecode directly from the blockchain to reconstruct the ABI. No verification needed. Works with any EVM chain.

See it in action:

โžœ Contract 0x1F98431c8aD98523631AE4a59f267346ea31F984 [UNVERIFIED]

โžœ getmefcknabi generates: [getPool, createPool, setOwner, owner, ...]

Our algorithm can recover function names, inputs, outputs, and more - even from proxied or complex contracts.

๐Ÿงช For Developers

Build tools that interact with any contract

๐Ÿ” For Researchers

Analyze contracts without source code

๐Ÿ›ก๏ธ For Security

Inspect unverified contracts for vulnerabilities

Created with โค๏ธ by blockchain dev bezata who got tired of missing ABIs