contract-deployer
$
npx mdskill add TermiX-official/cryptoclaw/contract-deployerDeploys standard token contracts from templates when users need to create ERC20 or ERC721 tokens.
- Helps users create fungible tokens or NFT collections with custom parameters like name and supply.
- Integrates with blockchain tools for contract deployment, verification, reading, and gas estimation.
- Decides actions by confirming parameters with users and warning about mainnet risks before execution.
- Presents results by showing deployment details, gas costs, and verifying contracts on block explorers.
SKILL.md
.github/skills/contract-deployerView on GitHub ↗
---
name: contract-deployer
description: Deploy smart contracts (ERC20, ERC721) from templates.
metadata: { "cryptoclaw": { "emoji": "📜", "always": true } }
---
# Contract Deployer Skill
Deploy smart contracts (ERC20, ERC721) from templates.
## Overview
Help users deploy standard token contracts using pre-built templates and the `write_contract` tool.
## Capabilities
- **Deploy ERC20**: Create a new fungible token with custom name, symbol, supply
- **Deploy ERC721**: Create a new NFT collection
- **Verify deployment**: Check deployed contract on block explorer
- **Contract interaction**: Read/write to deployed contracts
## Tools Used
- `write_contract` - Deploy contract bytecode
- `is_contract` - Verify deployment
- `read_contract` - Read contract state
- `estimate_gas` - Estimate deployment cost
## Security Rules
- ALWAYS show estimated deployment gas cost before executing
- ALWAYS confirm contract parameters (name, symbol, supply) with user
- Warn about mainnet deployments (suggest testnet first)
- Never deploy without explicit confirmation
## Example Interactions
User: "Deploy an ERC20 token called MyCoin with 1M supply on BSC"
Action: Show deployment parameters, gas estimate, confirm, deploy using ERC20 template
User: "Create an NFT collection on Polygon"
Action: Collect name/symbol, show gas estimate, deploy ERC721 template