create2-vanity-deploy
CommunityFind salts and deploy vanity CREATE2 addresses.
Authorphpmac
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the process of finding CREATE2 salts and preparing a reproducible Foundry workflow to produce vanity Ethereum addresses, ensuring the initCode and deployer are consistent so the predicted address matches the deployed contract.
Core Features & Use Cases
- Salt search automation: Templates and guidance to brute-force salts for a desired hex prefix or suffix using an offline Forge script.
- Deterministic verification: Unit test template to compute initCodeHash, predict the CREATE2 address, and assert the deployed address matches.
- Deployment orchestration: Deploy script template that reads VANITY_SALT and PRIVATE_KEY from .env and broadcasts a deterministic CREATE2 deployment.
- Use case: Generate a contract address ending with 0x1111, validate it in tests, and broadcast the same deploy from the same deployer key.
Quick Start
Use the project's FindVanitySalt script to search for a VANITY_SALT for target 0x1111, add VANITY_SALT and PRIVATE_KEY to .env, run the Create2Vanity test to verify the predicted address, and then run the DeployVanity script to broadcast.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: create2-vanity-deploy Download link: https://github.com/phpmac/foundry/archive/main.zip#create2-vanity-deploy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.