fuels-ts is the TypeScript SDK for Fuel. It helps you deploy, test, and interact with Sway contracts, manage wallets, and build dApps with typed bindings.
Overview
The Fuel TypeScript SDK packages methods for developing on and talking to the Fuel network. Documentation lists deploying and testing Sway contracts, bootstrapping dApps, generating wallets from keys or mnemonics, crafting transactions, and producing type-safe bindings for Sway programs.
Installation documentation covers network connection URLs for mainnet, testnet, and localhost, plus a fuels CLI. CLI commands include init for fuels.config.ts, build to compile forc workspaces and emit TypeScript types, deploy to publish contracts, and dev to run a local Fuel node with hot reload.
Official docs tie the SDK to the broader Fuel toolchain: Forc, Sway, the Fuel VM, wallet SDKs, and ecosystem apps such as bridges and explorers. Developers import the SDK into Node or browser TypeScript projects rather than running it as a standalone end-user application.
Use cases in the docs emphasize end-to-end dApp workflows—contract deployment, interaction, wallet handling, and generated types—against Fuel Core nodes on public networks or locally.
Key features
- Sway contract deploy and test
- Wallet import and creation
- Custom transaction building
- Sway type generation
- fuels CLI workspace tooling
- forc build integration
- Local Fuel node dev mode
- Mainnet and testnet connectivity
Use cases
- Fuel dApp development in TypeScript
- Sway contract deployment pipelines
- Typed contract interaction
- Local contract testing with Fuel Core