Updated flutter_rust_bridge
to 2.0.0
.
- Exposed
createTestnet
&createMutinynet
toBlockchain
. - Exposed
policies
inWallet
. - Exposed
policyPath
inTxBuilder
. - Exposed
id
,requiresPath
,item
,satisfaction
,contribution
inPolicy
class. - Overrode
toString()
forAddress
,DerivationPath
,Descriptor
,DescriptorPublicKey
,DescriptorSecretKey
,Mnemonic
, PartiallySignedTransaction
,ScriptBuf
&Transaction
.
partiallySignedTransaction.serialize()
serialize the data as raw binary.
- Thread
frb_workerpool
panicked on Sql database access.
- Thread
frb_workerpool
panicked on invalidFingerprint
. SignOptions
issue to acceptwitness-utxo
while signing.
- Removed
multiSig
variable fromSignOptions
. - Updated example app to support
mutinynet
. - Mapped
Hex
,Address
,Descriptor
&Consensus
exceptions.
- Invalid
Bip49Public
,Bip84Public
&Bip86Public
.
Updated Rust and Flutter dependencies.
- Add
InvalidInputException
,InvalidLockTimeException
&InvalidTransactionException
.
- Thread
frb_workerpool
panic onUnknownUtxo
andInvalidPsbtInput
.
- Failed to load
.so
files in android.
Updated Rust and Flutter dependencies.
- Add sealed class
Auth
inRpcConfig
. - Made
PartiallySignedTransaction
class mutable.
- Replace
AddressIndex
'snew
withincrease
. - Renamed
Address
's create tofromString
. txBuilder.finish
returns a tuple.- Added
cargokit
to handle rust binary build
- Functions hang indefinitely on iOS devices.
- Thread
frb_workerpool
panicked.
Updated Rust and Flutter dependencies. MacOS support bug resolved
- Add BIP-86 descriptor template
Support MacOS and unit testing. Updated flutter dependencies.
Updated Rust and Flutter dependencies. Exposed strongly-typed exceptions.
Support Dart 3. Updated Rust and Flutter dependencies.
- Add
isMine
method toWallet
. - Expose script.toBytes() method.
- Multisig issue resolved by adding isMultiSig to signOptions.
- Expose
Wallet
class'sgetDescriptorForKeyChain
andgetPsbtInput
functions. - Expose
TxBuilder
class'saddForeignUtxo
function. - Add
Input
class. - Expose
Descriptor
class'smaxSatisfactionWeight
function.
- Invalid UTF-8 error for txansaction.input().
Updated Rust ( Bdk to latest version 0.28.0 ) and Flutter dependencies.
- Expose
Address
class'spayload
andnetwork
functions - Add
fromScript
constructor toAddress
class - Add
SignOptions
to Wallet.sign() params. - Add
jsonSerialize
function toPartiallySignedTransaction
, to get the JSON serialized value of all PSBT fields. - Expose
Transaction
class'stxid
,weight
,size
,vsize
,isCoinBase
,isExplicitlyRbf
,version
,isLockTimeEnabled
,lockTime
,input
andoutput
functions.
- txBuilder.finish() & bumpFeeTxBuilder.finish() returns a
TxBuilderResult
instead of aPartiallySignedTransaction
.
Updated Rust ( Bdk to latest version 0.27.1 ) and Flutter dependencies.
- 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)
- partiallySignedTransaction.extractTx() returns a
Transaction
instead of a the transaction bytes. - blockchain.broadcast() takes a
Transaction
instead of aPartiallySignedTransaction
- iOS build issue when using flavors
- Added toString method for all objects
- Pub.dev analysis score
- Type mismatch for descriptorSecretKey
Updated Rust ( Bdk to latest version 0.26.0 ) and Flutter dependencies.
- The descriptor and changeDescriptor arguments on the wallet constructor now take a
Descriptor
instead of a String.
- 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
- pub.dev analysis score
- pub.dev analysis score
- pub.dev static analysis warning
- removing internal helper functions from public api
Updated API to match bdk-ffi
- 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