fuels-ts is a library for interacting with Fuel v2.

test Icon Link npm Icon Link docs discord Icon Link

Icon LinkResources

The documentation site is your main stop for resources.

Icon LinkInstall

npm install fuels --save

Icon LinkImport

Simple example usages.

import { Wallet } from "fuels";
 
// Random Wallet
console.log(Wallet.generate());
 
// Using privateKey Wallet
console.log(new Wallet("0x0000...0000"));

Icon LinkCLI

Fuels include some utility commands via built-in CLI tool.

$ npm add fuels
$ npx fuels --help
Usage: fuels [options] [command]
 
Options:
  -V, --version      output the version number
  -h, --help         display help for command
 
Commands:
  versions           check for version incompatibilities
  typegen [options]  generate typescript from contract abi json files
  help [command]     display help for command

Icon LinkThe Fuel Ecosystem

Learn more about the Fuel Ecosystem.

Icon LinkLicense

The primary license for this repo is Apache 2.0, see LICENSE Icon Link.