@chaindaddy/mcp 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaindaddy/mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "MCP server for Chain Daddy: search tickers, launch or import a token, and run its creator store",
5
5
  "mcpName": "io.chaindaddy/mcp",
6
6
  "homepage": "https://docs.chaindaddy.io/developer/store-and-rewards#tools-for-agents",
@@ -56,6 +56,7 @@
56
56
  },
57
57
  "files": [
58
58
  "build",
59
+ "skills/*/SKILL.md",
59
60
  "README.md"
60
61
  ]
61
62
  }
@@ -0,0 +1,114 @@
1
+ ---
2
+ name: add-crypto-to-your-game
3
+ description: The end-to-end path for putting a game, app or site on crypto with Chain Daddy - pick or launch a token, sell items for it, sign players in with their wallet, verify purchases on your server, and run it all on a no-money test store first. Use when someone wants to add a token, sell in-game items for crypto, give holders perks, or "add crypto" to a game, app or dApp.
4
+ license: MIT
5
+ ---
6
+
7
+ # Add crypto to your game or app
8
+
9
+ Chain Daddy gives a token a verified page and a **store**: items you sell for that token, a record of what
10
+ each wallet owns, and a signed receipt for every purchase. Your game reads what a player owns; it never
11
+ moves money.
12
+
13
+ ## How it fits together
14
+
15
+ ```
16
+ your token ── its page on chaindaddy.io ── its store (items, what each wallet owns, receipts)
17
+ │
18
+ your game client ── asks to buy ─────┤ the buyer's wallet pays your payout wallet on chain
19
+ │
20
+ your server ── store key ────────────┘ creates orders, verifies receipts, spends items
21
+ ```
22
+
23
+ 1. **Money never passes through your code.** The buyer's wallet pays the token's payout wallet directly,
24
+ in one on-chain transaction. Chain Daddy then grants the item and signs a receipt.
25
+ 2. **The client asks, the server decides.** Anything with value (spending credits, a ranked result, a
26
+ prize) is decided on your server, with a store key only the server holds.
27
+ 3. **Test first.** A test store runs the whole loop with no wallet, no chain and no money.
28
+
29
+ ## What the human needs first
30
+
31
+ Check these before writing code, and stop with a clear next step if one is missing:
32
+
33
+ | Need | How to check | If missing |
34
+ |---|---|---|
35
+ | A token page they own or manage, and its **chain key** (`base`) and **crown id** (the registration id) | `find-and-check-a-token` skill | Import a token they made elsewhere, or `launch-a-token` |
36
+ | A plan that can open a store: Developer, Partner or Enterprise, or Developer Beta Program membership | `GET https://api.chaindaddy.io/api/v2/iap/eligibility` (signed in) | Any paid plan, then sign the agreement at https://chaindaddy.io/_developer |
37
+ | Signed in on this computer | `chaindaddy whoami` | They run `chaindaddy login` and approve in the browser (any wallet or email/social sign-in); the CLI and the local MCP server both use it. A server or CI job gets a `cd_live_…` key instead (`chaindaddy keys create`) |
38
+
39
+ Never ask the human to paste a key into the chat. Ask them to set it as an environment variable.
40
+
41
+ ## The path
42
+
43
+ ### 1. Pick the token
44
+
45
+ - **Their own token, made elsewhere:** they import it on chaindaddy.io (one fee, or free for established
46
+ tokens). A store can only sell for a token whose page the wallet owns or manages.
47
+ - **A new token:** see `launch-a-token`. A token launched in a Chain Daddy launchpad pool pays **0%** on
48
+ store sales; any other token pays **2.5%**, taken out of the price at checkout.
49
+
50
+ ### 2. Decide where the game runs
51
+
52
+ | The game runs… | How it sells | Skill |
53
+ |---|---|---|
54
+ | On the token page, as a Crown App | Sends the `iap-purchase` action; the page shows its own purchase sheet and handles the wallet. No server or payment code needed | `build-a-crown-app` |
55
+ | In your own site, app or client | Your server creates an order; your client pays with the order's `payment` block | `sell-items-in-your-app` |
56
+ | Anywhere, with no code | A payment link: `https://chaindaddy.io/<symbol>/<chain>?buy=<sku>` | `sell-items-in-your-app` |
57
+
58
+ ### 3. Design the catalog
59
+
60
+ | Type | Use it for |
61
+ |---|---|
62
+ | `non_consumable` | Owned for good, one per wallet: a skin, a badge, a level pack |
63
+ | `consumable` | Used up: credits, boosts. A bundle `grants` other items |
64
+ | `timed` | Access for a while: a season pass, a rental |
65
+ | `unlock` | Never sold. Held while a rule holds, e.g. "holds at least 1,000 tokens" |
66
+
67
+ Put what the game needs to apply an item in its `metadata`: that JSON is the contract between the store and
68
+ the game. Price in dollars (`priceUsdMicros`, with `minPrice` / `maxPrice` bounds) and take payment in the
69
+ token, so prices don't swing with the market.
70
+
71
+ ### 4. Build against the test store
72
+
73
+ Open the test store beside the live one (`iap_open_test_store` / `chaindaddy iap store test <storeId>`), make
74
+ a `cd_iap_test_…` key on it, then run the whole loop: create an order, pay it with `iap_test_pay`, verify the
75
+ receipt (`livemode: false`), read and spend the items, and receive the webhook. Details in
76
+ `sell-items-in-your-app`.
77
+
78
+ ### 5. Know who the player is
79
+
80
+ - In a Crown App: the `session-token` action gives a short-lived token your server verifies.
81
+ - On your own site or app: Sign in with Chain Daddy (standard OpenID Connect) - see `sign-in-with-chain-daddy`.
82
+
83
+ Both identify the player by wallet (`sub`). Key accounts by that wallet.
84
+
85
+ ### 6. Verify on your server
86
+
87
+ Verify every receipt and session token on the server before acting on it - see `verify-receipts-and-sessions`.
88
+ Deliver on `confirmed`, credit each `orderId` once, and treat the store's item ledger
89
+ (`GET …/entitlements?wallet=`) as the source of truth.
90
+
91
+ ### 7. Go live
92
+
93
+ Switch the server to the live store's key. Read the store id from the key (`GET /api/v2/iap/stores` with a
94
+ store key returns its own store) so nothing else changes. In production, check `storeId` is the live store and
95
+ `livemode` is `true`.
96
+
97
+ To pay out real tokens as prizes, see https://docs.chaindaddy.io/developer/token-prizes (live stores only).
98
+
99
+ ## Mistakes to avoid
100
+
101
+ - Granting an item on `paid`. `paid` means the payment is on chain but still confirming. Deliver on `confirmed`.
102
+ - Trusting a receipt or session token because the client sent it. Verify it on the server, every time.
103
+ - Shipping a store key, account key or webhook secret in client code, a repo or a log.
104
+ - A new random idempotency key on each retry. Build it from something stable (`user-42-milestone-10`).
105
+ - Items with a random outcome (loot boxes, mystery boxes): not allowed.
106
+ - Describing items as money. They can't be transferred between wallets or exchanged for tokens or cash.
107
+ - Asking for a private key or seed phrase, or sending a transaction for the human. They sign in their own wallet.
108
+
109
+ ## Docs
110
+
111
+ - Store and rewards: https://docs.chaindaddy.io/developer/store-and-rewards
112
+ - Test your integration: https://docs.chaindaddy.io/developer/test-your-integration
113
+ - Build a game: https://docs.chaindaddy.io/developer/build-a-game
114
+ - Everything, for an agent: https://docs.chaindaddy.io/llms.txt (raw pages at `/md/<path>.md`)
@@ -0,0 +1,123 @@
1
+ ---
2
+ name: build-a-crown-app
3
+ description: Build, test and publish a Crown App - an app any Chain Daddy token page can install - as a sandboxed React widget, a headless runner that receives signed events, or both. Covers the CLI path, capp.json manifest and permissions, the sandbox rules, actions like iap-purchase and session-token, local testing, review, and what paid apps can and can't do today. Use when someone wants to put a game, storefront, gallery or tool on a token page.
4
+ license: MIT
5
+ ---
6
+
7
+ # Build a Crown App
8
+
9
+ A Crown App runs on token pages. The token's owner adds it from the page's **Apps** tab; every app is free to
10
+ install on every plan.
11
+
12
+ | Type | What it is | Scaffold |
13
+ |---|---|---|
14
+ | `widget` | A React component, sandboxed in a frame on the page | `chaindaddy app init widget my-app` |
15
+ | `headless` | A runner: your HTTPS endpoint that receives the page's signed events | `chaindaddy app init headless my-runner` |
16
+ | `full` | A widget and a runner | `chaindaddy app init full my-app` |
17
+
18
+ Starters with working code: `game` (three.js arcade game with a shop), `interactive` (canvas piece),
19
+ `community` (poll, links, holder count): `chaindaddy app init game my-game`.
20
+
21
+ ## Who can publish
22
+
23
+ - **Testing locally needs no account.** Start there.
24
+ - **Publishing** needs any active paid plan (not a trial) and the Developer Beta Program Agreement, signed at
25
+ https://chaindaddy.io/_developer with the wallet that holds the plan. Check with `chaindaddy app whoami`.
26
+ - Every build is a signed `.capp` package, checked automatically, then reviewed by a person.
27
+
28
+ ## The path
29
+
30
+ ```bash
31
+ npm install -g @chaindaddy/cli@beta # Node 20+
32
+ chaindaddy app init widget my-app && cd my-app && npm install
33
+ npm run dev # or chaindaddy app dev: a token page on 127.0.0.1:5180
34
+ # when it works:
35
+ chaindaddy login # the human approves in their browser; no key to paste
36
+ npm run validate && npm run build && npm run scan
37
+ npm run pack && npm run sign && npm run submit
38
+ chaindaddy app submit --request-review # or press Submit for review on the build in the portal
39
+ ```
40
+
41
+ Add `--json --non-interactive` to CLI calls you run as an agent. Exit codes: `0` ok, `1` user error, `2`
42
+ system, `3` validation failed, `4` auth, `5` server.
43
+
44
+ `app dev` runs the widget in the real sandbox at real slot sizes, answers every host action from sample data
45
+ (a store, purchases, sign-in, signatures), refuses what a real page refuses, and prints every violation. Fix
46
+ those before submitting.
47
+
48
+ ## The widget
49
+
50
+ - One named export (a plain function component, the name in `entryComponent`), one ESM file, at most
51
+ 2,000,000 bytes, with `react`, `react-dom` and `react/jsx-runtime` left external. `chaindaddy app build`
52
+ enforces this.
53
+ - Props: `appData` (the token's data), `settings` (the owner's settings, from your `configSchema`), `theme`
54
+ (use its colors), `connectedAddress`, `signedIn`, `isOwner`, `breakpoint`, `onAction`, and
55
+ `subscribeStore` (with `iap:purchase`).
56
+ - Everything sensitive goes through `onAction({ type, … })`, which resolves `{ ok, data }` or `{ ok: false, error }`.
57
+
58
+ ## Permissions (`capp.json` → `permissions`)
59
+
60
+ Declare only what you use; the owner sees each one before installing and the scan checks the bundle matches.
61
+
62
+ | Permission | Lets the app |
63
+ |---|---|
64
+ | `iap:purchase` | Sell from this token's store: `onAction({ type: 'iap-purchase', sku, quantity })`. The page shows its own sheet and the viewer's wallet pays; your app never sees a wallet or names an amount |
65
+ | `net:connect` | Reach your own servers listed in `network.origins` (exact `https://` / `wss://` hosts), and ask for a `session-token` |
66
+ | `fetch:self-api` | Call the platform API (`/api/...`) with no cookies |
67
+ | `storage:local` | Keep `localStorage` between visits (512K characters) |
68
+ | `notify:user` | Send the signed-in user a notification (5 a day per user) |
69
+ | `wallet:trade` | Open the token's Buy sheet |
70
+ | `wallet:transaction`, `wallet:sign` | Propose a transaction or an EIP-712 signature, limited to your token and contracts declared in `wallet`; the viewer sees it decoded and confirms |
71
+ | `clipboard:write`, `navigate:internal`, `ui:fullscreen` | Clipboard, move to another page, fullscreen - each on a tap |
72
+
73
+ Data scopes go in `requiredData` (`profile:basic`, `market:price`, `market:holders`, …).
74
+
75
+ ## Selling inside the app
76
+
77
+ ```ts
78
+ const res = await onAction({ type: 'iap-purchase', sku: 'credits.100', quantity: 1, appAccountToken: user.id });
79
+ // res.data.status: 'confirmed' | 'paid' | 'cancelled' | 'failed'; 'paid' settles later
80
+ props.subscribeStore?.((e) => {
81
+ if (e.type === 'store:order' && e.status === 'confirmed') unlock(e.sku, e.receipt);
82
+ if (e.type === 'store:entitlements') refreshInventory();
83
+ });
84
+ ```
85
+
86
+ Read the catalog and the viewer's items with `api-call` (`/api/v2/iap/public/…`, `/api/v2/iap/me/…`). An app
87
+ sells from the store of the token page it is on. The store itself: `sell-items-in-your-app`.
88
+
89
+ ## Your own server
90
+
91
+ Declare `net:connect` with your origins. Get `onAction({ type: 'session-token' })` → `{ token, expiresAt }`, send
92
+ it to your server, and verify it there (`verify-receipts-and-sessions`). To sign a visitor in, send
93
+ `onAction({ type: 'sign-in' })` from a button they tap - don't ask their wallet to sign a login of your own.
94
+
95
+ ## Runners
96
+
97
+ A runner receives signed events (`runner.events` in the manifest) at `runner.endpointUrl`. Verify
98
+ `X-App-Signature` (hex HMAC-SHA256 of the raw body, secret hex-decoded) before processing, dedupe by
99
+ `eventId`, and answer quickly. Per-token data goes through the Action API (`apps:storage:write`).
100
+
101
+ ## Paid apps
102
+
103
+ Every app is free to install. Charging for an app itself, with a revenue share for its developer, is in
104
+ development and not live: the beta agreement includes no payment to developers. What works today is selling
105
+ items for the token from inside the app (above), at 2.5% or 0% on a Chain Daddy launchpad token. Check
106
+ https://docs.chaindaddy.io/developer/paid-apps for the current state before promising anything.
107
+
108
+ ## Mistakes to avoid
109
+
110
+ - `eval`, `new Function` or `document.cookie`: the frame refuses them and the scan fails the build.
111
+ - Fetching anything not declared: images and calls to other hosts are blocked and reported as violations;
112
+ enough reports disable the app on every page.
113
+ - Setting `location` or following a link in the frame: it takes your app off the page. Use `navigate`.
114
+ - Keying signed-in state on `connectedAddress`; use the `signedIn` prop.
115
+ - Putting a store key, API key or secret in the bundle. The bundle is public.
116
+ - Declaring permissions you don't use: review refuses them, and owners see them.
117
+ - An app name another developer uses: names are unique.
118
+
119
+ ## Docs
120
+
121
+ https://docs.chaindaddy.io/developer/quickstart · widgets · manifest · actions · security · runners ·
122
+ submission · build-a-game · engine-apps (Godot and Unity web exports) - all under
123
+ https://docs.chaindaddy.io/developer/
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: check-token-health
3
+ description: Read the health of the tokens a wallet has registered on Chain Daddy - the 0-100 score, which registrations are at risk or counting down to expiry, why, and what the owner can do. Read-only. Use when someone asks how their tokens are doing, whether they could lose a ticker, or what their health score means.
4
+ license: MIT
5
+ ---
6
+
7
+ # Check token health
8
+
9
+ Every registered token has a health score from 0 to 100, updated daily. If it stays **below 60 for 30 days
10
+ in a row**, the registration expires and anyone who can prove ownership of the token can register the ticker,
11
+ first come, first served. Read-only: this skill changes nothing.
12
+
13
+ ## Tools
14
+
15
+ | Need | MCP | CLI | HTTP |
16
+ |---|---|---|---|
17
+ | Every registration a wallet owns | `list_crowns` (`owner`) | `chaindaddy status --wallet <addr> --json` | - |
18
+ | One token's score | `check_heartbeat` | `chaindaddy status --symbol S --chain base` | `GET /api/v2/heartbeat/{symbol}/{chain}` (EVM) |
19
+ | Score history | - | - | `GET /api/v2/heartbeat/{symbol}/{chain}/history` |
20
+ | Holder spread | `get_holders` | - | `GET /api/v2/registration/{id}/holders` |
21
+
22
+ HTTP calls from your own code need `X-API-Key: cd_live_…`. The remote MCP server's read tools need no key.
23
+
24
+ ## Steps
25
+
26
+ 1. List the wallet's registrations. Ask for the wallet address; never for a key or a signature.
27
+ 2. Read each one's score and classify it:
28
+
29
+ | Score | Status | Meaning |
30
+ |---|---|---|
31
+ | 80-100 | Healthy | In good standing |
32
+ | 65-79 | Moderate | In good standing, worth a look |
33
+ | 60-64 | At risk | The owner gets a "Token at risk" alert |
34
+ | below 60 | Inactive | The 30-day countdown is running |
35
+ | below 60 for 30 days | Expired | The ticker is open to register again |
36
+
37
+ A registration in its first 30 days is in its **grace period**: tracked, but it can't be reclaimed
38
+ whatever the score. Releasing and registering again doesn't reset it.
39
+ 3. Show a short table, worst first: symbol, chain, score, status, and days left where a countdown runs.
40
+ 4. For each token at risk, explain the score's parts:
41
+ - **Age, 50%:** full marks for 30 days, then steps down over two years (90, 80, 70, 60, then 50). An older
42
+ token needs real trading and holders to stay above 60.
43
+ - **Trading volume, 30%:** smoothed (last 24 h 70%, 7-day average 30%) and capped at 100x the pool's
44
+ liquidity, so wash trading doesn't help.
45
+ - **Holder spread, 20%:** concentration in the top 10 and top 50 wallets, flagged wallets (snipers,
46
+ bundlers, insiders, sandwich traders), how many wallets hold half the supply, and the raw count.
47
+ Splitting a balance across new wallets lowers it.
48
+ 5. Say what helps: real trading, supply spread across real holders, health alerts on, and registering from a
49
+ multisig so a teammate can act. Point to the token manager's **Health** tab.
50
+
51
+ ## If it expired
52
+
53
+ Search shows it as **Inactive**. The original owner has no special claim: whoever registers first, at the
54
+ normal price, keeps it, and the page's details and manager roles are cleared. Tell the owner plainly and
55
+ point them to https://docs.chaindaddy.io/getting-started/import-an-existing-token. Don't register it for them.
56
+
57
+ ## Mistakes to avoid
58
+
59
+ - Suggesting trades with yourself, splitting wallets or other ways to game the score. They are filtered out
60
+ or lower it.
61
+ - Promising support can recover an expired ticker someone else registered. It can't.
62
+ - Reading the score as a rating of the token's quality or safety. It measures activity.
63
+
64
+ ## Docs
65
+
66
+ - https://docs.chaindaddy.io/platform/heartbeat
67
+ - https://docs.chaindaddy.io/alerts/
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: export-a-listing
3
+ description: Prepare a registered token's details for listing and screener sites (CoinGecko, CoinMarketCap, DEX Screener, DEXTools, Birdeye) from its Chain Daddy page, check what is missing first, and explain the public Token List. Read-only; the human submits each form. Use when someone wants their token listed, or asks what a listing site needs.
4
+ license: MIT
5
+ ---
6
+
7
+ # Export a listing
8
+
9
+ A token page already holds what listing sites ask for: name, ticker, description, logo, socials, contract.
10
+ This skill gathers it, flags gaps, and hands the human ready-to-paste fields. Each site decides for itself
11
+ whether to list a token; nothing here guarantees a listing.
12
+
13
+ ## Tools
14
+
15
+ | Need | MCP | HTTP |
16
+ |---|---|---|
17
+ | The page's data | `get_crown` | `GET /api/v2/registration/{id}` |
18
+ | Fields for one site | `generate_listing` (`format`: `coingecko`, `coinmarketcap`, `dexscreener`, `tokenlist`) | - |
19
+ | Every format at once | `export_listing` | - |
20
+ | The public Token List | - | `GET /api/v2/tokenlist?chainId=8453` (no key) |
21
+
22
+ In the browser: the token manager → chain switcher → gear → **Listing Export**, with a guided wizard for
23
+ each site.
24
+
25
+ ## Steps
26
+
27
+ 1. Find the token's crown id (`find-and-check-a-token`) and read its page data.
28
+ 2. Check completeness before generating. Most sites want: name, ticker, contract address, description,
29
+ website, logo (512 px or larger for screener upgrades), and socials. If something is missing, the owner
30
+ adds it in the token manager first; a missing field means an incomplete submission.
31
+ 3. Generate the fields for the site the human picked, and show them ready to copy, with the site's own
32
+ form link.
33
+ 4. Say what each site charges, from the docs page (screener upgrades are paid to those sites; CoinGecko and
34
+ CoinMarketCap are free to apply). Chain Daddy takes nothing.
35
+
36
+ ## The Token List
37
+
38
+ Chain Daddy publishes every active, verified EVM registration in the standard Token List format that
39
+ wallets and exchanges read: `GET https://api.chaindaddy.io/api/v2/tokenlist`. A token is in it when its
40
+ registration is active, its contract is set and its decimals are known. Each entry carries
41
+ `extensions.tokenId` (the crown id) and `extensions.verified`. Solana tokens are not in it.
42
+
43
+ ## Mistakes to avoid
44
+
45
+ - Submitting a form for the human or paying a listing fee. They submit and pay.
46
+ - Promising a listing or a timeline. Each site has its own minimums for volume, holders and liquidity.
47
+ - Generating with gaps instead of flagging them first.
48
+
49
+ ## Docs
50
+
51
+ https://docs.chaindaddy.io/creator-tools/listing-export
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: find-and-check-a-token
3
+ description: Read-only lookups on Chain Daddy - find a token by ticker, name or contract address on every supported chain, tell the verified token from copycats, read who registered it and how they proved ownership, and check its health and holder spread. Use when someone asks "is this the real token", "who owns this ticker", "is this ticker free", "find the token for my game", or needs a token's chain key and crown id. Never buys, sells or signs anything.
4
+ license: MIT
5
+ ---
6
+
7
+ # Find and check a token
8
+
9
+ Everything here is read-only. Nothing in this skill moves money, signs or changes anything.
10
+
11
+ ## Tools
12
+
13
+ | Need | MCP | HTTP (`https://api.chaindaddy.io`) | CLI |
14
+ |---|---|---|---|
15
+ | Search | `search_symbols` (filters), `search_symbol` | `GET /api/v2/search?q=…` | - |
16
+ | One token on one chain | `get_token` | `GET /api/v2/token/{symbol}/{chain}` | `chaindaddy status --symbol S --chain base` |
17
+ | A registration (token page) | `get_crown`, `list_crowns` | `GET /api/v2/registration/{id}` | `chaindaddy status --crown <id>` |
18
+ | Health | `check_heartbeat` | `GET /api/v2/heartbeat/{symbol}/{chain}` (EVM) | `chaindaddy status --wallet <addr>` |
19
+ | Holder spread | `get_holders` | `GET /api/v2/registration/{id}/holders` | - |
20
+ | Verified token list (EVM) | - | `GET /api/v2/tokenlist?chainId=8453` (no key) | - |
21
+
22
+ The remote server at `https://api.chaindaddy.io/mcp` needs no key for its read-only tools. Calls from your own
23
+ code need an API key as `X-API-Key: cd_live_…` (from https://chaindaddy.io/_api); without one the API answers
24
+ `401 api_key_required`.
25
+
26
+ ## Search
27
+
28
+ `GET /api/v2/search?q=PEPE` searches symbols, names, or a contract address across every chain. Useful
29
+ parameters: `chain` (`eth`, `base`, `arbitrum`, `polygon`, `bnb`, `avax`, `robinhood`, `solana`, …),
30
+ `exact=true`, `crownsOnly=true`, `sort` (`relevance`, `market_cap`, `volume`, `liquidity`, `holders`, `age`, …),
31
+ `pageSize` (max 100), and `refresh=true` right after a launch or import.
32
+
33
+ Each result has `type`: `crown` (registered), `token` (exists, not registered) or `available` (no token with
34
+ that symbol on that chain), plus `token` (address, market data, holders) and `crown` (status, `tokenId` = the
35
+ crown id, `owner`, `verificationMethod`).
36
+
37
+ | Status | Meaning |
38
+ |---|---|
39
+ | `available` | No token with this symbol on this chain |
40
+ | `unclaimed` | A token exists; nobody has registered it |
41
+ | `grace_period` | Registered in the last 30 days |
42
+ | `claimed` | Registered: this is the verified token for this ticker on this chain |
43
+ | `inactive` | The registration lapsed; the ticker is open to import again |
44
+
45
+ ## Is this the real token?
46
+
47
+ 1. Search the ticker. Many tokens share a symbol, on one chain and across chains.
48
+ 2. The verified one on a chain is the result with a registration (`hasCrown: true`, status `claimed` or
49
+ `grace_period`). Read `crown.verificationMethod` - how the owner proved control of the contract: its
50
+ owner or admin, its deployer, its mint or update authority (Solana), a launchpad's creator record, an
51
+ ENS record, or holding more than half the supply.
52
+ 3. **Compare the contract address**, never the name or logo. A copycat is a token using the same ticker or
53
+ one a letter or two off; it has its own address. Hand the human the verified address and the page link
54
+ (`shareUrl`, or `https://chaindaddy.io/<symbol>`).
55
+ 4. A registration says who proved control of the contract. It is not an audit, an endorsement or a safety
56
+ rating. Say so.
57
+
58
+ ## Health and holders
59
+
60
+ - Health is 0-100, updated daily: age 50%, trading volume 30% (wash trading filtered), holder spread 20%.
61
+ Below 60 for 30 days in a row, the registration expires and the ticker opens to anyone who can prove
62
+ ownership, first come, first served.
63
+ - `get_holders` reports concentration (top 10/50/100/200 share), how many wallets hold half the supply, and
64
+ counts of wallets flagged as snipers, bundlers, insiders or sandwich traders. Data refreshes daily.
65
+ - Report these as facts with their date. Don't turn them into advice to buy or sell.
66
+
67
+ ## For developers
68
+
69
+ To build on a token you need its **chain key** (e.g. `base`) and **crown id** (`crown.tokenId`). Both come from
70
+ the search result. Opening a store or building a Crown App for it needs the owner's or a manager's wallet.
71
+
72
+ ## Mistakes to avoid
73
+
74
+ - Treating the symbol as unique, or trusting a name or logo. Only the contract address identifies a token.
75
+ - Calling an unregistered or copycat token "fake" or "a scam". Say what the data shows: it is not the
76
+ registered token for that ticker.
77
+ - Reading a cached result right after a launch; pass `refresh=true`.
78
+ - Price predictions, buy or sell advice, or "safe" ratings. Report the numbers.
79
+ - Placing a trade. This skill reads only.
80
+
81
+ ## Docs
82
+
83
+ - https://docs.chaindaddy.io/api-reference/endpoints/search
84
+ - https://docs.chaindaddy.io/token/verification-methods
85
+ - https://docs.chaindaddy.io/platform/heartbeat
86
+ - https://docs.chaindaddy.io/alerts/ (copycat alerts for owners)
@@ -0,0 +1,102 @@
1
+ ---
2
+ name: launch-a-token
3
+ description: Help a human launch a new token with Chain Daddy, or bring one they already made - check the ticker, compare a launchpad pool against a one-time-fee token, explain fees and what is permanent, and prepare the launch. The agent never holds keys and never sends the launch - it prepares, the human signs on chaindaddy.io or runs the final CLI command. Use when someone wants to launch, create, mint or deploy a token, or pick where to launch.
4
+ license: MIT
5
+ ---
6
+
7
+ # Launch a token
8
+
9
+ **The rule: you prepare, the human launches.** A launch is irreversible and costs real money or gas. Never
10
+ ask for a private key or seed phrase, never send a launch, buy or payment with the human's key or session,
11
+ and never call a broadcast endpoint for them. Check, compare, write the config, dry-run it, then hand over
12
+ one clear step for the human to take.
13
+
14
+ ## 1. Check the ticker
15
+
16
+ - MCP: `search_symbols` (or `search_symbol`); HTTP: `GET /api/v2/search?q=<SYMBOL>&exact=true` (send
17
+ `X-API-Key`); CLI: `chaindaddy status --symbol <S> --chain <chain>`.
18
+ - Per chain, the status is `available` (no token), `unclaimed` (a token exists, unregistered), `claimed` /
19
+ `grace_period` (registered to someone), or `inactive` (lapsed). A name taken on one chain can be open on another.
20
+ - Symbol: 1-16 characters; Solana caps at 10.
21
+ - If the human already made the token elsewhere, they **import** it instead: they prove ownership on
22
+ chaindaddy.io (deployer, owner, mint or update authority, launchpad creator, or majority holder) and pay one
23
+ fee, free for established tokens. Guide: https://docs.chaindaddy.io/getting-started/import-an-existing-token
24
+
25
+ ## 2. Pick what creates the token
26
+
27
+ | | Launchpad pool | One-time fee |
28
+ |---|---|---|
29
+ | What it creates | The token and its trading pool, liquidity locked | A plain ERC-20 (SPL on Solana), no pool |
30
+ | Up front | Nothing (network fee aside) | A flat fee per chain, token page included (10% off on two or more chains) |
31
+ | Chain Daddy's share | Part of the pool's trading fee, set by the creator's plan **at launch** and fixed for that token | None |
32
+ | Store fee on items later | 0% | 2.5% |
33
+ | Where | https://chaindaddy.io/_launch | chaindaddy.io → **Launch New Token** → **Add to Cart** |
34
+
35
+ Show prices from the live source, not from memory: `get_pricing` / `chaindaddy estimate --symbol S --chains
36
+ base,arbitrum` for the one-time fee; `GET /api/v2/factory/evm/launchpad/capabilities?chainId=<id>` for what a
37
+ launchpad chain can run (read it each time; values change).
38
+
39
+ The launch form can also launch on launchpads Chain Daddy doesn't run, and the token page is still free:
40
+ `list_launch_venues` / `GET /api/v2/launch/venues`. For each venue show **both** numbers per $100 traded -
41
+ what traders pay (`traderFeeBps`) and what reaches the creator (`creatorBps`) - in the order returned. Don't
42
+ call any venue best: a venue can pay the creator more by charging traders more.
43
+
44
+ ## 3. Say what is permanent
45
+
46
+ - Symbol, total supply and decimals can never change. Token settings can be switched off later, never on.
47
+ Renouncing ownership can't be undone.
48
+ - On a launchpad pool, the fee split is fixed when the pool is created. A plan bought later applies to the
49
+ next launch.
50
+ - None of a launchpad token's supply goes to the creator unless they keep a vested team allocation or buy
51
+ at launch.
52
+
53
+ Get an explicit yes from the human on each before they launch.
54
+
55
+ ## 4. Prepare, then hand over
56
+
57
+ **Easiest, any human:** send them to https://chaindaddy.io/_launch (pool) or the **Launch New Token** flow
58
+ (one-time fee) with the choices written out. They sign in, review and confirm in their own wallet.
59
+
60
+ **From the terminal** (`npm i -g @chaindaddy/cli@beta`):
61
+ - Pool: write the request JSON (fields in https://docs.chaindaddy.io/api-reference/endpoints/launchpad-api),
62
+ then `chaindaddy launchpad launch --config launch.json --dry-run --rpc <url>` to build and simulate only.
63
+ The human approves in their own wallet: `chaindaddy launchpad login start --address <wallet> --signer <s>`,
64
+ where `<s>` is `walletconnect` (a QR code for any phone or desktop wallet), `browser` (a chaindaddy.io page,
65
+ the only option for email/Google/Apple/X sign-in wallets), `ledger`, `trezor`, `keystore`, or `external`
66
+ (prints what to sign; finish with `--sig`). Then they run the same command **without** `--dry-run`. A Safe:
67
+ `--safe <addr> --rpc <url>` writes an approveHash plan the owners sign.
68
+ Run non-interactively, a command waiting on a signature prints one JSON line, `{"sign_request": {...}}`, with
69
+ a URL or WalletConnect URI and a match code. Show it to the human and wait; never try to sign it yourself.
70
+ - One-time fee: `chaindaddy create --symbol S --name "N" --chains base --supply 1000000000 --dry-run`; the
71
+ human runs it without `--dry-run`. It asks for their wallet and confirms the fee.
72
+ - Another launchpad: `build_venue_launch` returns an **unsigned** transaction. The human's own wallet signs
73
+ and sends `transactions[0]`; then `submit_venue_launch` with the hash, and poll `get_venue_launch` until
74
+ `confirmed` (token page free) or `failed` (`failureReason`).
75
+
76
+ Rehearse on testnet first when the human wants to: Base Sepolia (`chainId` 84532) against
77
+ `https://staging-api.chaindaddy.io`.
78
+
79
+ ## 5. After the launch
80
+
81
+ - The token page: a launchpad launch registers it for free (the server may do it; check
82
+ `GET /api/v2/factory/evm/launchpad/registration?chainId=&token=`). A one-time-fee token is registered with
83
+ the order. Then set up the page in the token manager: description, image, links, socials.
84
+ - A one-time-fee token isn't tradable until the creator adds liquidity.
85
+ - Launchpad trading fees build up in the pool. The creator claims them from **My Tokens**
86
+ (https://chaindaddy.io/_tokens), paying the network fee. Nothing is claimed automatically.
87
+ - Keep it healthy: below 60 for 30 days in a row and the registration expires (`check-token-health`).
88
+ - Next: `add-crypto-to-your-game` to sell items for it.
89
+
90
+ ## Mistakes to avoid
91
+
92
+ - Sending the launch, a dev-buy or a fee claim yourself, even when an API key would let you. Hand it over.
93
+ - Quoting fees, prices or chain support from memory instead of the live endpoints above.
94
+ - Calling a token "an investment", promising returns, or predicting price.
95
+ - Quoting a launch on several chains without each chain's own fee and network fee.
96
+ - Forgetting the one-way doors in step 3.
97
+
98
+ ## Docs
99
+
100
+ - https://docs.chaindaddy.io/launchpad
101
+ - https://docs.chaindaddy.io/getting-started/create-a-token
102
+ - https://docs.chaindaddy.io/api-reference/cli#launchpad