Build DeFi frontends that read and write to Fuel smart contracts with type-safe function calls.
Create NFT marketplaces with wallet integration and transaction signing on the Fuel blockchain.
Deploy Sway smart contracts from your TypeScript codebase and automatically generate type bindings.
Write Node.js backend services that query Fuel chain state, read logs, and manage assets programmatically.
fuels-ts is the official TypeScript SDK for the Fuel Network, a high-throughput blockchain platform. It is the JavaScript and TypeScript counterpart to the Rust SDK, and it gives web developers and Node.js developers the tools they need to build applications that interact with Fuel smart contracts without needing to drop into lower-level protocol code. The SDK covers the complete development lifecycle for Fuel applications. You can manage wallets and accounts, construct and sign transactions, deploy Sway smart contracts from your TypeScript codebase, and call contract functions using type-safe bindings generated automatically from the contract ABI. A command-line tool bundled with the SDK handles ABI-to-TypeScript code generation, so the types your application uses at compile time mirror exactly what the on-chain contract expects. The SDK also includes support for Fuel scripts and predicates, and provides utilities for querying chain state, reading logs and receipts, and handling assets. You would use fuels-ts when you are building a web frontend, a Node.js back-end service, or a full-stack application that needs to read from or write to the Fuel blockchain. It is the natural choice for teams already working in JavaScript or TypeScript who want to avoid introducing a separate Rust toolchain. Typical use cases include DeFi frontends, NFT marketplaces, wallet integrations, and automated deployment scripts. The entire codebase is written in TypeScript and maintained by Fuel Labs. It is designed to work in both browser and server environments and is the primary SDK for TypeScript-based Fuel development.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.