{"id":15037732,"url":"https://github.com/fuellabs/fuels-rs","last_synced_at":"2025-09-09T21:08:51.632Z","repository":{"id":36999350,"uuid":"423275200","full_name":"FuelLabs/fuels-rs","owner":"FuelLabs","description":"Fuel Network Rust SDK","archived":false,"fork":false,"pushed_at":"2025-05-05T10:32:01.000Z","size":18956,"stargazers_count":43796,"open_issues_count":101,"forks_count":1349,"subscribers_count":128,"default_branch":"master","last_synced_at":"2025-05-05T11:12:54.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fuellabs.github.io/fuels-rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FuelLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-31T22:33:54.000Z","updated_at":"2025-05-04T22:09:26.000Z","dependencies_parsed_at":"2023-01-17T12:15:34.027Z","dependency_job_id":"8391389e-d88f-4452-9146-2c6f3a480676","html_url":"https://github.com/FuelLabs/fuels-rs","commit_stats":{"total_commits":502,"total_committers":34,"mean_commits":"14.764705882352942","dds":0.7211155378486056,"last_synced_commit":"62a5130dfe41b39fd5c0bb73d7b6535361835624"},"previous_names":[],"tags_count":116,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Ffuels-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Ffuels-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Ffuels-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Ffuels-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuelLabs","download_url":"https://codeload.github.com/FuelLabs/fuels-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252498357,"owners_count":21757795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:35:29.043Z","updated_at":"2025-05-05T12:37:04.488Z","avatar_url":"https://github.com/FuelLabs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fuels-rs\n\n[![build](https://github.com/FuelLabs/fuels-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/FuelLabs/fuels-rs/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/fuels?label=latest)](https://crates.io/crates/fuels)\n[![docs](https://docs.rs/fuels/badge.svg)](https://docs.rs/fuels)\n[![discord](https://img.shields.io/badge/chat%20on-discord-orange?\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/xfpK4Pe)\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://github.com/FuelLabs/sway) 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://fuellabs.github.io/fuels-rs/latest/)\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/monitoring\n\n## FAQ\n\n### What dependencies do I need?\n\n- [The latest `stable` Rust toolchain](https://docs.fuel.network/guides/installation/#installing-rust);\n- [`forc` and `fuel-core` binaries](https://docs.fuel.network/guides/installation/#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/wasm-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://github.com/ethers-io/ethers.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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Ffuels-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuellabs%2Ffuels-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Ffuels-rs/lists"}