Skip to content

Releases: LtbLightning/ldk-node-flutter

v0.3.0

18 Jul 13:06
3dce03d
Compare
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
Compare
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
Compare
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
Compare
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

v0.2.0

20 Jan 19:42
7916dfb
Compare
Choose a tag to compare

[0.2.0]

Feature and API updates

  • The capability to send pre-flight probes has been added
  • Pre-flight probes will skip outbound channels based on the liquidity available
  • Additional fields are now exposed via ChannelDetails
  • The location of the logs directory is now customizable
  • Listening on multiple socket addresses is now supported
  • If available, peer information is now persisted for inbound channels
  • Transaction broadcasting and fee estimation have been reworked and made more robust
  • A module persisting, sweeping, and rebroadcasting output spends has been added

v0.1.2

19 Nov 05:20
11271b8
Compare
Choose a tag to compare

[0.1.2]

APIs added

  • Expose generateEntropyMnemonic function - a utility method for generating a BIP39 mnemonic.
  • Expose Node class's updateChannelConfig, verifySignature, signMessage, sendPaymentProbe, sendSpontaneousPaymentProbe methods.
  • Add ChannelConfig? to node.connectOpenChannel() params - a ChannelConfig may now be specified on channel open or updated afterwards.
  • Expose counterpartyNodeId, funding_txo & channelValueSats in ChannelDetails.
  • Expose trustedPeers0Conf probingLiquidityLimitMultiplier, logDirPath, onchainWalletSyncInterval_secs, walletSyncIntervalSecs, &
    feeRateCacheUpdateIntervalSecs in Config - allowing inbound trusted 0conf channels.
  • Non-permanently connected peers are now included in node.listPeers().

API changed

  • node.newFundingAddress renamed to newOnchainAddress.
  • node.sendToOnChainAddress renamed to sendToOnchainAddress.
  • node.sendAllToOnChainAddress renamed to sendAllToOnchainAddress.
  • Remove node.onChainBalance.

v0.1.1-alpha

07 Jun 14:26
e3142e2
Compare
Choose a tag to compare

[0.1.1-alpha]

Support Dart 3 and Flutter 3.10

Fixed

  • setEntropyBip39Mnemonic issue resolved

v0.1.0-alpha

05 May 11:13
50c6bf9
Compare
Choose a tag to compare

[0.1.0]

This is the first release of ldk_node. It features support for sourcing chain data via an Esplora server, filesystem persistence, gossip sourcing via the Lightning peer-to-peer network, and configurable entropy sources for the integrated LDK & BDK-based wallets.

Please refer to the changelog for a full list of available api

Please note: This release is considered experimental, and should not be run in production