個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證salmonwallet.io site code
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Public website for Salmon Wallet: an open-source, self-custodial wallet experience focused on Solana and emerging ecosystem integrations.
This repository contains the landing page, localized public pages, app download links, and the staking page for Salmon's Solana validator. Keep public claims grounded in what the code and current product can verify.
salmonwallet.io@tailwindcss/postcssUse Node.js 20.19 or newer and npm. package-lock.json is the canonical lockfile and must be kept in sync with dependency changes.
npm install
npm run dev
The development server starts with Turbopack. Open http://localhost:3000.
npm run dev
npm run build
npm run start
npm test
dev starts the local Next.js development server.build creates a production build and runs TypeScript checks.start serves the production build after npm run build.test verifies Markdown negotiation helpers, recovery content, OpenAPI, and the CLI./llms.txt indexes the site's stable public resources./openapi.json describes the public machine-readable website surface. Salmon does not expose a transactional or custodial API from this site./api/v1/discovery returns stable product and documentation links as JSON. Breaking API changes use a new URL major version; retirement is announced with Deprecation and Sunset headers at least 180 days in advance.Accept: text/markdown; negotiated responses include Vary: Accept, Accept-Encoding.packages/salmon-cli contains the registry-ready @salmonwallet/cli discovery CLI. Publishing it requires authorization for the npm scope.app/
[locale]/
page.tsx Homepage
stake/page.tsx Validator staking page
privacy/page.tsx Privacy policy
terms/page.tsx Terms and conditions
manifest.ts
robots.ts
sitemap.ts
components/
LegalDocument.tsx
Hero.tsx
Navbar.tsx
Why.tsx
Manifesto.tsx
FAQ.tsx
GetSalmon.tsx
sections/
ui/
lib/
constants.ts Public links and validator constants
legal-powerups-content.mjs Terms and privacy text, generated from the SOT
validator.ts Stakewiz validator stats fetcher
i18n/ next-intl routing and request config
messages/
en.json
es.json
pt.json
public/
images/
icons/
The site uses next-intl with these locales:
en - default locale, served without a locale prefixes - served under /espt - served under /ptInterface and marketing copy lives in messages/{locale}.json. Legal copy is generated from the SOT Power-ups texts into lib/legal-powerups-content.mjs (node scripts/sync-powerups-legal.mjs) so the HTML pages and negotiated Markdown use one source; never edit it by hand. When changing either kind of copy, update all three locales and keep their meaning and structure aligned.
This is a public-facing repository and website. Be precise:
The staking page reads Salmon validator stats from Stakewiz:
https://api.stakewiz.com/validator/{voteAccount}
The fetch is cached for one hour with the Next data cache. If Stakewiz is unavailable or returns unexpected data, lib/validator.ts returns a static fallback snapshot so the page does not render empty.
Primary public links are centralized in lib/constants.ts:
Update links there instead of scattering URLs across components.
The site uses a dark navy base with Salmon accent colors defined in app/globals.css through Tailwind v4 theme tokens. Typography uses DM Sans and DM Mono through next/font/google.
Main component patterns:
components/components/ui/components/sections/public/images/Keep UI changes consistent with the existing compact editorial style. Avoid introducing a separate visual direction without updating the underlying design system.
SEO-related files are implemented through Next metadata routes:
app/[locale]/layout.tsx - localized metadata, Open Graph, Twitter cards, JSON-LD, Google Analyticsapp/sitemap.ts - localized sitemap entriesapp/robots.ts - robots rules and sitemap URLapp/manifest.ts - web app manifestThe canonical production URL is https://salmonwallet.io.
Before opening a pull request:
npm run build.lib/constants.ts.Licensed under the Apache License 2.0.