Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link

Icon LinkInstallation

We expect you to install the Fuel Toolchain Icon Link before using this library. Follow this guide Icon Link to get this installed.

The next step is to add the fuels dependency to your project. You can do this using the following command:

pnpm add fuels@0.89.1

Note: Use version 0.89.1 to ensure compatibility with testnet network—check the docs Icon Link.


If you are using bun, you'll need to add a trustedDependencies field to your package.json:

{
  // ...
  "trustedDependencies": ["@fuel-ts/fuel-core", "@fuel-ts/forc"]
}

This is to ensure that bun includes the fuel-core and forc binaries in your project.

Icon InfoCircle

IMPORTANT: We don't officially support bun yet; use it at your own risk.