Local development
Requirements
- Bun
- Fuel toolchain (
fuelup,forc,fuel-core) - Cloudflare Wrangler
Run locally
bash
bun install
bun run devThe development runner starts a local Fuel node, tests and deploys the Sway contract, updates the local deployment artifact, starts the Stats Worker, and starts Vite.
Test
bash
bun testThis runs TypeScript checks, the frontend production build, and Sway contract tests.
Build documentation
bash
bunx vitepress build docsRepository
Source code and tickets are available at SilentCicero/fuel-credit.