Skip to content

Local development

Requirements

  • Bun
  • Fuel toolchain (fuelup, forc, fuel-core)
  • Cloudflare Wrangler

Run locally

bash
bun install
bun run dev

The 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 test

This runs TypeScript checks, the frontend production build, and Sway contract tests.

Build documentation

bash
bunx vitepress build docs

Repository

Source code and tickets are available at SilentCicero/fuel-credit.

Open-source infrastructure on Fuel.