$ npm install fuels --save
$ npm fuels --help
Commands:
init [options] Create a sample `fuel.config.ts` file
build [options] Build Sway programs and generate Typescript for them
deploy [options] Deploy contracts to the Fuel network
dev [options] Start a Fuel node with hot-reload capabilities
node [options] Start a Fuel node using project configs
typegen [options] Generate Typescript from Sway ABI JSON files
versions [options] Check for version incompatibilities
help [command] Display help for command
fuels-ts
Typescript SDK for Fuel.
Install (docs)
Connect (docs)
https://mainnet.fuel.network/v1/graphqlhttps://testnet.fuel.network/v1/graphqlCreate a new dApp (docs)
Enjoy the
fuelsCLI (docs)In-depth docs:
fuels init— Creates a newfuels.config.tsfilefuels build— Buildforcworkspace and generate Typescript types for everythingfuels deploy— Deploy workspace contracts and save their IDs to JSON filefuels dev— Start a Fuel node with hot-reload capabilitiesOfficial Docs
Apps & Ecosystem
Get in Touch
Forum— https://forum.fuel.networkDiscord— https://discord.gg/xfpK4PeContribute
License
The primary license for this repo is
Apache 2.0, seeLICENSE.