evm_deploy_token
Deploy a customizable ERC20 token to supported EVM chains by setting its name, symbol, and initial supply; the deployer receives all tokens and must provide gas for contract creation.
Instructions
Deploy a new ERC20 token contract with customizable name and symbol to any EVM chain.
Creates and deploys a gas-optimized ERC20 token contract with YOUR chosen name and symbol. Decimals fixed at 18 (standard). Deployer address becomes the initial token holder. Requires significant gas for contract deployment.
CRITICAL RULES:
Contract deployment requires MORE gas than regular transactions (200,000-500,000 gas)
Deployer address receives all initial supply tokens
Token contract address is deterministic (based on deployer address + nonce)
Once deployed, contract code is immutable on blockchain
Name and symbol cannot be changed after deployment
Decimals hardcoded to 18 for gas efficiency and standardization
Implementation is minimal but fully functional and tested
PARAMETERS:
chain: EVM chain to deploy token on (required)
Deployment gas costs vary significantly by chain
Ethereum: Very expensive (~$50-100 at peak)
Polygon/BSC: Cheap ($0.10-0.50)
Choose testnet chains for experimentation
name: Token name (required)
Human-readable name (e.g., "My Project Token")
Displayed in wallets and explorers
Cannot be changed after deployment
Examples: "USD Coin", "Wrapped Ether", "My Token"
symbol: Token ticker symbol (required)
Short identifier (typically 3-5 characters)
All caps by convention (e.g., "USDC", "WETH", "MTK")
Displayed in trading interfaces
Cannot be changed after deployment
initialSupply: Initial token supply (required)
Decimals fixed at 18 (standard, same as ETH)
Human-readable format (e.g., "1000000" = 1 million tokens)
All tokens minted to deployer address
Consider tokenomics (total supply, inflation, etc.)
Example: "1000000000" (1 billion tokens)
privateKey: Deployer's private key (required, KEEP SECRET)
Format: 0x followed by 64 hex characters
Must have sufficient native token for gas
Becomes contract deployer and initial token holder
Never expose, share, or log this value
EXAMPLES: ✅ Deploy custom token on Polygon testnet: {chain: "polygon", name: "Test USD Coin", symbol: "TUSDC", initialSupply: "1000000", privateKey: "0xac0974..."}
✅ Deploy project token on BSC testnet: {chain: "bsc", name: "My Project Token", symbol: "MPT", initialSupply: "1000000000", privateKey: "0x..."}
✅ Deploy on Arbitrum: {chain: "arbitrum", name: "Wrapped Test Bitcoin", symbol: "WTBTC", initialSupply: "21000000", privateKey: "0x..."}
❌ Invalid - insufficient gas: {chain: "ethereum", ...} // Need ~0.05 ETH for gas
❌ Invalid - symbol too long: {symbol: "MYLONGTOKEN"} // Keep under 5 chars
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
OUTPUT STRUCTURE: • success: Boolean indicating deployment success • chain: Chain where token deployed • deployment.transactionHash: Deployment transaction hash • deployment.tokenAddress: New token contract address • deployment.deployer: Deployer address (from privateKey) • token.name: Token name (verified from contract) • token.symbol: Token symbol (verified) • token.decimals: Always 18 (hardcoded) • token.totalSupply: Initial supply (formatted) • verification.allChecks: Boolean confirming deployment matches parameters • gasUsed: Gas consumed (usually 150,000-300,000) • executionTime: Time taken in milliseconds
COMMON MISTAKES:
Not having enough gas for deployment (check balance first with evm_get_balance)
Using mainnet for testing (ALWAYS use testnet chains)
Not saving token contract address (critical for all future token operations)
Typos in name/symbol (cannot change after deployment - double check!)
Forgetting decimals are fixed at 18 (adjust accounting if needed)
USE CASES:
Launch new cryptocurrency or token
Create project governance token
Deploy loyalty or reward points system
Test token economics on testnet
Create wrapped/synthetic assets
DEPLOYMENT GAS COSTS (approximate):
Ethereum Sepolia: ~0.005-0.01 ETH (testnet)
Polygon Amoy: ~0.001 POL (very cheap)
BSC Testnet: ~0.002 BNB
Arbitrum Sepolia: ~0.001 ETH
Avalanche Fuji: ~0.002 AVAX
POST-DEPLOYMENT STEPS:
Save token contract address (critical!)
Verify contract on block explorer (optional but recommended)
Add token to wallet (import using contract address)
Distribute tokens to users (evm_transfer_token)
Set up liquidity if needed (DEX operations)
SECURITY NOTES:
Test on testnet first before mainnet deployment
Verify token name/symbol/decimals before deploying
Ensure sufficient gas (deployment costs more than transfers)
Contract code is immutable - cannot fix bugs after deployment
Consider adding pausable/mintable features (requires custom contract)
LIMITATIONS:
Decimals fixed at 18 (cannot be customized)
No advanced features (additional minting, burning, pausing)
Basic ERC20 implementation (standard transfer/approve/allowance)
Not audited - recommended for testnet use only
Gas-optimized minimal bytecode for lower deployment costs
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"name": "<name>",
"symbol": "<symbol>",
"initialSupply": "<initialSupply>",
"privateKey": "<privateKey>"
},
"name": "evm_deploy_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name (e.g., "My Token") | |
| chain | Yes | EVM chain to deploy on | |
| symbol | Yes | Token symbol (e.g., "MTK") | |
| mintable | No | Deploy mintable/burnable token using OpenZeppelin (default: false) | |
| privateKey | Yes | Deployer private key (0x...) | |
| initialSupply | Yes | Initial token supply (decimals fixed at 18) |