[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1052":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},1052,"fuels-rs","FuelLabs\u002Ffuels-rs","FuelLabs","Fuel Network Rust SDK","https:\u002F\u002Ffuellabs.github.io\u002Ffuels-rs",null,"Rust",43172,1361,120,50,0,1,4,44.4,"Apache License 2.0",false,"master",true,[],"2026-06-12 02:00:22","# fuels-rs\n\n[![build](https:\u002F\u002Fgithub.com\u002FFuelLabs\u002Ffuels-rs\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FFuelLabs\u002Ffuels-rs\u002Factions\u002Fworkflows\u002Fci.yml)\n[![crates.io](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Ffuels?label=latest)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ffuels)\n[![docs](https:\u002F\u002Fdocs.rs\u002Ffuels\u002Fbadge.svg)](https:\u002F\u002Fdocs.rs\u002Ffuels)\n[![discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fchat%20on-discord-orange?&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https:\u002F\u002Fdiscord.gg\u002FxfpK4Pe)\n\nRust SDK for Fuel. It can be used for a variety of things, including but not limited to:\n\n- Compiling, deploying, and testing [Sway](https:\u002F\u002Fgithub.com\u002FFuelLabs\u002Fsway) contracts;\n- Launching a local Fuel network;\n- Crafting and signing transactions with hand-crafted scripts or contract calls;\n- Generating type-safe Rust bindings of contract methods;\n- And more, `fuels-rs` is still in active development.\n\n## Documentation\n\nSee [the `fuels-rs` book](https:\u002F\u002Ffuellabs.github.io\u002Ffuels-rs\u002Flatest\u002F)\n\n## Features\n\n- [x] Launch Fuel nodes\n- [x] Deploy contracts\n- [x] Interact with deployed contracts\n- [x] Type-safe Sway contracts bindings code generation\n- [x] Run Sway scripts\n- [x] CLI for common operations\n- [x] Local test wallets\n- [ ] Wallet integration\n- [ ] Events querying\u002Fmonitoring\n\n## FAQ\n\n### What dependencies do I need?\n\n- [The latest `stable` Rust toolchain](https:\u002F\u002Fdocs.fuel.network\u002Fguides\u002Finstallation\u002F#installing-rust);\n- [`forc` and `fuel-core` binaries](https:\u002F\u002Fdocs.fuel.network\u002Fguides\u002Finstallation\u002F#installing-the-fuel-toolchain-using-fuelup).\n\n### How can I run the SDK tests?\n\nFirst, build the test projects using `forc`:\n\n```shell\nforc build --release --path e2e\n```\n\nThen you can run the SDK tests with:\n\n```shell\ncargo test\n```\n\nYou can also run specific tests. The following example will run all integration tests in `types.rs` whose names contain `in_vector` and show their outputs:\n\n```shell\ncargo test --test types in_vector -- --show-output\n```\n\n### How to run WASM tests?\n\nYou need to have wasm32 as a target, if you don't already:\n\n```shell\n rustup target add wasm32-unknown-unknown\n```\n\nYou also need `wasm-pack`, if you don't already:\n\n```shell\ncargo install wasm-pack\n```\n\nNavigate to `packages\u002Fwasm-tests` and run `wasm-pack test`.\n\n### What to do if my tests are failing on `master`\n\nBefore doing anything else, try all these commands:\n\n```shell\ncargo clean\nrm Cargo.lock\nforc build --release --path e2e\ncargo test\n```\n\n### Why is the prefix `fuels` and not `fuel`?\n\nIn order to make the SDK for Fuel feel familiar with those coming from the [ethers.js](https:\u002F\u002Fgithub.com\u002Fethers-io\u002Fethers.js) ecosystem, this project opted for an `s` at the end. The `fuels-*` family of SDKs is inspired by The Ethers Project.\n\n### How can I run the docs locally?\n\nInstall `mdbook` by running:\n\n```shell\ncargo install mdbook\n```\n\nNext, navigate to the `docs` folder and run the command below to start a local server and open a new tab in your browser.\n\n```shell\nmdbook serve --open\n```\n\nYou can build the book by running:\n\n```shell\nmdbook build\n```\n","fuels-rs 是一个为 Fuel 网络开发的 Rust SDK，支持编译、部署和测试 Sway 智能合约。其核心功能包括启动本地 Fuel 节点、部署智能合约、与已部署合约交互、生成类型安全的 Rust 绑定代码等，并且提供 CLI 工具进行常用操作。该 SDK 采用 Rust 语言编写，具有良好的性能和安全性，适用于区块链开发者在 Fuel 生态中构建去中心化应用或进行智能合约开发与测试。此外，它还支持运行 Sway 脚本以及本地测试钱包等功能，为开发者提供了丰富的工具集来加速开发流程。",2,"2026-06-11 02:41:18","top_all"]