Blast is a launchpad on Sui. This repository contains the Next.js web app, the Bun and Effect backend, TypeScript workers, and shared protocol and server code.
Use Node 24.18 or newer within Node 24 and npm 12.0.2 or newer within npm 12. Backend development and tests also use Bun 1.4.2. Run these commands from the repository root:
npm ci --ignore-scripts
BLAST_DEPLOYMENT_TARGET=local NEXT_PUBLIC_SITE_URL=http://127.0.0.1:3000 npm run dev -w @blast/web -- --hostname 127.0.0.1Open the local app. Features that depend on configured
services may be unavailable. For local configuration, see the examples for
the web, API and
workers. Keep credentials in ignored local files
or your own environment. Every NEXT_PUBLIC_* value is public configuration.
npm run lint
npm run typecheck
npm test -w @blast/webReplace @blast/web with the affected workspace. npm test runs unit tests
across the repository. Use Docker for the integration harness's disposable
loopback PostgreSQL and Valkey services. Run one integration file from the
repository root by passing its path to the integration harness.
node scripts/test-integration.mjs apps/backend-api/test/physical.integration.test.tsRun npm run gate for the full local gate.
See backend local verification
for its service requirements.
To verify that the production build excludes developer routes and test fixtures:
BLAST_DEPLOYMENT_TARGET=local NEXT_PUBLIC_SITE_URL=http://127.0.0.1:3000 npm run build -w @blast/web
CHECK_PRODUCTION_BUILD=1 node --no-warnings --import ./scripts/test-tsx-hooks.mjs \
--test --test-concurrency=1 --experimental-strip-types apps/web/test/production-boundaries.test.tsWith dependencies installed and Docker running, run this from the repository root before opening a code PR:
BLAST_DEPLOYMENT_TARGET=local bash scripts/with-disposable-postgres.sh \
bash -c 'npm run db:migrate && npm run db:migrate'The harness creates and seeds a disposable PostgreSQL database on loopback,
sets both database URLs and removes the database on exit. The first run lists
applied migrations. The second prints Mission Control database is already current.
For changes to grants or ownership, also run the
runtime-roles integration test.
| Workspace | Responsibility |
|---|---|
@blast/web |
Next.js UI and browser-facing HTTP adapters |
@blast/backend-api |
Effect HTTP contracts, private and public API routing, and transport |
@blast/workers |
Background jobs and process entry points |
@blast/core |
Shared protocol, persistence and route contracts |
@blast/server |
Server workflows, provider integrations and persistence operations |
Each workspace's package.json lists its commands. See the
contribution guidance for platform and architecture boundaries and
the security policy for reporting vulnerabilities.
Blast's first-party web app, API, workers, and the shared code that supports them are licensed under Apache 2.0.
Third-party code and assets carry their own terms. See the web software notices, the analytics fonts, the server fonts, and the Zod backport. The pinned Blast SDK packages are covered by the SDK 0.3.0 license grant. Forks that use the wallet integrations through Privy are subject to the Reown AppKit and WalletConnect terms for those components. The code license grants no rights to Blast trademarks.
The Blast Move contracts are maintained separately under their Business Source License.