Registry / networking / fuels
library0.77.0rscratesunverified

Fuel Rust SDK for interacting with the Fuel blockchain.

# Cargo.toml [dependencies] fuels = "0.77.0"
INSTALL
IMPORT
SIG · FUELS
F
fuels
networkingrustv0.77.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Provider
use fuels::prelude::*;

Connect to a Fuel node using the SDK.

use fuels::prelude::*; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let provider = Provider::connect("https://node.fuel.network").await?; println!("Connected to Fuel"); Ok(()) }
Debug
Known issues
gotchaRequires async runtime (tokio) and the 'fuels' feature flags for specific functionality.
fix
Add tokio as a dependency and use #[tokio::main] or similar runtime.
affects: >=0.0.0
Upgrade
Version history
0.77.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
fuels — cargo add fuels · libregistry