Icon SunFilledIcon MoonStars

Icon LinkQuickstart

You can quickly bootstrap a full-stack Fuel project locally with the following command:

pnpm create fuels

This will setup a new full-stack Fuel project. To get things running, you'll need to install the dependencies and start the development servers:

# (Make sure you cd into your new project directory first!)
pnpm install

# Start a local Fuel node and hot-reload for your Sway smart contracts
pnpm fuels:dev

In another terminal window, start the frontend dev server:

pnpm dev

Your app should now be running on localhost:3000.

Any changes you make to your Sway smart contracts will be hot-reloaded and reflected in the frontend. All of this is enabled thanks to the new fuels CLI . The fuels CLI has several more powerful customization options that will let you tweak your local dev experience to your liking.