-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Brandon Brooks edited this page Jan 22, 2026
·
1 revision
Before using ContractKit, ensure you have:
-
Foundry - Installation Guide
curl -L https://foundry.paradigm.xyz | bash foundryup -
Claude Code - Get Claude Code
# Step 1: Add the marketplace
/plugin marketplace add HCS412/contractkit
# Step 2: Install the plugin
/plugin install contractkit@HCS412/contractkitgit clone https://github.com/HCS412/contractkit.git
cd contractkit
claude --plugin-dir ./plugins/contractkit/contractkit:new erc20 MyToken MTKThis creates a new directory contractkit-projects/mytoken with:
-
src/Token.sol- Your ERC20 contract -
test/Token.t.sol- Comprehensive tests -
script/Deploy.s.sol- Deployment script -
SECURITY.md- Security considerations -
THREAT_MODEL.md- Threat analysis
cd contractkit-projects/mytoken
/contractkit:test/contractkit:localThis starts Anvil on port 8545 with pre-funded accounts.
/contractkit:deploy local# Check token name
/contractkit:call name
# Mint tokens
/contractkit:call mint --args "0xYourAddress" "1000000000000000000"
# Check balance
/contractkit:call balanceOf --args "0xYourAddress"- Explore Templates for ERC721, Escrow, and Vault
- Learn about Deployment to testnets
- Read the Commands Reference
ContractKit
Reference
Help