Skip to content

πŸ¦‹πŸ’„ Script searching for a valid CREATE2 salt given prefix & suffix constraints over the created contract's address

Notifications You must be signed in to change notification settings

bitcoinbender/styled-evm-address

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Styled EVM address miner

Get your own 0x0000...0000 EVM contract address by mining a CREATE2 salt!

Installation

  • pip install -r requirements.txt

Usage

The script will automatically save the salt and associated contract address to a .txt file everytime it finds a valid hash.

  • Populate main.py with your contract's bytecode and the address prefix & suffix constraints
  • python main.py

Example

The following configuration will mine a salt giving a contract address starting with 0x0000, testing maximum 1T hashes and printing progression every 100k hashes:

prefix_constraint = "0000"
suffix_constraint = ""
deployer_address = "0x..."
bytecode = "0x..."

print_interval = 100_000
max_trials = 1_000_000_000_000

About

πŸ¦‹πŸ’„ Script searching for a valid CREATE2 salt given prefix & suffix constraints over the created contract's address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%