ducketh

Crates.ioducketh
lib.rsducketh
version0.1.0
sourcesrc
created_at2023-10-30 01:20:24.327756
updated_at2023-10-30 01:20:24.327756
descriptionDucketh is your local companion when trying to decode some unknown Ethereum smart contract signature.
homepagehttps://github.com/vgloic/ducketh
repositoryhttps://github.com/vgloic/ducketh
max_upload_size
id1017906
size70,456
Loïc Vincent-Genod (VGLoic)

documentation

README

Ducketh

Ducketh is your local companion when trying to decode some unknown Ethereum smart contract signature.

Installation

Ducketh is for now only available as a crate. Install it using cargo install

cargo install ducketh

Quick start

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

Additional details

The CLI informations can be displayed using help or -h on individual command

# General informations
ducketh help
# Informations on `woot` command
ducketh woot -h

Alternatives

When the decoding is not successful, adding more ABIs may help. Otherwise, one can visit https://openchain.xyz/signatures for larger data sets.

Commit count: 4

cargo fmt