Feature/log id expose (#1699)
Example of usage: https://github.com/FuelLabs/fuel-rust-indexer/blob/main/crates/indexer/processors/receipt_parser.rs#L17
Release notes
In this release, we:
- Did this and that
Summary
Breaking Changes
Checklist
- All changes are covered by tests (or not applicable)
- All changes are documented (or not applicable)
- I reviewed the entire PR myself (preferably, on GH UI)
- I described all Breaking Changes (or there’s none)
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
fuels-rs
Rust SDK for Fuel. It can be used for a variety of things, including but not limited to:
fuels-rsis still in active development.Documentation
See the
fuels-rsbookFeatures
FAQ
What dependencies do I need?
stableRust toolchain;forcandfuel-corebinaries.How can I run the SDK tests?
First, build the test projects using
forc:Then you can run the SDK tests with:
You can also run specific tests. The following example will run all integration tests in
types.rswhose names containin_vectorand show their outputs:How to run WASM tests?
You need to have wasm32 as a target, if you don’t already:
You also need
wasm-pack, if you don’t already:Navigate to
packages/wasm-testsand runwasm-pack test.What to do if my tests are failing on
masterBefore doing anything else, try all these commands:
Why is the prefix
fuelsand notfuel?In order to make the SDK for Fuel feel familiar with those coming from the ethers.js ecosystem, this project opted for an
sat the end. Thefuels-*family of SDKs is inspired by The Ethers Project.How can I run the docs locally?
Install
mdbookby running:Next, navigate to the
docsfolder and run the command below to start a local server and open a new tab in your browser.You can build the book by running: