How v1337q/dereth-tools works
DerETH is a GUI tool for deriving Ethereum addresses from private keys and recovering one missing character in a partial key by trying candidate keys against a known address. The principal workflow runs from GUI input through the registered brute-force handler, candidate search, and address derivation. The derivation uses secp256k1 public-key generation and Keccak hashing. The README documents these capabilities, while the sampled Rust source shows their implementation; the Slint UI source was not sampled, so its detailed behavior is not mapped.
Main entry points: main.rs Address derivation · app-window.slint Slint GUI
Components 8
User interface
- Slint GUI
ui/app-window.slint - Input handler
src/main.rs
Key recovery
- Missing-character search
src/main.rs
Address derivation
- Address derivation
src/main.rs - secp256k1
- Keccak hashing
- Hex encoding
Other components
- User
Connections 7
- User → Slint GUI: enters key data
README.md - Slint GUI → Input handler: triggers callback
src/main.rs - Input handler → Missing-character search: calls search
src/main.rs - Missing-character search → Address derivation: tests candidates
src/main.rs - Address derivation → secp256k1: generates public key
src/main.rs - Address derivation → Keccak hashing: hashes public key
src/main.rs - Address derivation → Hex encoding: decodes and encodes
src/main.rs