Next.js app for the Stacks Wars arena UI, Better Auth, and app-user sync against the Rust backend.
- Next.js 16 / React 19 / Tailwind CSS v4
- Better Auth (email/password, Google, email OTP)
- Custodial Stacks wallets via
@stacks/wallet-sdk(CUSTODIAL_DEV_SECRETlocally; Google Cloud KMS in production) - Posts synced users to the Rust API (
POST /users) with Bearer JWT
cp env.example .env.local
bun install
bun run devRequires the backend on NEXT_PUBLIC_API_URL (default http://127.0.0.1:8080). User API calls use a Better Auth Bearer JWT.