SKILL.md--- name: clanker description: Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK. Use when the user wants to deploy a new token, create a memecoin, set up token vesting, configure airdrops, manage token rewards, claim LP fees, or update token metadata. Supports V4 deployment with vaults, airdrops, dev buys, custom market caps, vanity addresses, and multi-chain deployment. --- # Clanker SDK Deploy production-ready ERC20 tokens with built-in liquidity pools using the official Clanker TypeScript SDK. ## Overview Clanker is a token deployment protocol that creates ERC20 tokens with Uniswap V4 liquidity pools in a single transaction. The SDK provides a TypeScript interface for deploying tokens with advanced features like vesting, airdrops, and customizable reward distribution. ## Quick Start ### Installation ```bash npm install clanker-sdk viem # or yarn add clanker-sdk viem # or pnpm add clanker-sdk viem ``` ### Environment Setup Create a `.env` file with your private key: ```bash PRIVATE_KEY=0x...your_private_key_here ``` ### Basic Token Deployment ```typescript import { Clanker } from 'clanker-sdk'; import { createPublicClient, createWalletClient, http, type PublicClient } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { base } from 'viem/chains'; const PRIVATE_KEY = process.env.PRIVATE_KEY as `0x${string}`; const account = privateKeyToAccount(PRIVATE_KEY); const publicClient = createPublicClient({ chain: base, transport: http(), }) as PublicClient; const wallet = createWalletClient({ account, chain: base, transport: http(), }); const clanker = new Clanker({ wallet, publicClient }); const { txHash, waitForTransaction, error } = await clanker.deploy({ name: 'My Token', symbol: 'TKN', image: 'ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi', tokenAdmin: account.address, metadata: { description: 'My awesome token', }, context: { interface: 'Clanker SDK', }, vanity: true, }); if (error) throw error; const { address: tokenAddress } = await waitForTransaction(); console.log('Token deployed at:', tokenAddress); ``` ## Core Capabilities ### 1. Token Deployment Deploy tokens with full customization including metadata, social links, and pool configuration. **Basic deployment:** - Token name, symbol, and image (IPFS) - Description and social media links - Vanity address generation - Custom pool configurations **Reference:** [references/deployment.md](references/deployment.md) ### 2. Vault (Token Vesting) Lock a percentage of tokens with lockup and vesting periods: ```typescript vault: { percentage: 10, // 10% of token supply lockupDuration: 2592000, // 30 days cliff (in seconds) vestingDuration: 2592000, // 30 days linear vesting recipient: account.address, } ``` **Reference:** [references/vesting.md](references/vesting.md) ### 3. Airdrops Distribute tokens to multiple addres