Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.06 KB

README.md

File metadata and controls

56 lines (38 loc) · 3.06 KB

Peanut UI

Tests CodeQL Next.js React TypeScript Tailwind CSS i18n PWA Ready

Live at: peanut.me | staging.peanut.me

Getting Started

Local dev and QA: start from mono root, not here.

cd ..                       # mono root
./scripts/dev               # brings up API :5050 + UI :3050 + Nutcracker :3060

Then open http://localhost:3050. See mono/GETTING-STARTED.md → "Running the app locally" for the full cheat sheet, log paths, and in-browser peanutDebug.* helpers.

Ask in Peanut Discord #dev channel if you have any questions.

pnpm dev (escape hatch)

Running pnpm dev in this subrepo directly bypasses the sandbox env overrides (PEANUT_API_URL, chain IDs, bundler URLs, NEXT_PUBLIC_HARNESS_SKIP_PASSKEY_CHECK, Infura disable) injected by mono/engineering/qa/lib/servers.sh. By default the UI will talk to staging — rarely what you want for local QA.

git submodule update --init --recursive
pnpm install
cp .env.example .env         # edit as needed
pnpm dev                     # listens on :3000
# pnpm run dev:https         # HTTPS dev server (secure-context features)

Releases

Production releases, hotfixes, OTA updates, store builds and native build commands: mono ops/releases.md. It is the only release doc. Each release's run is a row in the Notion Releases table.

Contributing

See CONTRIBUTING.md for coding standards, design system reference, and development rules.

Archived Branches

This repo previously hosted two other apps under the peanut.to domain. Both are now deprecated in favor of peanut.me (this branch). Their final states are preserved as tags:

Tag Was Last commit Notes
archive/peanut-to main → peanut.to Nov 2025 Link-based send/claim app, cashout, SDK pages
archive/legacy-peanut-to legacy → legacy.peanut.to Mar 2025 Batch send, raffles, leaderboard

To browse the old code: git checkout archive/peanut-to