smoldot 1.3.1
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-lightfrom1.2.0to1.3.1(coresmoldot1.2.0→2.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
kSmoldotLibVersionto1.3.1, realigning the package version with the wrappedsmoldot-lightrelease. Desktop consumers re-rundart run smoldot:setupto fetch the signedsmoldot-v1.3.1prebuilt; the cache is keyed by version, so the new library installs alongside the old one rather than overwriting it
1.2.1 #
Chainnow exposes the raw JSON-RPC interface:sendJsonRpc(String),nextJsonRpcResponse() -> Future<String>, andjsonRpcResponses -> Stream<String>. The caller owns request ids and subscription correlation; theJsonRpcHandlerexport is nowRawJsonRpc.
1.2.0 #
- Realigned the package version to track the wrapped
smoldot-lightRust crate version (previously0.1.x); from now on the package version mirrors the compatiblesmoldot-lightrelease - Upgraded
smoldot-lightfrom0.18.0to1.2.0(coresmoldot0.20.0→1.2.0) - Added the required
statement_protocol_configfield (new in smoldot-light 1.0.0) to theadd_chainconfiguration; defaults toNone(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
ffigenheader entry-point to point at the generatednative/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
SubstrateRpcMethodsconstants 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