Generate an ethereum address with leading zeros. Why? Addresses with more zeros save gas if the address is in the calldata. See here. Each 0 byte is 4 gas while each non-zero byte is 16 bytes. This small saving is extremely useful especially in an MEV extraction context
# Build package
go build
# Run the program
./leading-zeros -zeros 4
# Example output
2025/04/18 21:42:50 🔎 Searching for 4 leading hex zeros on 10 cores…
✅ Found in 33249 tries (130.195ms):
Address: 0x00003cabd9f1c7dfa64801ed918b6c8cec98b472
PrivateKey: 0xc4a981654ad9159faae068d9154602e5ec83d7cd5dc9cb607e89c358cada1a8f