This is the source for https://hub.status.network – a Next.js project with static export.
First, follow the root README to clone the repo, initialize submodules, and install dependencies.
Then, pull environment variables:
vercel env pull .env.localNote
NEXT_PUBLIC_STATUS_NETWORK_API_URL: Base URL for the Status Network API used by the hub for auth, current user (/auth/me), karma/sybil (proof-of-work), predeposit vaults APY, and captcha. You can run this API locally by cloning the sn-api repo https://github.com/status-im/sn-api. If you do so don't forget to change the value of this variable to the local API's URL.
NEXT_PUBLIC_STATUS_API_URL: Base URL for the Status API used by the hub to fetch token exchange rates (market data).
You can run this API locally by running pnpm dev the root or in the api project. If you do so don't forget to change the value of this variable to http://localhost:3030.
Start the development server:
pnpm devBuild the static export:
pnpm buildPreview the static build locally:
pnpm startDeployment is handled via Jenkinsfile.website