create-awarizon-app
The fastest way to start a new Awarizon project. One command scaffolds a complete app — package.json, config files, SDK wired up, and your API key pre-filled in .env. No manual setup required.
You will be prompted for a project name, template, language, and your API key. Hit enter to accept defaults.
Next.js 14App Router + @awarizon/reactRecommendedReact + ViteSPA + @awarizon/reactLightweightExpo (React Native)@awarizon/react-native + KeychainMobileFlags — skip the prompts
Pass any combination of flags to run non-interactively. Useful for CI scripts, dotfiles, or when you already know what you want.
[project-name]stringDirectory to create. Prompted interactively when omitted.--template / -tnextjs | react | expoApp template. Prompted interactively when omitted.--lang / -lts | jsOutput language. Default: ts. (Expo is always TypeScript.)--api-key / -kstringAwarizon API key — baked into .env automatically. Can be added later.--pmnpm | pnpm | yarn | bunPackage manager for installing dependencies. Auto-detected from env when omitted.--skip-installflagCopy files only — skip running the install command.Common examples
Next.js — TypeScript (default)
React + Vite — JavaScript
Expo — mobile wallet app
pnpm + skip install (faster in CI)
What gets scaffolded
Every template ships with the SDK already configured — no copy-pasting boilerplate.
SDK instancelib/awarizon.ts — created once, exported everywhereProvider wiredAwarizonProvider wrapping the root layoutConnectButtonDrop-in wallet UI component in the home page.env pre-filledAPI key baked in if you passed --api-keyTypeScript / JSDocFull types on TS templates, JSDoc hints on JSDeps installednpm install runs automatically (unless --skip-install)After scaffolding, open .env.local (Next.js) or .env (React / Expo) and paste your API key if you skipped the --api-key flag. Keys are free at awarizon.com/dashboard/api-keys.