[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71KM1VTFH2WVZZFQ9KM19SC":3,"skill-same:01M71KM1VTFH2WVZZFQ9KM19SC":74},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M71KM1VTFH2WVZZFQ9KM19SC","pump-sdk-core",null,"Build and extend the core Pump SDK — an offline-first TypeScript SDK that constructs Solana TransactionInstructions for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees).","clawdsolana\u002FOpenClawd","clawdsolana","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F279036008?v=4","01M71JTVF9FNGKE2SVJRPTQM31","OpenClawd","01M71JTVGCKWBSS8ZYC1HYWVA5",2,"MIT","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fpump-sdk-core\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"sdk","core","pump sdk core","pump","extend","github","for","on-chain","URL","pump-fun","chain","creation","across","three","fun","solana","build","collection","first","rpc","2026-11-10 10:12:30",false,"---\nname: pump-sdk-core\ndescription: \"Build and extend the core Pump SDK — an offline-first TypeScript SDK that constructs Solana TransactionInstructions for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees).\"\nmetadata:\n  solanaos:\n    homepage: https:\u002F\u002Fgithub.com\u002Fnirholas\u002Fpump-fun-sdk\n    requires:\n      env:\n        - SOLANA_RPC_URL\n---\n\n# Pump SDK Core — Instruction Building & On-Chain Interaction\n\nBuild, extend, and maintain the core Pump SDK — an offline-first TypeScript SDK that constructs Solana `TransactionInstruction`s for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees) plus the Mayhem program.\n\n## Context\n\nThe SDK is published as `@nirholas\u002Fpump-sdk` (npm) and powers the Pump protocol — a Solana-based token launchpad with bonding curve pricing, automatic AMM migration after graduation, tiered fees, and creator fee sharing. The codebase uses Anchor for IDL-based instruction building and supports both Token (SPL) and Token-2022 token programs.\n\n## Key Files\n\n- `src\u002Fsdk.ts` — `PumpSdk` class with all instruction builders and account decoders\n- `src\u002FonlineSdk.ts` — `OnlinePumpSdk` class extending offline SDK with live RPC fetches\n- `src\u002Findex.ts` — barrel re-export module defining the public API surface\n- `src\u002Fstate.ts` — TypeScript interfaces for all on-chain account state\n- `src\u002Fpda.ts` — Program Derived Address derivation for all programs\n- `src\u002Fidl\u002Fpump.ts`, `src\u002Fidl\u002Fpump_amm.ts`, `src\u002Fidl\u002Fpump_fees.ts` — Anchor IDL definitions\n\n## Architecture\n\n- **Offline SDK (`PumpSdk`)**: Builds instructions without a live connection. Uses Anchor `Program` instances initialized with a dummy keypair and connection. Exported as a singleton `PUMP_SDK`.\n- **Online SDK (`OnlinePumpSdk`)**: Wraps `PumpSdk` with a real `Connection` for fetching account state via `getMultipleAccountsInfo`. Provides \"BothPrograms\" methods that aggregate data across bonding curve (Pump) and AMM (PumpAMM) programs.\n- **Three program IDs**: `PUMP_PROGRAM_ID`, `PUMP_AMM_PROGRAM_ID`, `PUMP_FEE_PROGRAM_ID`, plus `MAYHEM_PROGRAM_ID` for mayhem-mode tokens.\n\n## Instruction Builder Pattern\n\nEvery instruction method returns `TransactionInstruction[]` (not transactions), allowing callers to compose them into transactions freely. Methods follow a naming convention:\n- `*Instruction` — single instruction\n- `*Instructions` — multiple instructions (e.g., ATA creation + buy)\n\n## Account Decoders\n\nThe SDK decodes raw `AccountInfo\u003CBuffer>` into typed interfaces using the Anchor coder:\n- `decodeGlobal`, `decodeBondingCurve`, `decodeFeeConfig`, `decodeSharingConfig`, etc.\n- Nullable variants (e.g., `decodeBondingCurveNullable`) handle missing or undersized accounts gracefully.\n\n## Slippage Calculation\n\n```\nmaxSolCost = solAmount + (solAmount × slippage × 10 \u002F 1000)\nminSolReceived = solAmount - (solAmount × slippage × 10 \u002F 1000)\n```\n\n## Patterns to Follow\n\n- Always return `TransactionInstruction[]` from instruction builders, never full `Transaction` objects\n- Use `getMultipleAccountsInfo` to batch RPC calls (2–3 accounts per call)\n- Support both Token (SPL) and Token-2022 programs via `tokenProgram` parameter\n- Handle account extension (`extendAccountInstruction`) for bonding curves that need more space\n- Validate shareholder arrays: max 10 shareholders, shares must total 10,000 bps, no duplicates, no zero shares\n- Use typed error classes from `src\u002Ferrors.ts` for validation failures\n- Keep the offline SDK connection-free; all RPC calls belong in `OnlinePumpSdk`\n\n## Common Pitfalls\n\n- Circular dependency between `sdk.ts` and `onlineSdk.ts`\n- Buy instruction passes `{ 0: true }` as a flags argument — this is intentional, not a bug\n- `BONDING_CURVE_NEW_SIZE = 151` — accounts may need extension before certain operations\n- `BondingCurve.complete === true` means the token has graduated to AMM — bonding curve operations will fail\n- The `createInstruction` (v1) is deprecated in favor of `createV2Instruction` (Token-2022)\n\n","# Pump SDK Core — Instruction Building & On-Chain Interaction\n\nBuild, extend, and maintain the core Pump SDK — an offline-first TypeScript SDK that constructs Solana `TransactionInstruction`s for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees) plus the Mayhem program.\n\n## Context\n\nThe SDK is published as `@nirholas\u002Fpump-sdk` (npm) and powers the Pump protocol — a Solana-based token launchpad with bonding curve pricing, automatic AMM migration after graduation, tiered fees, and creator fee sharing. The codebase uses Anchor for IDL-based instruction building and supports both Token (SPL) and Token-2022 token programs.\n\n## Key Files\n\n- `src\u002Fsdk.ts` — `PumpSdk` class with all instruction builders and account decoders\n- `src\u002FonlineSdk.ts` — `OnlinePumpSdk` class extending offline SDK with live RPC fetches\n- `src\u002Findex.ts` — barrel re-export module defining the public API surface\n- `src\u002Fstate.ts` — TypeScript interfaces for all on-chain account state\n- `src\u002Fpda.ts` — Program Derived Address derivation for all programs\n- `src\u002Fidl\u002Fpump.ts`, `src\u002Fidl\u002Fpump_amm.ts`, `src\u002Fidl\u002Fpump_fees.ts` — Anchor IDL definitions\n\n## Architecture\n\n- **Offline SDK (`PumpSdk`)**: Builds instructions without a live connection. Uses Anchor `Program` instances initialized with a dummy keypair and connection. Exported as a singleton `PUMP_SDK`.\n- **Online SDK (`OnlinePumpSdk`)**: Wraps `PumpSdk` with a real `Connection` for fetching account state via `getMultipleAccountsInfo`. Provides \"BothPrograms\" methods that aggregate data across bonding curve (Pump) and AMM (PumpAMM) programs.\n- **Three program IDs**: `PUMP_PROGRAM_ID`, `PUMP_AMM_PROGRAM_ID`, `PUMP_FEE_PROGRAM_ID`, plus `MAYHEM_PROGRAM_ID` for mayhem-mode tokens.\n\n## Instruction Builder Pattern\n\nEvery instruction method returns `TransactionInstruction[]` (not transactions), allowing callers to compose them into transactions freely. Methods follow a naming convention:\n- `*Instruction` — single instruction\n- `*Instructions` — multiple instructions (e.g., ATA creation + buy)\n\n## Account Decoders\n\nThe SDK decodes raw `AccountInfo\u003CBuffer>` into typed interfaces using the Anchor coder:\n- `decodeGlobal`, `decodeBondingCurve`, `decodeFeeConfig`, `decodeSharingConfig`, etc.\n- Nullable variants (e.g., `decodeBondingCurveNullable`) handle missing or undersized accounts gracefully.\n\n## Slippage Calculation\n\n```\nmaxSolCost = solAmount + (solAmount × slippage × 10 \u002F 1000)\nminSolReceived = solAmount - (solAmount × slippage × 10 \u002F 1000)\n```\n\n## Patterns to Follow\n\n- Always return `TransactionInstruction[]` from instruction builders, never full `Transaction` objects\n- Use `getMultipleAccountsInfo` to batch RPC calls (2–3 accounts per call)\n- Support both Token (SPL) and Token-2022 programs via `tokenProgram` parameter\n- Handle account extension (`extendAccountInstruction`) for bonding curves that need more space\n- Validate shareholder arrays: max 10 shareholders, shares must total 10,000 bps, no duplicates, no zero shares\n- Use typed error classes from `src\u002Ferrors.ts` for validation failures\n- Keep the offline SDK connection-free; all RPC calls belong in `OnlinePumpSdk`\n\n## Common Pitfalls\n\n- Circular dependency between `sdk.ts` and `onlineSdk.ts`\n- Buy instruction passes `{ 0: true }` as a flags argument — this is intentional, not a bug\n- `BONDING_CURVE_NEW_SIZE = 151` — accounts may need extension before certain operations\n- `BondingCurve.complete === true` means the token has graduated to AMM — bonding curve operations will fail\n- The `createInstruction` (v1) is deprecated in favor of `createV2Instruction` (Token-2022)\n\n",{"name":5,"metadata":44,"description":7},{"solanaos":45},{"homepage":46,"requires":47},"https:\u002F\u002Fgithub.com\u002Fnirholas\u002Fpump-fun-sdk",{"env":48},[49],"SOLANA_RPC_URL","main","6b4a291df75c639681e93b4b5b812126443fd6ed","skills\u002Fpump-sdk-core",3,"https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd","https:\u002F\u002Fsolanaclawd.com\u002Fopenclawd","https:\u002F\u002Fgithub.com\u002Fclawdsolana","https:\u002F\u002Fmusebook.trade","Welcome to Open Clawd. The future of Ai on and off chain. Bringing webMCP to web 3 using X402, A2A, MPP and so much more!","2026-08-01 09:30:51",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add clawdsolana\u002FOpenClawd --skill pump-sdk-core",{"tool":66,"command":67},"bunx","bunx skills add clawdsolana\u002FOpenClawd --skill pump-sdk-core",{"tool":69,"command":70},"pnpm","pnpm dlx skills add clawdsolana\u002FOpenClawd --skill pump-sdk-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fpump-sdk-core\u002FSKILL.md",true,[],[75,102,126,151,161,185],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":101},"01M71KRBD0W01EAXJ8YM4M1SJ2","solana-dev","End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for React\u002FNext.js UI. Prefer @solana\u002Fkit for all new client\u002FRPC\u002Ftransaction code. When legacy dependencies require web3.js, isolate it behind @solana\u002Fweb3-compat (or @solana\u002Fweb3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor\u002FPinocchio programs, Codama-based client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, and security checklists.","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fsolana-dev\u002FSKILL.md",[],[82,83,34,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"solana dev","dev","Wallet","end","testing","hooks","kit","new","when","web3","code","react","next","2026","playbook","security","ui","fallback","framework","2026-11-10 10:56:23",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":101},"01M71KR8QPESSY61SVE8ZTFNVT","xurl","A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fxurl\u002FSKILL.md",[],[104,109,110,111,112,113,114,90,115,116,117,118,119,120,121,122,25,123,124,125],"posts","Media","x api","search","send","tap","you","api","cli","read","install","cli tool","endpoint","brew","manage","tool","twitter",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":101},"01M71KR6FSXV88YDKWP7NBY3SH","wurk-integration","WURK API integration for monetizing agents with x402 payments on Solana\u002FBase - create social jobs, custom challenges, and agent help tasks","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fwurk-integration\u002FSKILL.md",[],[133,134,135,136,137,138,139,140,116,141,142,143,144,145,146,147,25,148,149,150],"wurk","wurk integration","integration","x402","social","payments","tasks","team","create","social-jobs","command","agent-help","custom-jobs","clawd","safe","api integration","custom","true",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":101},"01M71KR4HCX41BPAK9GP7RPRRP","workflows","Manage application workflows including configuration, restart, and removal.","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fworkflows\u002FSKILL.md",[],[153,123,158,159,160],"configuration","application","restart",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":101},"01M71KR1VM0F5GPEQDNG5J7A0H","web-search","Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[168,112,169,170,171,25,172,173,174,175,176,177,178,116,179,180,181,182,183,184],"web search","web","fetch","api documentation","real-time","time","profiles","design","use","information","visual","documentation","branding","matching","reference","capture","content",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":101},"01M71KQZN5MR1JFQHG5GWXYAHS","weather","Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.","https:\u002F\u002Fgithub.com\u002Fclawdsolana\u002FOpenClawd\u002Fblob\u002Fmain\u002Fskills\u002Fweather\u002FSKILL.md",[],[187,192,25,193,176,90,194,116,195,196,197,198,199,200,201,202,203,204],"get","open","analysis","alerts","temperature","curl","via","help","about","https","location","data","user"]