Skip to content

Vectorized/function-selector-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Solidity Function Selector Miner (AVX2 + Multithreaded)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •