MCPcopy Create free account
hub / github.com/Vectorized/function-selector-miner

github.com/Vectorized/function-selector-miner @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
55 symbols 87 edges 7 files 0 documented · 0% updated 2y ago★ 75

Browse by type

Functions 49 Types & classes 6
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Function Selector Miner

Simple and fast Solidity function selector miner (CPU based).

Uses AVX2 instructions and multithreading to compute hashes in parallel.

Should be able to mine most selectors under a minute with a core i7-12700F.

Requirements

A recent Rust compiler. Tested with rustc 1.72.0.

Running

cargo run --release <function_name> <function_params> <target_selector> [num_threads]

For example:

cargo run --release "someFunction" "(uint256,address)" "0x12345678"

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 28
Method 21
Class 6

Languages

Rust71%
C++29%

Modules by API surface

cpp/main.cpp16 symbols
src/sponges_avx.rs15 symbols
src/lib.rs10 symbols
src/sponge.rs8 symbols
src/small_string.rs2 symbols
src/main.rs2 symbols
benches/avx_benchmark.rs2 symbols

For agents

$ claude mcp add function-selector-miner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page