
fuels-ts is a library for interacting with Fuel v2.
The documentation site is your main stop for resources.
npm install fuels --save
Simple example usages.
import { Wallet } from "fuels";
// Random Wallet
console.log(Wallet.generate());
// Using privateKey Wallet
console.log(new Wallet("0x0000...0000"));
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
Learn more about the Fuel Ecosystem.
- π΄ Sway β The new language, empowering everyone to build reliable and efficient smart contracts
- π§° Forc β The Fuel toolbox: Build, deploy and manage your sway projects
- βοΈ Fuel Core β The new FuelVM, a blazingly fast blockchain VM
- π Fuel Specs β The Fuel protocol specifications
- πΌ Fuels Wallet β The Official Fuels Wallet
- π¦ Rust SDK β A robust SDK in rust
- β‘ Fuel Network β The project
- π The Fuel Forum β Ask questions, get updates, and contribute to a modular future
The primary license for this repo is Apache 2.0
, see LICENSE
.