create-coin
FreeRuns bundled scriptsNot checkedCreate coins on pump.fun — standard create with initial buy. Prefer runnable Node scripts in this skill folder; use @pump-fun/pump-sdk for custom integrations.
by jiayaoqijia★ 81 GitHub starsAbout this skill
Before Starting Work Critical - Ask these from user
MANDATORY — Do NOT write or modify any code until every item below is answered by the user:
- RPC URL provided or a fallback agreed upon (for any on-chain or tx-building step)
- Signer wallet public key (fee payer / creator)
- Framework confirmed (Next.js, Express, CLI scripts only, other)
- Coin name, symbol, and metadata URI (or plan to upload) confirmed — see references/METADATA.md
- Initial buy amount confirmed (SOL in lamports)
- Cashback desired? (default off)
- Mayhem mode desired? (default off)
- Tokenized agent desired? (default off), If Yes then with what Buyback percentage.
- Front-runner protection desired? If yes, confirm tip amount (default 0.0001 SOL). Transactions will be sent only to Jito block engine endpoints.
You MUST ask the user for ALL unchecked items in your very first response. Do not assume defaults. Do not proceed until the user has explicitly answered each one.
API (preferred) — https://fun-block.pump.fun
Use the API to build transactions instead of running scripts directly. The API handles account resolution, compute budget, and partial signing automatically.
POST /agents/create-coin
Builds a create + initial buy transaction. The server generates a mint keypair and partial-signs with it. The client wallet co-signs and submits.
Request body:
{
"user": "<PUBKEY>",
"name": "MyCoin",
"symbol": "MC",
"uri": "https://ipfs.io/ipfs/Qm...",
"solLamports": "1000000",
"mayhemMode": false,
"cashback": false,
"tokenizedAgent": false,
"buybackBps": 5000,
"frontRunningProtection": false,
"tipAmount": 0,
"encoding": "base64",
"feePayer": "<PUBKEY>",
"creator": "<PUBKEY>"
}
Only user, name, symbol, uri, and solLamports are required. All other fields are optional with sensible defaults.
tipAmountis a Jito tip in SOL (e.g.0.0001for 100,000 lamports). Only relevant whenfrontRunningProtectionistrue.
Encoding: The API defaults to
"base58"encoding. Always pass"encoding": "base64"in the request body — scripts already output base64. When sending the signed transaction to an RPC or Jito endpoint, the encoding used to serialize the transaction must match theencodingparameter passed in the send call. Mismatched encodings will cause transaction failures. Always explicitly passencoding: "base64"insendTransaction/simulateTransactionRPC calls — never rely on the RPC's default.
Response:
{
"transaction": "<base64-encoded VersionedTransaction>",
"mintPublicKey": "<base58 mint address>",
"quoteTokenAmount": "123456789",
"solLamports": "1000000",
"mayhemMode": false,
"cashback": false,
"tokenizedAgent": false
}
The returned transaction is already partial-signed with the mint keypair. Deserialize it, have the user wallet sign, and submit to chain.
Runnable examples (Node scripts — only when user explicitly requests)
Use {baseDir} as the path to this skill folder (OpenClaw and Agent Skills clients often expose this placeholder).
cd {baseDir}
npm install
export SOLANA_RPC_URL=https://rpc.solanatracker.io/public
| Operation | Script | Example |
|---|---|---|
| Fetch coin state (HTTP) | scripts/fetch-coin.mjs |
node scripts/fetch-coin.mjs --mint <MINT> --subset |
| Create + initial buy (partial-sign mint) | scripts/build-create-coin-tx.mjs |
node scripts/build-create-coin-tx.mjs --user <PUBKEY> --name "Coin" --symbol "CN" --metadata-uri <URI> --sol-lamports 1000000 --mint-keypair-out ./mint.json [--mayhem-mode] [--cashback] [--tokenized-agent --buyback-bps 5000] [--alt-address <PUBKEY>] |
- Run any script with
--helpfor full flags (--mayhem-mode,--tokenized-agent,--buyback-bps,--compute-units,--priority-micro-lamports,--front-runner-protection,--tip-sol, etc.). - Tx builders print one JSON object on stdout with
transaction(base64-encoded VersionedTransaction, par
Install create-coin in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the create-coin skill do?
Create coins on pump.fun — standard create with initial buy. Prefer runnable Node scripts in this skill folder; use @pump-fun/pump-sdk for custom integrations.
How do I install the create-coin skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the create-coin skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic