smoldot 1.3.1 copy "smoldot: ^1.3.1" to clipboard
smoldot: ^1.3.1 copied to clipboard

A Dart wrapper for smoldot-light, providing a lightweight Polkadot/Substrate client implementation via Rust FFI bindings

1.3.1 #

  • Upgraded smoldot-light from 1.2.0 to 1.3.1 (core smoldot 1.2.02.1.0)
  • The C ABI (the FFI entry points and native/smoldot.h) is unchanged across this upgrade, so the Dart bindings are identical and existing code keeps working — this is a native rebuild and behavioural revalidation, not a source change
  • Bumped kSmoldotLibVersion to 1.3.1, realigning the package version with the wrapped smoldot-light release. Desktop consumers re-run dart run smoldot:setup to fetch the signed smoldot-v1.3.1 prebuilt; the cache is keyed by version, so the new library installs alongside the old one rather than overwriting it

1.2.1 #

  • Chain now exposes the raw JSON-RPC interface: sendJsonRpc(String), nextJsonRpcResponse() -> Future<String>, and jsonRpcResponses -> Stream<String>. The caller owns request ids and subscription correlation; the JsonRpcHandler export is now RawJsonRpc.

1.2.0 #

  • Realigned the package version to track the wrapped smoldot-light Rust crate version (previously 0.1.x); from now on the package version mirrors the compatible smoldot-light release
  • Upgraded smoldot-light from 0.18.0 to 1.2.0 (core smoldot 0.20.01.2.0)
  • Added the required statement_protocol_config field (new in smoldot-light 1.0.0) to the add_chain configuration; defaults to None (statement-store networking disabled), preserving previous behaviour
  • Pinned the Rust build toolchain via rust/rust-toolchain.toml (smoldot-light 1.2.0 depends on Rust edition 2024, requiring rustc ≥ 1.85)
  • Fixed the ffigen header entry-point to point at the generated native/smoldot.h
  • Added optional AddChainConfig.statementStore (StatementStoreConfig) to enable Substrate's statement-store protocol per chain (new in smoldot-light 1.0.0); disabled by default
  • Added SubstrateRpcMethods constants for the newer JSON-RPC API now available (chainHead_v1_*, transaction_v1_*, bitswap_v1_get, statement_*)
  • Added dart run smoldot:setup (bin/setup.dart) to download a signed prebuilt native library for the current desktop platform from the GitHub Release, verify its Ed25519 signature, and install it into a per-user cache the loader finds automatically — no Rust toolchain required. Currently covers desktop Linux/macOS/Windows on x64+arm64; mobile prebuilts come later

0.1.2 #

  • Code formatting and simplification of docker compose setup
  • Updated dependencies: ffi, meta, wasmtime

0.1.1 #

  • Upgraded sdk to ^3.8.0

0.1.0 #

  • Initial code
0
likes
160
points
318
downloads

Documentation

API reference

Publisher

verified publishersnowpine.io

Weekly Downloads

A Dart wrapper for smoldot-light, providing a lightweight Polkadot/Substrate client implementation via Rust FFI bindings

Homepage
Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

convert, cryptography, ffi, meta, path

More

Packages that depend on smoldot