bdk_flutter 0.28.2
bdk_flutter: ^0.28.2 copied to clipboard
A Flutter library for the Bitcoin Development Kit(bdk) (https://bitcoindevkit.org/)
0.28.2 #
APIs added
- Expose
Walletclass'sgetDescriptorForKeyChainandgetPsbtInputfunctions. - Expose
TxBuilderclass'saddForeignUtxofunction. - Add
Inputclass. - Expose
Descriptorclass'smaxSatisfactionWeightfunction.
0.28.0 #
Updated Rust ( Bdk to latest version 0.28.0 ) and Flutter dependencies.
APIs added
- Expose
Addressclass'spayloadandnetworkfunctions - Add
fromScriptconstructor toAddressclass - Add
SignOptionsto Wallet.sign() params. - Add
jsonSerializefunction toPartiallySignedTransaction, to get the JSON serialized value of all PSBT fields. - Expose
Transactionclass'stxid,weight,size,vsize,isCoinBase,isExplicitlyRbf,version,isLockTimeEnabled,lockTime,inputandoutputfunctions.
0.27.2 #
API changed #
- txBuilder.finish() & bumpFeeTxBuilder.finish() returns a
TxBuilderResultinstead of aPartiallySignedTransaction.
0.27.1 #
Updated Rust ( Bdk to latest version 0.27.1 ) and Flutter dependencies.
APIs added
- New
Transactionclass 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
Transactioninstead of a the transaction bytes. - blockchain.broadcast() takes a
Transactioninstead of aPartiallySignedTransaction
0.3.0 #
Updated Rust ( Bdk to latest version 0.26.0 ) and Flutter dependencies.
APIs changed
- The descriptor and changeDescriptor arguments on the wallet constructor now take a
Descriptorinstead of a String.
APIs added
- Added RpcConfig, BlockchainConfig.rpc
- Added Descriptor type with the following named constructors:
- Default
createconstructor, 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
Fixed #
- Dependencies Upgraded
0.2.0 #
Updated API to match bdk-ffi
0.1.4 #
Functionality Added
- Generate Mnemonic method
- Create Descriptors
- Create Extended Key
- Create XPriv
- Create XPub
- Create Wallet
- Get New Address
- Get Last Unused Address
- Get Balance
- Get Transactions
- Get Pending Transactions
- Get Confirmed Transactions
- Sync Wallet
- Create Transaction
- Sign Transaction
- Broadcast Transaction
- Quick Send