- 更简约的文档。你可以在所有链上指向一个合约地址
- 用户可验证。只有在字节码完全逐个匹配的情况下,才会出现相同的合约地址
- 开发者可验证。由于相同的合约地址只出现在完全匹配的情况下,因此你可以在部署脚本中捕捉到棘手的小问题
- 简单的集成。其他协议可以将你的合约地址硬编码到他们的多链代码中,而不需要基于链上的if语句。
- Spin up a GPU Example instance using vast.ai that makes ~2 *billion* attempts per second and costs ~25 cents / hr:Image: nvidia/openclGPU: 1x RTX 3090Disk space to allocate: 1.83 GB
- SSH in and install rust + create2crunchsudo apt install build-essential -y; curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh -s — -y; source “$HOME/.cargo/env”; git clone https://github.com/0age/create2crunch && cd create2crunch; sed -i ‘s/0x4/0x40/g’ src/lib.rs
- 运行种子搜索。对于环境变量,INIT_CODE_HASH是是合约创建代码的keccak256。LEADING是你想要的前导零字节数,TOTAL是你想要的合约地址中的总零字节数。
所有评论