Skip to content

Releases: LtbLightning/ldk-node-flutter

v0.7.0

22 Jan 17:34
7aa6198

Choose a tag to compare

[0.7.0]

Updated ldk-node to 0.7.0.
Updated flutter_rust_bridge to 2.11.1.
Updated freezed to 3.2.0.
Updated freezed-annotation to 3.1.0.

APIs Added

Channel Management

  • Channel Splicing: Experimental support via spliceIn() and spliceOut() methods
  • openChannel and openAnnouncedChannel (replaces connectOpenChannel)

Payments

  • Async Payments: Static invoice support with receiveStaticInvoice() and sendStaticInvoice()
  • Custom Preimage: sendWithPreimage() for spontaneous payments
  • Route Parameters: RouteParametersConfig support for BOLT12 payments and refunds
  • Unified QR: node.unifiedQrPayment & UnifiedQrPayment handler for generating and paying unified QR codes
  • BOLT12 support for quantity and payerNote fields
  • SendingParameters support when sending BOLT11 payments

Chain Data Sources

  • Bitcoin Core REST: ChainDataSourceConfig.bitcoindRest()
  • Bitcoin Core RPC: setChainSourceBitcoinRpc() for chain and fee estimation data
  • Electrum: ChainDataSourceConfig.electrum() with ElectrumSyncConfig and background sync options
  • Esplora with Headers: ChainDataSourceConfig.esploraWithHeaders() for custom HTTP headers
  • Renamed setEsploraServersetChainSourceEsplora with EsploraSyncConfig

FeeRate Class

  • Constants: zero, min, max, broadcastMin, dust
  • Constructors: fromSatPerKwu(), fromSatPerVb(), fromSatPerVbUnchecked()
  • Converters: toSatPerVbFloor(), toSatPerVbCeil(), toSatPerKwu()
  • Enhanced OnChainPayment methods with FeeRate parameter support

LSP Integration

  • LSPS2 service with receiveViaJitChannel() and receiveVariableAmountViaJitChannel()
  • Bolt11Jit payment variant with LSP fee limits and counterparty skimmed fee tracking

Events

  • payment_preimage field in PaymentSuccessful events
  • PaymentForwarded events for tracking forwarded payments with fee/routing info
  • Custom TLV records in PaymentClaimable and PaymentReceived via customRecords

Pathfinding

  • importPathfindingScores() and mergePathfindingScores()

Configuration

  • Mnemonic.generateWithWordCount() for configurable entropy
  • builder.setNodeAlias for public node announcements
  • Experimental encrypted VSS remote storage via builder.buildWithVssStore & builder.buildWithVssStoreAndFixedHeaders

Other

  • On-chain transactions now included in payment store and exposed via payment APIs

Breaking Changes

  • flutter_rust_bridge updated from 2.6.0 to 2.11.1 — may require changes in low-level FFI bindings
  • freezed updated to 3.2.0 — may require regeneration of freezed classes
  • node.connectOpenChannel split into openChannel and openAnnouncedChannel
  • setEsploraServer renamed to setChainSourceEsplora
  • Payment events include new fields (preimage, customRecords) affecting event handling code

Fixed

  • Node no longer enters unrecoverable state when previously generated transaction is accepted first (fixed in bdk_wallet 2.0.0)
  • Node no longer throws exception on persistence failure during event handling — events replay until successful
  • Node can now use confirmed on-chain funds to spend/bump Anchor outputs
  • FeeRate FFI type conflicts resolved with native Dart solution
  • ChannelConfig refactored — now allows querying current MaxDustHTLCExposure limit

Notes

  • Splicing-related transactions may still get misclassified in the payment store
  • Liquidity service data is now persisted across restarts
  • Improved shutdown robustness and reduced IO load via differential channel monitor updates
  • VSS support is alpha/experimental — may throw exceptions on unrecoverable persistence failures
  • Custom TLV sending (sendWithCustomTlvs) not yet exposed in public API

Precompiled binaries feb2837e

03 Oct 16:17
22eef0d

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash feb2837e64c8d26c7262b144c821db6c.

Precompiled binaries 91ff194e

03 Oct 16:38
22eef0d

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash 91ff194e59b253cc41b47d91ddf38c45.

Precompiled binaries 73afe9a2

13 Jan 02:46
22eef0d

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash 73afe9a2fcc6370d0da210a69cbdfe02.

Precompiled binaries 618f633c

16 Jan 03:38
22eef0d

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash 618f633c2313657b129e0b5b5dedbde7.

Precompiled binaries f5462279

27 Jun 00:57
2540633

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash f54622798f7ddbbf244c0b599d681a53.

v0.3.0

18 Jul 13:06
3dce03d

Choose a tag to compare

[0.3.0]

Updated flutter_rust_bridge to 2.0.0.

APIs added

  • buildWithFsStore method is added in the Builder class allowing to use the filesystem storage backend.
  • Exposed setLiquiditySourceLsps2 method to Builder to configure the Node instance to source the inbound liquidity.
  • nextEventAsync method is added to Node class that allows polling the event queue asynchronously.
  • status method has been added to Node allowing to retrieve information about the Node's status.
  • config method added to get the config with which the Node was initialized.
  • The payment APIs have been restructured to use per-type (bolt11, onchain, bolt12) payment handlers which can be accessed via node.{type}Payment.
  • Support for sourcing inbound liquidity via LSPS2 just-in-time (JIT) channels has been added.
  • Support for creating and paying BOLT12 offers and refunds has been added.
  • Added networkGraph handler method allowing to query the network graph.
  • Added forceCloseChannel to Node class.

API changed

  • All available balances outside of channel balances are now exposed via a unified listBalances interface method.

Fixed

Persisted peers are now correctly reconnected after startup.

v0.3.0

08 Jul 16:58
a3beecd

Choose a tag to compare

[0.3.0]

Updated flutter_rust_bridge to 2.0.0.

APIs added

  • buildWithFsStore method is added in the Builder class allowing to use the filesystem storage backend.
  • Exposed setLiquiditySourceLsps2 method to Builder to configure the Node instance to source the inbound liquidity.
  • nextEventAsync method is added to Node class that allows polling the event queue asynchronously.
  • status method has been added to Node allowing to retrieve information about the Node's status.
  • config method added to get the config with which the Node was initialized.
  • The payment APIs have been restructured to use per-type (bolt11, onchain, bolt12) payment handlers which can be accessed via node.{type}Payment.
  • Support for sourcing inbound liquidity via LSPS2 just-in-time (JIT) channels has been added.
  • Support for creating and paying BOLT12 offers and refunds has been added.
  • Added networkGraph handler method allowing to query the network graph.
  • Added forceCloseChannel to Node class.

API changed

  • All available balances outside of channel balances are now exposed via a unified listBalances interface method.

Fixed

Persisted peers are now correctly reconnected after startup.

v0.2.2-dev

09 Jun 04:37
5b3ef69

Choose a tag to compare

[0.2.2-dev]

Updated Rust and Flutter dependencies.

APIs added

  • Expose isRunning() in Node class.

API changed

  • Renamed waitUntilNextHandled() to waitNextHandled.
  • Renamed listeningAddress() to listeningAddresses.
  • Upgraded BuilderException to handle invalid socketAddress & `trustedPeers.
  • Upgraded NodeException to handle invalid txid.

Fixed

  • Functions hang indefinitely on iOs devices
  • Android support bug resolved
  • Thread frb_workerpool panic on SocketAddress, PublicKey, Address Bolt11Invoice, Config and Txid.

Pub.dev: https://pub.dev/packages/ldk_node/versions/0.2.2-dev

binaries for this release version will be downloaded and installed automatically from here: https://github.com/LtbLightning/ldk-node-flutter/releases/tag/precompiled_eacf7899dcd30c945b6c2b465765762c

Precompiled binaries for v0.2.2-dev

04 Jun 01:43
a0b2a85

Choose a tag to compare

Precompiled binaries for crate ldk_node, crate hash eacf7899dcd30c945b6c2b465765762c.

These binaries are downloaded and installed when v0.2.2-dev is installed from pub.dev or from github