MCPcopy Index your code
hub / github.com/darkforestry/zero-seeker

github.com/darkforestry/zero-seeker @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
13 symbols 24 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ZeroSeeker

ZeroSeeker is a Rust-based command-line utility that generates Ethereum contract addresses with a specified number of leading or total zero bytes. Specialized for deployment of non-deterministic contracts, ZeroSeeker generates a private key whose initial nonce can be used to generate a contract with chosen amount of leading or total zero bytes.

Features

  • Generates Ethereum addresses with a specified number of leading or total zero bytes in the contract address
  • Parallelized search for faster results
  • Estimates the time required to find an address with the desired complexity

Security Considerations

  • Do not run this on an untrusted machine
  • Never share your entropy seed or private key
  • Make sure your entropy seed is irreproducible (the longer the better)

Usage

To use ZeroSeeker, run the following command:

cargo run --release -- -e "your_entropy_seed" -z number_of_zero_bytes [-l]

Replace your_entropy_seed with a string that will be used as a seed for generating the private key, and number_of_zero_bytes with the desired number of zero bytes in the contract address. Use the -l flag to specify if you want to count leading zero bytes (flag) or total zero bytes (no flag).

Todo

  • [ ] Reduce code shitiness
  • [ ] GPU acceleration

Core symbols most depended-on inside this repo

factorial
called by 3
src/lib.rs
mine_address_with_n_zero_bytes
called by 2
src/lib.rs
hash_entropy_seed
called by 2
src/lib.rs
count_zero_bytes
called by 2
src/lib.rs
count_leading_zero_bytes
called by 2
src/lib.rs
expected_attempts
called by 2
src/lib.rs
address_from_private_key
called by 1
src/lib.rs
contract_address_from_sender
called by 1
src/lib.rs

Shape

Function 12
Class 1

Languages

Rust100%

Modules by API surface

src/lib.rs9 symbols
bin/zero_seeker.rs2 symbols
benches/benchmarks.rs2 symbols

For agents

$ claude mcp add zero-seeker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact