Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

create-coin

FreeRuns bundled scriptsNot checked

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.

jiayaoqijiaby jiayaoqijia★ 81 GitHub stars

About 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.

tipAmount is a Jito tip in SOL (e.g. 0.0001 for 100,000 lamports). Only relevant when frontRunningProtection is true.

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 the encoding parameter passed in the send call. Mismatched encodings will cause transaction failures. Always explicitly pass encoding: "base64" in sendTransaction / simulateTransaction RPC 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 --help for 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
Full SKILL.md on GitHub

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
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

.gitignoreSOURCE.mdTRUST.auto.yamlpackage.jsonpnpm-lock.yamlpnpm-workspace.yamlreferences/METADATA.mdscripts/build-create-coin-tx.mjsscripts/fetch-coin.mjsscripts/lib/args.mjsscripts/lib/coin-api.mjsscripts/lib/coin-resolve.mjsscripts/lib/compute.mjsscripts/lib/constants.mjsscripts/lib/env.mjsscripts/lib/jito.mjsscripts/lib/tx-build.mjs

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

Compare create-coin with