[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78DPYG91KQ9FBNSAF4FV6CM":3,"skill-same:01M78DPYG91KQ9FBNSAF4FV6CM":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78DPYG91KQ9FBNSAF4FV6CM","pump-token-lifecycle",null,"Manage the full Pump.fun token lifecycle from creation through bonding-curve trading, graduation detection, AMM migration, AMM trading, creator fee collection, and volume tracking with PumpSdk and OnlinePumpSdk.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fpump-token-lifecycle\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pump-token-lifecycle\ndescription: Manage the full Pump.fun token lifecycle from creation through bonding-curve trading, graduation detection, AMM migration, AMM trading, creator fee collection, and volume tracking with PumpSdk and OnlinePumpSdk.\n---\n\n# Token Lifecycle — Create, Trade, Graduate, Migrate & Collect\n\nManage the full lifecycle of Pump tokens from creation through bonding curve trading, graduation detection, AMM migration, fee collection, and volume tracking — using the offline `PumpSdk` and online `OnlinePumpSdk`.\n\n## Context\n\nPump tokens follow a defined lifecycle: creation → bonding curve trading → graduation (when market cap reaches threshold) → AMM migration → AMM trading. The SDK provides instruction builders for each phase, with both offline (no RPC) and online (live fetches) variants.\n\n## Lifecycle Phases\n\n### Phase 1: Token Creation\n\n```typescript\n\u002F\u002F V2 creation with Token-2022 (preferred)\nconst ix = await PUMP_SDK.createV2Instruction({\n    mint, name, symbol, uri, creator, user,\n});\n\n\u002F\u002F Create and immediately buy in same transaction\nconst ixs = await PUMP_SDK.createV2AndBuyInstructions({\n    global, feeConfig, mint, name, symbol, uri,\n    creator, user, solAmount, amount, slippage\n});\n```\n\n- `createInstruction` (v1) is **deprecated** — use `createV2Instruction` (Token-2022)\n- Token-2022 enables advanced token features (transfer hooks, confidential transfers)\n- Mayhem mode tokens use additional Mayhem program PDAs\n\n### Phase 2: Bonding Curve Trading\n\n```typescript\n\u002F\u002F Buy\nconst { bondingCurve } = await onlineSdk.fetchBuyState(mint, user);\nconst amount = getBuyTokenAmountFromSolAmount({ global, feeConfig, mintSupply, bondingCurve, amount: solAmount });\nconst ixs = await PUMP_SDK.buyInstructions({ global, bondingCurveAccountInfo, bondingCurve, associatedUserAccountInfo, mint, user, solAmount, amount, slippage: 1 });\n\n\u002F\u002F Sell\nconst solAmount = getSellSolAmountFromTokenAmount({ global, feeConfig, mintSupply, bondingCurve, amount });\nconst ixs = await PUMP_SDK.sellInstructions({ global, bondingCurveAccountInfo, bondingCurve, mint, user, amount, solAmount, slippage: 1 });\n```\n\n### Phase 3: Graduation Detection\n\n```typescript\nconst bondingCurve = await onlineSdk.fetchBondingCurve(mint);\nif (bondingCurve.complete) {\n    \u002F\u002F Token has graduated — must migrate to AMM\n}\n```\n\n### Phase 4: AMM Migration\n\n```typescript\nconst extendIx = await PUMP_SDK.extendAccountInstruction({ bondingCurvePda, bondingCurveAccountInfo });\nconst migrateIx = await PUMP_SDK.migrateInstruction({ mint, creator });\n```\n\n### Phase 5: Post-Migration (AMM Trading)\n\nAfter migration, the SDK's \"BothPrograms\" methods handle trading transparently across Pump and PumpAMM.\n\n### Phase 6: Creator Fee Collection\n\n```typescript\nconst ixs = await onlineSdk.collectCoinCreatorFeeInstructions(creator);\nconst balance = await onlineSdk.getCreatorVaultBalanceBothPrograms(creator);\n```\n\n## Key Constants\n\n| Constant | Value | Description |\n|----------|-------|-------------|\n| `PUMP_PROGRAM_ID` | `6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` | Bonding curve program |\n| `PUMP_AMM_PROGRAM_ID` | `pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA` | AMM pool program |\n| `PUMP_FEE_PROGRAM_ID` | `pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ` | Fee sharing program |\n| `BONDING_CURVE_NEW_SIZE` | `151` | Extended account size |\n\n## State Transition Diagram\n\n```\n              create\n    ────────────────────── ►  ACTIVE (BondingCurve)\n                                    │\n                               buy \u002F sell\n                                    │\n                              graduation\n                          (complete = true)\n                                    │\n                               migrate\n                                    ▼\n                              GRADUATED (AMM Pool)\n                                    │\n                              AMM trading + fee collection\n```\n\n## Patterns to Follow\n\n- Return `TransactionInstruction[]`, never `Transaction` objects\n- Use `getMultipleAccountsInfo` to batch RPC calls\n- Check `bondingCurve.complete` before any bonding curve operation\n- Use `fetchBuyState` \u002F `fetchSellState` for efficient account fetching\n- Always extend account before migration if needed\n\n## Common Pitfalls\n\n- `BondingCurve.complete === true` means graduated — buy\u002Fsell will fail on-chain\n- Creator vault PDAs differ: `\"creator-vault\"` (Pump, hyphen) vs `\"creator_vault\"` (AMM, underscore)\n- `fetchSellState` requires ATA to exist (unlike `fetchBuyState`)\n- Fee recipient is selected randomly from `global.feeRecipients[]`\n","# Token Lifecycle — Create, Trade, Graduate, Migrate & Collect\n\nManage the full lifecycle of Pump tokens from creation through bonding curve trading, graduation detection, AMM migration, fee collection, and volume tracking — using the offline `PumpSdk` and online `OnlinePumpSdk`.\n\n## Context\n\nPump tokens follow a defined lifecycle: creation → bonding curve trading → graduation (when market cap reaches threshold) → AMM migration → AMM trading. The SDK provides instruction builders for each phase, with both offline (no RPC) and online (live fetches) variants.\n\n## Lifecycle Phases\n\n### Phase 1: Token Creation\n\n```typescript\n\u002F\u002F V2 creation with Token-2022 (preferred)\nconst ix = await PUMP_SDK.createV2Instruction({\n    mint, name, symbol, uri, creator, user,\n});\n\n\u002F\u002F Create and immediately buy in same transaction\nconst ixs = await PUMP_SDK.createV2AndBuyInstructions({\n    global, feeConfig, mint, name, symbol, uri,\n    creator, user, solAmount, amount, slippage\n});\n```\n\n- `createInstruction` (v1) is **deprecated** — use `createV2Instruction` (Token-2022)\n- Token-2022 enables advanced token features (transfer hooks, confidential transfers)\n- Mayhem mode tokens use additional Mayhem program PDAs\n\n### Phase 2: Bonding Curve Trading\n\n```typescript\n\u002F\u002F Buy\nconst { bondingCurve } = await onlineSdk.fetchBuyState(mint, user);\nconst amount = getBuyTokenAmountFromSolAmount({ global, feeConfig, mintSupply, bondingCurve, amount: solAmount });\nconst ixs = await PUMP_SDK.buyInstructions({ global, bondingCurveAccountInfo, bondingCurve, associatedUserAccountInfo, mint, user, solAmount, amount, slippage: 1 });\n\n\u002F\u002F Sell\nconst solAmount = getSellSolAmountFromTokenAmount({ global, feeConfig, mintSupply, bondingCurve, amount });\nconst ixs = await PUMP_SDK.sellInstructions({ global, bondingCurveAccountInfo, bondingCurve, mint, user, amount, solAmount, slippage: 1 });\n```\n\n### Phase 3: Graduation Detection\n\n```typescript\nconst bondingCurve = await onlineSdk.fetchBondingCurve(mint);\nif (bondingCurve.complete) {\n    \u002F\u002F Token has graduated — must migrate to AMM\n}\n```\n\n### Phase 4: AMM Migration\n\n```typescript\nconst extendIx = await PUMP_SDK.extendAccountInstruction({ bondingCurvePda, bondingCurveAccountInfo });\nconst migrateIx = await PUMP_SDK.migrateInstruction({ mint, creator });\n```\n\n### Phase 5: Post-Migration (AMM Trading)\n\nAfter migration, the SDK's \"BothPrograms\" methods handle trading transparently across Pump and PumpAMM.\n\n### Phase 6: Creator Fee Collection\n\n```typescript\nconst ixs = await onlineSdk.collectCoinCreatorFeeInstructions(creator);\nconst balance = await onlineSdk.getCreatorVaultBalanceBothPrograms(creator);\n```\n\n## Key Constants\n\n| Constant | Value | Description |\n|----------|-------|-------------|\n| `PUMP_PROGRAM_ID` | `6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` | Bonding curve program |\n| `PUMP_AMM_PROGRAM_ID` | `pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA` | AMM pool program |\n| `PUMP_FEE_PROGRAM_ID` | `pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ` | Fee sharing program |\n| `BONDING_CURVE_NEW_SIZE` | `151` | Extended account size |\n\n## State Transition Diagram\n\n```\n              create\n    ────────────────────── ►  ACTIVE (BondingCurve)\n                                    │\n                               buy \u002F sell\n                                    │\n                              graduation\n                          (complete = true)\n                                    │\n                               migrate\n                                    ▼\n                              GRADUATED (AMM Pool)\n                                    │\n                              AMM trading + fee collection\n```\n\n## Patterns to Follow\n\n- Return `TransactionInstruction[]`, never `Transaction` objects\n- Use `getMultipleAccountsInfo` to batch RPC calls\n- Check `bondingCurve.complete` before any bonding curve operation\n- Use `fetchBuyState` \u002F `fetchSellState` for efficient account fetching\n- Always extend account before migration if needed\n\n## Common Pitfalls\n\n- `BondingCurve.complete === true` means graduated — buy\u002Fsell will fail on-chain\n- Creator vault PDAs differ: `\"creator-vault\"` (Pump, hyphen) vs `\"creator_vault\"` (AMM, underscore)\n- `fetchSellState` requires ATA to exist (unlike `fetchBuyState`)\n- Fee recipient is selected randomly from `global.feeRecipients[]`\n",{"name":5,"description":7},"main","be3de0244dc1a57e323d8160787ebb40fb64930e","skills\u002Fpump-token-lifecycle","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Solizardking\u002Fskillhub-main --skill pump-token-lifecycle",{"tool":39,"command":40},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill pump-token-lifecycle",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill pump-token-lifecycle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fpump-token-lifecycle\u002FSKILL.md",true,[],[48,55,62,69,76,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]