Skip to content

Releases: LtbLightning/bdk-flutter

v0.29.1

01 Oct 04:30
d536a1d
Compare
Choose a tag to compare

[0.29.1]

Strongly typed exceptions

v0.29.0

22 Jul 00:39
f0c8e31
Compare
Choose a tag to compare

[0.29.0]

Support Dart 3.
Updated API to align with bdk ffi v0.29.0
Updated Rust and Flutter dependencies.

APIs added

  • Add isMine method to Wallet.
  • Expose script.toBytes() method.

v0.28.3

05 Jun 21:39
f4d61d9
Compare
Choose a tag to compare

[0.28.3]

Isolate functionality enabled
Multisig transaction signing fixed

Fixed

  • Invalid UTF-8 error for txansaction.input().
  • Multisig issue resolved by adding isMultiSig to signOptions.

APIs added

  • Expose Wallet class's getDescriptorForKeyChain and getPsbtInput functions.
  • Expose TxBuilder class's addForeignUtxo function.
  • Add Input class.
  • Expose Descriptor class's maxSatisfactionWeight function.

v0.28.0

16 May 21:29
a7d28a6
Compare
Choose a tag to compare

[0.28.0]

Updates for latest bdk-ffi version 0.28.0 and Flutter dependencies.

APIs added

  • Expose Address class's payload and network functions
  • Add fromScript constructor to Address class
  • Add SignOptions to Wallet.sign() params.
  • Add jsonSerialize function to PartiallySignedTransaction, to get the JSON serialized value of all PSBT fields.
  • Expose Transaction class's txid, weight, size, vsize, isCoinBase, isExplicitlyRbf, version, isLockTimeEnabled, lockTime, input and output functions.

v0.27.3

28 Apr 01:15
b4a2c87
Compare
Choose a tag to compare

[0.27.3]

Fixed

  • drainTo() method fixed #69

v0.27.2

23 Mar 17:15
c8a37b2
Compare
Choose a tag to compare

[0.27.2]

API changed

  • txBuilder.finish() & bumpFeeTxBuilder.finish() returns a TxBuilderResult instead of a PartiallySignedTransaction.

v0.27.1

07 Mar 18:54
6bb09ef
Compare
Choose a tag to compare

[0.27.1]

Updated Rust ( Bdk to latest version 0.27.1 ) and Flutter dependencies.

APIs added

  • New Transaction class that can be created from or serialized to consensus encoded bytes.
  • Add estimateFee(int Target) function for Blockchain
  • Add getInternalAddress() function for Wallet
  • Add AddressIndex.reset(int index) & AddressIndex.peek(int index)

APIs changed

  • partiallySignedTransaction.extractTx() returns a Transaction instead of a the transaction bytes.
  • blockchain.broadcast() takes a Transaction instead of a PartiallySignedTransaction

v0.3.2

08 Feb 15:11
13fbbf3
Compare
Choose a tag to compare

#52 Fixed build issue for iOS when using build configuration with flavors
#53 Added toString method for all objects

v0.3.1

31 Jan 23:48
89d124c
Compare
Choose a tag to compare

#48 Fixed Pub.dev analysis score
#49 Fixed type mismatch in descriptorSecretKey

v0.3.0

30 Jan 17:10
c1452b8
Compare
Choose a tag to compare

Updates to incorporate API from bdk ffi v0.26

APIs changed

  • The descriptor and changeDescriptor arguments on the wallet constructor now take a Descriptor instead of a String.

APIs added

  • Added RpcConfig, BlockchainConfig.rpc
  • Added Descriptor type with the following named constructors:
  • Default create constructor, that requires a descriptor in String format and a Network
  • newBip44 constructor returns a Descriptor with structure pkh(key/44'/{0,1}'/0'/{0,1}/*)
  • newBip44Public constructor returns a Descriptor with structure pkh(key/{0,1}/*)
  • newBip49 constructor returns a Descriptor with structure sh(wpkh(key/49'/{0,1}'/0'/{0,1}/*))
  • newBip49Public constructor returns a Descriptor with structure sh(wpkh(key/{0,1}/*))
  • newBip84 constructor returns a Descriptor with structure wpkh(key/84'/{0,1}'/0'/{0,1}/*)
  • newBip84Public constructor returns a Descriptor with structure wpkh(key/{0,1}/*)
  • asString returns the public version of the output descriptor in String format
  • asPrivateString returns the private version of the output descriptor if available, otherwise, return the public version

API documentation is available at here