createXcrunch
is a Rust-based program designed to efficiently find zero-leading, zero-containing, or pattern-matching addresses for the CreateX contract factory. Uses OpenCL in order to leverage a GPU's mining capabilities.
- Clone the Repository
git clone https://github.com/HrikB/createXcrunch.git
cd createXcrunch
- Build the Project
cargo build --release
Example Setup on Vast.ai
sudo apt update && sudo apt upgrade
We need the GNU Compiler Collection (GCC) later.
sudo apt install build-essential
createXcrunch
uses OpenCL which is natively supported via the NVIDIA OpenCL extensions.
sudo apt install nvidia-cuda-toolkit
Enter
1
to select the default option and press theEnter
key to continue the installation. Restart the current shell after completing the installation.
curl https://sh.rustup.rs -sSf | sh
git clone https://github.com/HrikB/createXcrunch.git
cd createXcrunch
cargo build --release
🎉 Congrats, now you're ready to crunch your salt(s)!
./target/release/createxcrunch create3 --caller 0x88c6C46EBf353A52Bdbab708c23D0c81dAA8134A
\ --crosschain 1
\ --matching ba5edXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXba5ed
Use the --help
flag for a full overview of all the features and how to use them:
./target/release/createxcrunch create2 --help
or
./target/release/createxcrunch create3 --help
We recommend using cargo-nextest
as test runner for this repository. To install it on a Linux x86_64
machine, invoke:
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
Afterwards you can run the tests via:
cargo nextest run
PRs welcome!