<!-- TokenOS docs · Building apps · Markdown mirror of https://tokenos.ai/docs/go-live · HTML: https://tokenos.ai/docs/go-live · index: https://tokenos.ai/llms.txt -->

# Go Live — from prompt to mainnet, step by step

Every step to take a generated app from an idea to a live product on mainnet with your own domain. Follow them in order; none is optional unless marked.

> **Tip — The complete checklist**
> 1. Build the app with
>   **Live Web3 Config**
>   (not demo)
> 2. Test everything on a
>   **testnet**
>   with free test funds
> 3. Deploy the contract to
>   **mainnet**
>   (wallet-signed)
> 4. (Optional) Launch your token on
>   **Pump.fun**
>   or
>   **pons**
> 5. Host the app: one-click
>   **TokenOS URL**
>   or your own
>   **Vercel / Netlify**
> 6. Point your
>   **custom domain**
>   at it

### Step 1 — Build with Live Web3 Config

1. **Build** — Go to /build, connect your wallet, write the prompt and press Build.
2. **Do not skip the modal** — The “⛓️ Live Web3 Config” modal appears. Pick Chain (Solana or EVM — Base / Robinhood Chain) and Network (devnet / testnet first).
3. **Wallets** — Admin wallet = who controls admin pages (usually you). Payments wallet = where in-app payments land. Creator share defaults to 5%.
4. **Token (optional)** — Launch a project token on Pump.fun right here (Solana) or paste an existing mint / address.
5. **Click “⚡ Build with Live Web3”** — The app is generated with real wallet connect, balances, prices and transaction handlers.

### Step 2 — Practice on testnet (free)

1. **Open Deploy Contract** — Toolbar → Deploy Contract. Pick Sepolia, Base Sepolia, Arbitrum Sepolia, Robinhood Chain Testnet or Solana Devnet and use the faucet links.
2. **Compile and sign** — Compile, then Deploy via MetaMask (EVM) or follow the CLI steps (Solana).
3. **Verify** — The address is wired into your app config. Refresh the preview and click every button; fix anything with the Update chat before mainnet.

### Step 3 — Deploy to mainnet (real funds)

1. **Pick a mainnet** — Ethereum, Base, Arbitrum One, Robinhood Chain (4663) or Solana Mainnet.
2. **Confirm the cost** — Tick the real-funds checkbox. Base / Arbitrum: cents to a few dollars; Ethereum: more; Solana programs: ≈ 1.5 – 3 SOL rent.
3. **Deploy and rebuild** — Your wallet signs. Then set Live Web3 Config to mainnet and rebuild once so RPC endpoints follow.

### Step 4 — (Optional) Launch your token

Toolbar → **Launch Token**. Choose Solana (Pump.fun) or Robinhood Chain (pons), fill in the details, accept the issuer notice and approve one transaction. Mint / token address and links are saved under **My Tokens**.

### Step 5 — Host your app

| Option | How | Custom domain |
| --- | --- | --- |
| A · Publish on TokenOS | One click → permanent URL like `tokenos.ai/api/apps/your-app-1a2b/`. Free, republish any time (`POST /api/golive/publish/{project_id}`). | No |
| B · Vercel or Netlify (your account) | Create a free account, generate one access token (the wizard links the exact page), paste it, click Deploy. The built app is pushed to *your* account (`POST /api/golive/deploy-static`, provider `vercel` \| `netlify`). | Yes |
| C · Download & self-host | Toolbar → Download Project; run it anywhere with npm. | Yes |

### Step 6 — Point your domain (DNS)

After option B, add the domain in the host's dashboard, then add these records where you bought the domain:

| Host | Type | Name | Value |
| --- | --- | --- | --- |
| Vercel | A | @ | `76.76.21.21` |
| Vercel | CNAME | www | `cname.vercel-dns.com` |
| Netlify | A | @ | `75.2.60.5` |
| Netlify | CNAME | www | `YOUR-SITE.netlify.app` |

- DNS takes 5 minutes to 48 hours to propagate (usually under an hour). Track it at [dnschecker.org](https://dnschecker.org).
- HTTPS certificates are issued automatically by Vercel / Netlify once DNS resolves.
- Using Cloudflare? Set the new records to “DNS only” (grey cloud) until the certificate is issued.

### Launch Checklist

The sidebar checklist in Go Live reads `GET /api/golive/checklist/{project_id}`:

```json
{ "project_id": "…", "live_config": true, "testnet_deployed": true, "mainnet_deployed": false, "hosted": true, "hosted_url": "https://tokenos.ai/api/apps/your-app-1a2b/" }
```

### Local development

```bash
unzip your-project.zip && cd your-project
npm install
npm start            # http://localhost:3000
npm run build        # static bundle for any host
npx vercel --prod    # or drag the build folder into Netlify
```

### Endpoints

- **POST** `/api/golive/publish/{project_id}` · Wallet signature
  Publish (or republish) the project to a TokenOS-hosted slug.

- **POST** `/api/golive/deploy-static` · Wallet signature
  Deploy to Vercel or Netlify with the user's own access token; returns the live URL and a domain-settings hint.

- **GET** `/api/golive/published/{wallet}` · Public
  Apps a wallet has published.

- **GET** `/api/apps/{slug}` · Public
  Serves a published app (not sandboxed — this is your reviewed product).

### Troubleshooting

- **“UI demo build — rebuild with Live Web3 config”** — you skipped the modal. Rebuild and click “⚡ Build with Live Web3”.
- **Prices / balances show but actions fail** — the contract is not deployed, or was deployed on a different network than the config. Match them.
- **Deployed to mainnet but the app still calls testnet** — rebuild with the config set to mainnet; the network is baked at build time.
- **Vercel / Netlify token rejected** — tokens are shown once at creation; generate a fresh one and paste it immediately.
- **Domain shows an error after DNS** — wait for propagation, check the records match exactly (“@” = bare domain) and that the domain was added inside the host's dashboard too.
- **Where is my mint address?** — IDE top bar → My Tokens, or Dashboard → Launched Tokens.

#### Still stuck?

Open a ticket with our support team and we'll get you unblocked.

[Open a ticket](https://tokenos.zendesk.com/hc/en-us)

---

*Building apps · TokenOS documentation. Canonical page: https://tokenos.ai/docs/go-live. All docs as Markdown: https://tokenos.ai/llms.txt. Payments on TokenOS are for metered usage only; nothing on this page is investment advice or a promise of income.*
