Baike.dev
All toolsTrendingOpen sourceNewsSubmit
Log in
< 返回工具列表
F

fuels-ts

> 编程语言
开源

Fuel Network Typescript SDK

43.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Fuel Network Typescript SDK

fuels-ts

Typescript SDK for Fuel.

Install (docs)

npm install fuels --save

Connect (docs)

Network URL Mainnet https://mainnet.fuel.network/v1/graphql Testnet https://testnet.fuel.network/v1/graphql Localhost Running a local Fuel node
import { Provider } from 'fuels';

const NETWORK_URL = 'https://mainnet.fuel.network/v1/graphql';

const provider = new Provider(NETWORK_URL);

const chainId = await provider.getChainId();
const gasConfig = await provider.getGasConfig();
const baseAssetId = await provider.getBaseAssetId();

console.log({ chainId, gasConfig, baseAssetId });

Create a new dApp (docs)

$ npm create fuels

◇ What is the name of your project? #
│ my-fuel-project
└

⚡️ Success! Created a fullstack Fuel dapp at: my-fuel-project.

Enjoy the fuels CLI (docs)

$ 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

In-depth docs:

  • fuels init — Creates a new fuels.config.ts file
  • fuels build — Build forc workspace and generate Typescript types for everything
  • fuels deploy — Deploy workspace contracts and save their IDs to JSON file
  • fuels dev — Start a Fuel node with hot-reload capabilities

Official Docs

  • Install The Fuel Toolchain — https://docs.fuel.network/guides/installation/

  • Typescript SDK — https://docs.fuel.network/docs/fuels-ts
  • Fuel Wallet SDK — https://docs.fuel.network/docs/wallet
  • Rust SDK — https://docs.fuel.network/docs/fuels-rs
  • GraphQL Playground — https://docs.fuel.network/docs/graphql

  • Forc — https://docs.fuel.network/docs/forc
  • Sway — https://docs.fuel.network/docs/sway
  • Fuel Core — https://github.com/FuelLabs/fuel-core
  • Fuel VM — https://docs.fuel.network/docs/specs/fuel-vm
  • Fuel Specs — https://docs.fuel.network/docs/specs

Apps & Ecosystem

  • Fuel Bridge — https://app.fuel.network/bridge
  • Block Explorer — https://app.fuel.network
  • Ecosystem Apps — https://app.fuel.network/ecosystem

Get in Touch

  • Forum — https://forum.fuel.network
  • Discord — https://discord.gg/xfpK4Pe

Contribute

  • ./CONTRIBUTING.md

License

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

核心特点

  • •fuels init — Creates a new fuels.config.ts file
  • •fuels build — Build forc workspace and generate Typescript types for everything
  • •fuels deploy — Deploy workspace contracts and save their IDs to JSON file
  • •fuels dev — Start a Fuel node with hot-reload capabilities
  • •Install The Fuel Toolchain — https://docs.fuel.network/guides/installation/
  • •Typescript SDK — https://docs.fuel.network/docs/fuels-ts
  • •Fuel Wallet SDK — https://docs.fuel.network/docs/wallet
  • •Rust SDK — https://docs.fuel.network/docs/fuels-rs
  • •GraphQL Playground — https://docs.fuel.network/docs/graphql
  • •Forc — https://docs.fuel.network/docs/forc

> 标签

TypeScriptfueltypescript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
Baike.dev

baike.dev helps you discover great languages, frameworks, databases, DevOps and cloud-native tools.

Quick links

  • Home
  • All tools
  • Trending
  • Open source

About

  • About us
  • Community
  • News

Contribute

Found a great developer tool? Share it with the community.

Submit a tool
© 2026 baike.dev Developer EncyclopediaUpdated daily · Discover great developer tools