尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Frontend for Cons, a Solana native routing layer for cross chain tokens and messages. It is a static Vite site (vanilla JS, no framework) and deploys to Vercel as is.
| Page | Source | What it is |
|---|---|---|
/ | index.html, src/landing/ | Landing page |
/app.html | app.html, src/app/ | Token routing, message routing, activity, receipts, providers |
/docs/ | content/docs/ → scripts/build-docs.mjs | Docs, generated at build time |
Every deployment value lives in src/config/cons.js, fed by PUBLIC_* env vars
(see .env.example). Components never hardcode an address or endpoint.
| Variable | Effect when set | When empty |
|---|---|---|
PUBLIC_SOLANA_NETWORK | mainnet-beta, devnet or testnet | mainnet-beta |
PUBLIC_CONS_PROGRAM_ID | Program shown as configured in the app | "Program not deployed", submit disabled |
PUBLIC_CONS_TOKEN_MINT | Landing Token CA shows the mint and copy works | "Coming Soon", copy inert |
PUBLIC_CONS_API_URL | App reads the Cons API (/v1/quote, /v1/providers, ...) | Labeled preview data from src/data/preview.js |
PUBLIC_SOLANA_RPC_URL | Custom RPC | Public cluster RPC |
PUBLIC_CONS_DOCS_URL | Docs links point there | /docs/ |
PUBLIC_CONS_GITHUB_URL | GitHub link appears | GitHub link hidden |
PUBLIC_SOLANA_EXPLORER_URL | Explorer base | https://explorer.solana.com |
Invalid base58 addresses are ignored, so a typo falls back to the unconfigured state. All values are public. Never put a private key or signing secret in the env.
src/services/routing.js: chains, tokens, providers, quotes, request lookup. API when configured, preview otherwise.src/services/program.js: where a route becomes a Solana transaction. Not implemented until the program ships; steps are in the file header.src/services/wallet.js: injected Solana wallet connect, public key only. No signing.src/data/preview.js: illustrative data (Provider A to E, sample requests with no real signatures).npm install
npm run dev # docs + Vite dev server
npm run build # docs + static build into dist/
npm test # config, validation and ranking tests
npm run audit # copy rules and leftover check
Ported from a reference frontend: its neutral grey scale, warm champagne accent
(#e8c289 / #ab8f64), Basier Circle and Geist Mono type, framed page rails, bordered two
column panels, two tone headlines and fade up blur reveals on its light surfaces,
with the announcement bar, Solana band and footer kept dark as in the reference.
All motion pauses offscreen and respects prefers-reduced-motion.