Inscription-first launchpad for NFTs and tokens, split out of the iq6900 site. Every NFT and every token here starts as an inscription: the file itself written to the chain. No IPFS, no server, no takedown.
This repo is the new site. iq6900.com / iqlabs.dev keep the inscription board (Code In / HOOD IN) and link here for launching; this site links back to the board. The two repos share NO code: all site code here is written fresh under the rules in CLAUDE.md, and every chain read/write goes through the published SDKs (imported, never copied). iq6900 is a behavioral reference only.
The whole site is one page shell (ported from design/Home v5 Dark.dc.html) with three views routed by ?view=:
flowchart LR
subgraph IC["inscribe.codes"]
HOME["HOME ?view=home<br/>hero + RECENT ticker<br/>two doors + top 3 x 2"]
NFT["NFT ?view=nft<br/>collections / market / my nfts<br/>item viewer / listing"]
WIZ["launch_collection.exe<br/>4-step wizard<br/>+ art helper (generate / handcraft / folder)"]
TOK["TOKEN ?view=token<br/>markets.exe cards + chart modal<br/>Solana and Robinhood halves"]
LAY["launch-a-token layer<br/>step 1: text / ascii / image / file<br/>or MY INSCRIPTIONS picker<br/>step 2: name it, launch"]
HOME -->|Make an NFT| NFT
NFT -->|Launch a collection| WIZ
HOME -->|Launch a token| TOK
TOK -->|Launch a token| LAY
end
IQ["iqlabs.dev<br/>board.exe (global feed)<br/>code-in / hood-in viewer"]
IQ -->|LAUNCH A TOKEN / VIEW IN MARKETS / MINT buttons| IC
LAY -->|VIEW ON IQ BOARD| IQ
NFT -->|inscription recovery links| IQ
flowchart TB
subgraph SITE["inscribe.codes (static, vanilla ESM + importmap, Firebase hosting)"]
HOMEV[home shell]
NFTV[nft pages]
TOKV[token board]
CHAIN["src/chain<br/>wallets, burner (fund/sweep),<br/>rpc, launch adapters"]
SVC["src/services<br/>nft backend, gateway,<br/>market data clients"]
HOMEV --> CHAIN
NFTV --> CHAIN
TOKV --> CHAIN
HOMEV --> SVC
NFTV --> SVC
TOKV --> SVC
end
CHAIN --> SSDK["solana-sdk (importmap, pin 0.3.7+)<br/>writer.codeIn / writeRow, reader.*"]
CHAIN --> ESDK["ethereum-sdk (importmap)<br/>writer.codeIn / writeRowWithInventory, reader.*"]
SVC --> NFTBE["nft.iqlabs.dev backend<br/>reserve / mint / creator stage+deploy"]
SVC --> GW["gateway.iqlabs.dev<br/>img, token-meta, table rows, user assets"]
CHAIN --> PP["PumpPortal -> pump.fun"]
CHAIN --> PONS["Pons factory (Robinhood)"]
SSDK --> SOL[(Solana)]
ESDK --> RH[(Robinhood chain)]
Shared state that crosses the two sites:
- The burner keypair is derived from one fixed wallet
signMessagestring. That string MUST stay byte-identical with iqlabs.dev so a user has ONE burner everywhere (inventory shows up in MY INSCRIPTIONS, and the ~0.05 SOL account init rent is never paid twice). localStoragecheckpoints do NOT cross origins: an in-progress deploy started on iqlabs.dev cannot resume here. Launch flows move here wholesale, so this only matters during the cutover.
index.html single entry: importmap (SDK pins), fonts, ?view= router mount
src/
main.js router + page shell, nothing else
views/ route-level controllers only (one per screen)
home.js
token/ board, markets, chart modal, launch layer
nft/ launchpad desk, collection page, viewer, single mint, studio wizard (art helper)
chain/ everything that signs or derives keys
wallets.js Wallet Standard discovery + adapter
burner.js derivation (message string identical to iqlabs.dev), fund, sweep
rpc.js endpoints per chain, setRpcUrl pool wiring
launch/ pumpfun.js, pons.js (external launch services)
services/ plain HTTP clients, no chain code
nft-backend.js nft.iqlabs.dev (same-origin /__nft proxy when served from localhost)
gateway.js gateway.iqlabs.dev
markets.js dexscreener / geckoterminal
ui/ shared presentational pieces (window chrome, modal, progress, ticker)
styles/
public/ fonts, img, favicon (static bytes only)
tests/ node test harness, mirrors src/
scripts/dev.mjs local static server + NFT backend proxy (no deps)
design/ design export, reference only
Reasons, so the shape is defendable and not incidental:
- No build step. Both SDKs ship browser-ready ESM on jsdelivr and the importmap path has run in production on iq6900 for over a year. A bundler would add a toolchain whose main benefits (tree-shaking, transpilation) this small site does not use; shipped source stays byte-identical to the repo, which makes production debugging trivial. If a real need for a bundler appears, that is a design conversation first (CLAUDE.md rule 5).
- views / chain / services / ui is a responsibility split, not a file-count split.
chain/is the only place allowed to touch keys or SDK writers;services/is the only place allowed to fetch our backends;views/orchestrates and renders. A bug class maps to one directory. - No
utils/. A helper lives next to its only caller until a second caller exists. Dumping grounds are where duplicate-purpose functions breed (CLAUDE.md rule 2).
Coding rules, including the SDK high-level-only policy, live in CLAUDE.md and are binding.
| Phase | Work | Notes |
|---|---|---|
| 0 | DONE: scaffold, ?view= routing, design tokens, chain/services layers |
design export under design/ |
| 1 | DONE: home with live data (hero, recent, doors, both top-3 panels) | verified headless against live services |
| 2 | DONE: token side, both chains (markets + chart modal + launch layer: text / ascii / image / file / MY INSCRIPTIONS, pump.fun and Pons launches, token registry row) | engines are faithful ports of the proven iq6900 flows |
| 3 | DONE: NFT side, re-ported 1:1 from NFT Launchpad Flow v5 + Art Helper v5 (desk with collections / market / my nfts + activity column, collection page with sealed/minted grid and the inline mint states, 3-column asset viewer with the from-chain recovery proof, single 1/1 mint, 8-screen launch wizard: choice, details, items via generate / hand-craft / folder, check, mint settings, deploy, progress, live) |
engines are faithful ports of the proven iq6900 flows; every screen rendered headless, console clean |
| 4 | REMAINING: hosting (Cloudflare Pages or Firebase; firebase.json is ready) + inscribe.codes domain (owner), backend CORS additions (CORS_ORIGIN on nft.iqlabs.dev + gateway), then a real-wallet pass over the mint/launch flows |
local dev goes through scripts/dev.mjs, which proxies the NFT backend |
| 5 | Launch, then the iq6900 cleanup below | redirects first, removals after |
node scripts/dev.mjs # http://localhost:8099, proxies nft.iqlabs.dev at /__nft (its CORS allowlist has no localhost)
| Area on the main site | Action |
|---|---|
?menu=nft, ?menu=nft-create routes |
Redirect to inscribe.codes (links are already in the wild and inside on-chain metadata) |
| THE STACK: IQ NFT card | Point to inscribe.codes |
| Code-in viewer: MAKE IT A TOKEN | Replace the in-page launcher with a link to ?view=token; then remove token_launch.js |
| Code-in viewer: MINT AS NFT (single) | Becomes a link to the NFT side here |
| HOOD IN: pons launcher | Replace with a link; then remove pons_launch.js |
| markets.exe | Moves here; the board keeps a VIEW IN MARKETS link |
NFT modules (nft_*.js, launch pages, studio) |
Remove from iq6900 once redirects are live |
| Keeps on iqlabs.dev | Code In board, HOOD IN board, inscription viewer, ascii maker, about/tokenomics, the inscribe engine for board posts (burner derivation untouched) |
| Backend | Add https://inscribe.codes to nft backend + gateway CORS; keep the iqlabs origins |
design/ is the export of the Claude Design canvas "Inscribe.codes 토큰 런치 마이그레이션". Home v5 Dark.dc.html is the single source of truth: it embeds NFT Launchpad Flow v5 and Board v5 and links the rest; every other file is an older iteration kept for reference. See design/HANDOFF.md for the v5 design language (colors, fonts, window chrome, typewriter rules).
Known export gap: Home v5 Dark links Launch Menu Merge v4.dc.html, which is not in the export; the latest exported wizard is v3.
- No shared package with iq6900, and no copying its modules either (2026-11-09, supersedes the earlier copy plan). The published SDKs are the only shared dependency; site code here is written fresh under
CLAUDE.md. - All chain access through SDK high-level flows. Needing a low-level SDK surface is treated as a finding to report to the owner, not something to build around.
- The design export under
design/is visual reference only, not a code spec. - Pin solana-sdk 0.3.7+ here (iq6900 still pins 0.3.6; 0.3.7 carries the writer-chunk filter fix).
- Burner derivation string identical across both sites, forever.