https://github.com/vectorized/function-selector-miner
Solidity Function Selector Miner (AVX2 + Multithreaded)
https://github.com/vectorized/function-selector-miner
Last synced: 9 months ago
JSON representation
Solidity Function Selector Miner (AVX2 + Multithreaded)
- Host: GitHub
- URL: https://github.com/vectorized/function-selector-miner
- Owner: Vectorized
- License: mit
- Created: 2023-11-22T07:00:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T18:32:07.000Z (about 2 years ago)
- Last Synced: 2025-04-24T22:44:53.949Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 38.1 KB
- Stars: 69
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 [num_threads]
```
For example:
```
cargo run --release "someFunction" "(uint256,address)" "0x12345678"
```