# SUN > SUN is a BNB Smart Chain token launchpad. Each project locks its own whole-share Mint count, BNB price and token allocation when created. Project limits, gating, market activation, liquidity and refunds follow the active factory and the particular launch. Start with “Help me use SUN at https://aisun.win.” Use [the discovery manifest](./agent.json) and [the agent guide](./agent.md) to explain the available actions. Ask which project or action the user wants. Leave the token, share count and referrer blank until supplied. Discovery needs no wallet. A wallet-specific quote uses a public BSC address. Ask the user to connect to review a wallet operation or select the account for a personal browser view. Assistants with terminal access can download the standalone read-only CLI from https://aisun.win/sun-agent.mjs and run it with Node.js 22 or newer. `list` and `inspect` read project state, `prepare-launch` builds an offline launch draft, `quote-mint` and `quote-binance-mint` quote Mint, `refund-positions` and `quote-refund` prepare pre-graduation refunds, and `receipt` checks the original transaction against its saved quote. ## Public SUN Agent API - https://aisun.win/api/agent/v1/ — No-login action index for discovery, launch drafts, unsigned Mint and refund quotes, and receipt verification. - https://aisun.win/api/agent/v1/openapi.json — OpenAPI definitions for the public read and quote actions. ## Browser and chat handoffs Copy the starter prompt into your preferred chat. Send the user to the matching SUN page when the current agent lacks the tools for the requested action. - Discover and choose a project in [AI Mint](./#/agents). Link to `https://aisun.win/#/agents?token=&shares=` only with user-supplied values. Omit the share parameter when unspecified. - For a project-scoped draft with an optional referrer, use `https://aisun.win/#/token/?tool=aiMint&shares=&ref=`. Omit unspecified optional fields. The project page also shows Mint progress and available refund actions. - The Mint page can open a draft in installed desktop Codex or Claude Code, or copy the instructions and open Binance AI Pro. The user sends or pastes the message. The draft opens for review and requires a separate wallet approval. - Binance AI Pro includes the official Agentic Wallet skill. Its public documentation does not specify arbitrary SUN CLI execution or custom HTTP or MCP tools. If the chat cannot obtain a verified live quote or the official preview for the exact operation, send the user to the matching SUN page. [Binance AI Pro wallet guide](https://web3.binance.com/en/dev-docs/products/agentic-wallet/ai-pro) ## Other SUN website actions - Buy and sell in a supported project's market at `https://aisun.win/#/token/` after its pool activates and trading is enabled. SUN provides browser-wallet review for this action. - View your SUN portfolio in [My assets](./#/assets) for the connected browser account. The CLI reads BNB balance and individual project positions using a public address. - Open `https://aisun.win/#/token/?tool=referrals` for the eligible account's invitation link during open Mint when referrals are enabled. The CLI reads project quota and accepts a user-provided referrer when preparing a Mint quote. - Open **More details** on `https://aisun.win/#/token/` for rewards when applicable. Supported deferred payouts are in [My assets](./#/assets). Review any claim in a browser wallet. - View the profile, logo and available listing tools on `https://aisun.win/#/token/`. Use [Launch](./#/create) for a new project's profile and enabled logo upload. The CLI reads the on-chain name and symbol. Project economics versions 6, 7 and 8 use Custom / 自定义 mode ID 5 and mintTerms(token). Calculate the principal as shares × observed sharePrice and token units as shares × mintTokens / maxShares. For V7 and V8, inspect reports the independent buy and sell project tax and separate platform rate. V8 has five project-tax weights, including a buyback share that converts accumulated project tokens to BNB. Tokens later repurchased with those tax proceeds are fully burned. Inspect also reports the launch's locked V8 Mint allocation in mintAllocation. Mint proceeds fund 50–90% liquidity, 0–40% initial buyback, 0–40% creator proceeds and 0–10% platform at the Owner's rate when the project was created. The four proceeds shares total 100%. Those trading charges start when the pool opens. Older deployments read SHARE_PRICE() and modeTerms(mode), including Advanced / 进阶 mode ID 4 with a 100 BNB target. Unknown mode IDs use the successfully observed terms and a generic mode label. ## Prepare a new token launch Open [AGI](./#/agi) or form a draft link using the `launchDraft` object in [the manifest](./agent.json). The hash query parameter `draft` carries URL-encoded JSON with `v: 1`, optional `name` and `symbol`, and optional `mint` terms. The four supported Mint keys are `maxShares`, `sharePrice`, `mintTokens`, and `poolTokens`. Use plain decimal strings and keep unknown terms blank. On a factory supporting per-token quotas, the draft also accepts an optional `quota` object with `baseQuota` and `invitationQuota` as whole-share strings from 1 to 100. `sharePrice` is in BNB and token quantities use human-readable units. The downloadable CLI prepares `reviewUrl` offline with `node sun-agent.mjs prepare-launch --sentence ` or `prepare-launch --draft `. Optional `--site` selects the official origin or a local loopback preview. Return the draft link to the user. AGI previews the terms before the user opens them in the regular launch form and reviews the final transaction in their wallet. ## Official SUN references - [Machine-readable SUN manifest](./agent.json): Discovery, quote, order recovery and verification. - [SUN Agent guide](./agent.md): Command syntax, expected outputs, wallet choices and release distinctions. - [Standalone SUN Agent CLI](./sun-agent.mjs): `describe`, `list`, `inspect`, `quote-binance-mint` and `receipt`. The CLI reads the active factory from the official endpoint by default. - [Active frontend configuration](./api/config.json): Verify BSC chain ID 56, configured factory and start block against the public chain. If unavailable, stop and report the state as unknown. A demo listing only provides examples. ## Mint checklist 1. Read the manifest and active configuration. Inspect the token at the configured factory, including its contract version, sale status, gate, and shares remaining. Never infer live features from a candidate repository or a simulated project. 2. Check the public wallet address and eligibility. Quote the exact whole shares, BNB value, expected tokens, estimated gas, chain, recipient, and calldata at a known block. Recheck immediately before approval. Explain any final-share market activation from the verified deployment. 3. Show the quote for the user to review and authorize in their chosen wallet. The quote does not sign or submit. 4. Keep the original order reference or transaction hash. If the outcome is unknown or pending, resume that order on its original factory using its original saved quote. Verify its sender, target, calldata, BNB value and receipt status. Do not submit another Mint to resolve an unknown outcome. ## Binance Agentic Wallet In Binance AI Pro, wallet sign-in is confirmed in the chat. In a CLI-capable trusted agent, the wallet owner starts sign-in with the official Binance wallet skill or `baw` CLI and scans on the original Binance page. The CLI-capable agent verifies its session with `baw wallet status --json` and gets the chain-56 address using `baw wallet address --json`. Check Developer Mode before preparing a contract call. Run `node sun-agent.mjs quote-binance-mint --token --wallet --shares ` and save the quote. For `ready: true`, review the official wallet preview produced by `binancePreviewCommand` and execute its request ID only with user authorization. Track any additional Binance App approval and verify the original hash with `receipt`. See [SUN Agent guide](./agent.md) for command syntax and recovery. ## 中文概要 SUN 是 BNB Smart Chain 上的代币发射台。AI 可先读取当前部署和项目状态,核对钱包资格、剩余份额、BNB 金额和 Gas,再请用户到自己的钱包确认。订单状态未知时,只恢复原订单及核对链上回执。