repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | { |
| #2 | "skillId": "pumpfun-launcher", |
| #3 | "name": "pumpfun-launcher", |
| #4 | "description": "Launch new tokens on Pump.fun directly via the Pump SDK", |
| #5 | "category": "pump-protocol", |
| #6 | "path": "pumpfun-launcher/SKILL.md", |
| #7 | "url": "https://x402.wtf/api/skills/pumpfun-launcher", |
| #8 | "tags": [ |
| #9 | "pumpfun", |
| #10 | "solana", |
| #11 | "launcher" |
| #12 | ], |
| #13 | "requiredEnv": [], |
| #14 | "homepage": null, |
| #15 | "attestation": { |
| #16 | "status": "pending", |
| #17 | "isFormallyVerified": false, |
| #18 | "attestationPda": null, |
| #19 | "verificationTimestamp": null |
| #20 | }, |
| #21 | "markdown": "---\ndescription: Launch new tokens on Pump.fun directly via the Pump SDK\n---\n\n# PumpFun Token Launcher\n\nLaunch new tokens on the Pump.fun protocol using the native Pump SDK integrated into SolanaOS.\n\n## Prerequisites\n\n- Solana wallet configured (`solanaos birth`)\n- `HELIUS_RPC_URL` or `SOLANA_RPC_URL` set in vault\n- Sufficient SOL balance for transaction fees (~0.05 SOL)\n\n## How It Works\n\nThe Pump SDK provides offline instruction builders for token creation. This skill uses the `PumpSdk.createV2Instruction()` method to build a token creation transaction.\n\n### Token Creation Flow\n\n1. Generate a new mint keypair\n2. Upload metadata JSON to Arweave/IPFS (name, symbol, image, description)\n3. Build the `createV2` instruction via `PUMP_SDK.createV2Instruction()`\n4. Optionally build a combined `createV2AndBuy` to purchase initial supply\n5. Sign and send the transaction\n\n### Example Usage\n\n```typescript\nimport { Keypair, Connection } from \"@solana/web3.js\";\nimport { PUMP_SDK, OnlinePumpSdk, getBuyTokenAmountFromSolAmount } from \"@nirholas/pump-sdk\";\n\nconst connection = new Connection(process.env.HELIUS_RPC_URL!);\nconst mintKeypair = Keypair.generate();\nconst creator = wallet.publicKey;\n\n// Create token\nconst createIx = await PUMP_SDK.createV2Instruction({\n mint: mintKeypair.publicKey,\n name: \"My Token\",\n symbol: \"MYTKN\",\n uri: \"https://arweave.net/metadata.json\",\n creator,\n user: creator,\n mayhemMode: false,\n});\n\n// Or create + buy in one transaction\nconst sdk = new OnlinePumpSdk(connection);\nconst global = await sdk.fetchGlobal();\nconst ixs = await PUMP_SDK.createV2AndBuyInstructions({\n global,\n mint: mintKeypair.publicKey,\n name: \"My Token\",\n symbol: \"MYTKN\",\n uri: \"https://arweave.net/metadata.json\",\n creator,\n user: creator,\n amount: new BN(1_000_000_000), // tokens to buy\n solAmount: new BN(100_000_000), // 0.1 SOL\n mayhemMode: false,\n});\n```\n\n### Mayhem Mode\n\nSet `mayhemMode: true` for tokens with randomized bonding curve parameters. This creates unpredictable pricing dynamics.\n\n### Safety Notes\n\n- **Always test on devnet first** — never launch tokens with real funds without testing\n- **Use mock keypairs for development** — never commit real wallet keys\n- **Token creation is irreversible** — once created, the bonding curve is live\n\n## On-Chain Programs\n\n| Program | Address |\n|---------|---------|\n| Pump | `6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` |\n| PumpAMM | `pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA` |\n| PumpFees | `pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ` |\n" |
| #22 | } |
| #23 |