/deploy flow (create → success → deployments).One /deploy page: Token by default; an inline toggle expands the optional tokenized agent section. Each region maps to components in the design system — class names in mono are the tags (creation components are in §13–§15). This is the canonical region reference the handoff home §05 points to.
The creation flow renders from independent axes (see the handoff home for where they come from in production). What each changes:
| Axis · value | What changes on the page |
|---|---|
| wallet = connected | Wallet pill + account dropdown. Admin + first reward recipient auto-prefill from the address. Every CTA = “Clank” (or “Clank + Agent”). |
| wallet = disconnected | Every CTA (nav / submit / rail / mobile launch bar) becomes Connect Wallet; the rail reads “Connect a wallet to deploy — identity is your address”; admin + first-recipient prefill cleared. |
| agent = off | Default. Token-only form; the Agent section + preview sub-card + ToC item are hidden; CTA = “Clank”. |
| agent = on | Agent section expands inline (+ preview agent card + ToC item); CTA → “Clank + Agent”; deploy routes to the dual receipt. Only selectable on Base. |
| chain = Base … Monad | Re-derives pair token, reward-type chips, sniper default, starting-mcap default, agent availability (Base only), preclank availability (Base + Monad), and the chain-info strip. Only overwrites values the user hasn't diverged. |
| fee = static / dynamic | Dynamic dims the fee-tier chips (fixed 3%). |
| pool = recommended / legacy | Recommended locks the starting mcap (read-only); Legacy makes it editable. |
| add-ons (×4) | Each of vault / buy / airdrop / preclank: off / on-valid / on-invalid / n-a (preclank on an unsupported chain). Airdrop sub-states: CSV (0 / N+total / N errors) vs mutuals vs following. |
| theme = light / dark | Full Velvet Ultraviolet palette swap; drives every page in the journey. Persisted. |
Every interaction that must exist. In the prototype these are wired as vanilla JS (MFLOW field engine + the window.CREATE add-on registry); treat them as the behaviour spec.
| Where | Trigger → result | Tag |
|---|---|---|
| Chain chips | Pick a chain → re-derives pair/reward chips, sniper + mcap defaults, agent + preclank availability, the chain-info strip. “More” reveals the extra 4 chains. Only overwrites values the user hasn't diverged from the chain default. | 🔒 |
| Agent toggle | On → expands the Agent section, adds its preview card + ToC item, CTA → “Clank + Agent”. On a non-Base chain it's disabled (toast). Off → collapses; hidden fields are skipped by validation. | 🔒 |
| Field validation | Live on input + blur: inline red error + a char counter (MFLOW). Prefix fields ($/@) keep the input borderless — the error chrome lives on the row. Symbol upper-cases + strips $; addresses shorten to 0x…abcd. | 🔒 |
| Image dropzone | Click / drag-drop → validates JPEG/PNG ≤1MB (else toast) → renders a real thumbnail on the field + the preview avatar. Remove restores idle. | 🔒 |
| Fee / pool modes | Dynamic dims the tier chips; Legacy unlocks the starting-mcap field (Recommended re-locks it to the chain default). | 🔒 |
| Reward builder | Add / remove recipient rows (≤7); each row = 0x address + %. Live allocation indicator; the deploy is hard-blocked unless it totals exactly 100% (strict integer check). | 🔒 🔧 |
| Inference model | venice.ai (Llama 3.3 70B) selected; OpenRouter chip is .dim (hover tooltip “coming soon”, not selectable). The choice is recorded → shown on the agent receipt. | 🔒 shape · 🔧 wire |
| Add-on modules | Each registers via window.CREATE.register() and owns its own record/preview/validation: vault (%/quick-sets, 7-day-min lockup enforced, vesting), creator buy (ETH + first-swap estimate), airdrop (paste CSV → live per-line parse w/ counts + errors, or mutuals/following), preclank (keyword; chain-gated Base+Monad). | 🔒 🔧 |
| Wallet connect | Connect → connected state across every page (walletline + Disconnect); admin + first recipient prefill. Mirrors the account dropdown's connect state. Persisted to 12118-states / clanker_auth. | 🔧 real Privy |
| ToC | Click a section → smooth-scroll; scrollspy marks the active row; hover expands the compact rail (Grow); on mobile the collapsed dots ride the sticky title → tap opens a left drawer. | 🔒 |
| Deploy (Clank) | Connect gate → validate in DOM order, skipping hidden sections → first-invalid scroll+focus+toast → allocation≠100 block → agent-on-no-platform block → (mobile) pre-deploy review sheet → “Deploying…/Deploying token + agent…” → “✓ Deployed” → navigate to the matching success page. Writes the launch record first. | 🔒 🔧 |
| Theme toggle · copy · account menu | ☀/☾ (and the dropdown item) flips light↔dark, persists. Address copy → clipboard + toast. Account dropdown: Wallets (copy) · Social · Navigate · Tools · Settings · Disconnect; outside-click / Esc closes. | 🔒 🌐 |
| Deployments filters | All / Tokens / Tokenized-agents filter the groups; counts recompute from the DOM; a just-launched record prepends to the matching group (“just now” for 1h). | 🔒 🔧 |
The inverse of the token-detail's fill: where that page goes JSON → DOM, the creation page goes form input → a window.TOKEN-shaped preview → the launch record (localStorage['12118-launch']) → the success + deployments pages (textContent-only, XSS-safe). This is the field map — and what's real vs mock in the prototype (all “mock” = 🔧 wire to real).
| Field | Drives | Prototype source |
|---|---|---|
| image | Preview avatar + (real) token image | Real (client-side object URL) |
| name, symbol, chain | Identity, preview, receipt, deployments row | Real (form input) |
| description, website, tg/x/fc | Metadata + social attachments | Real input; social linking Adapt |
| feetype, feetier, snipertax | Fee chips + receipt fee line | Real input |
| recipients[] {addr, pct}, rewardtoken | Reward builder + “N recipients” on the receipt | Real input; allocation gated =100% |
| pooltype, pair, mcap, supply | Pool section + receipt; chain-derived defaults | Real input (defaults per chain) |
| agent {name, voice, model, mode, platforms, funding} | Agent section + dual receipt + deployments agent block | Real input; runway estimate mock; model → 🔧 wire (venice.ai / OpenRouter) |
| addons {vault, buy, airdrop, preclank} | Add-on preview rows + receipt/deployments chips | Real input; on-chain effect Adapt |
| wallet identity | Connect state, admin/recipient prefill | Mock → 🔧 wire Privy + the 12118-states / clanker_auth keys |
| contract, tx, block, pool status | Receipt confirmation rows | Mock → 🔧 the real chain deploy |
| deployments fixtures | The two demo rows (Privashh, Moltbook) | Mock (illustrative); the prepended just-launched row is record-driven |
These are intentional — documented so you don't mistake them for bugs (the “Out of scope this pass” set). All resolve when you wire real data / your stack. The page is otherwise robust: 0 non-benign console errors across the representative state matrix × light/dark × desktop/mobile.
The token-detail page's robustness-audit methodology (component-by-component sweep for hardcoded values that should be state/record-driven — 54 findings there) was applied to this surface: every per-chain / per-wallet / per-token surface derives from state or the launch record, not a literal. What remains above is the deliberately-deferred, wire-to-real-data set.