Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vgloic/ducketh
CLI helping to decode some unknown Ethereum smart contract signature.
https://github.com/vgloic/ducketh
Last synced: about 1 month ago
JSON representation
CLI helping to decode some unknown Ethereum smart contract signature.
- Host: GitHub
- URL: https://github.com/vgloic/ducketh
- Owner: VGLoic
- License: mit
- Created: 2023-10-30T01:06:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T07:45:13.000Z (about 1 year ago)
- Last Synced: 2024-10-31T12:10:16.212Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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`
```bash
cargo install ducketh
```## Quick start
Add some ABIs to your local Ducketh registry:
```bash
# Recursively add every ABIs in the './artifacts' folder
ducketh abi add ./artifacts -r
```Try decoding some hexadecimal value
```bash
# 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
```bash
# 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.