Registry / networking / smoldot

smoldot

JSON →
library1.1.3rscratesunverified

Primitives to build a client for Substrate-based blockchains.

# Cargo.toml [dependencies] smoldot = "1.1.3"
INSTALL
IMPORT
SIG · SMOLDOT
S
smoldot
networkingrustv1.1.3
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.

Chain
✓ use smoldot::chain::Chain;

Initializes a Substrate blockchain client.

use smoldot::chain::Chain; fn main() { let _chain = Chain::new(); }
Debug
Known issues
gotchaRequires async runtime (tokio or async-std) for network operations.
fix
Add tokio as a dependency and use #[tokio::main].
affects: >=1.0.0
Upgrade
Version history
1.1.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
smoldot — cargo add smoldot · libregistry