Ducketh is your local companion when trying to decode some unknown Ethereum smart contract signature.
Ducketh is for now only available as a crate. Install it using cargo install
cargo install ducketh
Add some ABIs to your local Ducketh registry:
# Recursively add every ABIs in the './artifacts' folder
ducketh abi add ./artifacts -r
Try decoding some hexadecimal value
# Try decoding 0x8c5be1e5 <- `Approval` event of an ERC721 or ERC20
ducketh woot 0x8c5be1e5
The CLI informations can be displayed using help
or -h
on individual command
# General informations
ducketh help
# Informations on `woot` command
ducketh woot -h
When the decoding is not successful, adding more ABIs may help. Otherwise, one can visit https://openchain.xyz/signatures for larger data sets.