Releases: synonymdev/bitkit-core
Releases · synonymdev/bitkit-core
v0.1.51
v0.1.50
This Release:
-
Adds
get_transaction_historythat queries an xpub's full transaction history and balance via Electrum/BDK. -
Adds
get_transaction_detailthat returns full data for a single transaction by txid. -
New types:
HistoryTransactionWalletBalanceTxDirectionTransactionHistoryResultTransactionDetailTxDetailInputTxDetailOutput
v0.1.49
This Release:
-
Adds
get_transaction_historythat queries an xpub's full transaction history and balance via Electrum/BDK. -
Adds
get_transaction_detailthat returns full data for a single transaction by txid. -
New types:
HistoryTransactionWalletBalanceTxDirectionTransactionHistoryResultTransactionDetailTxDetailInputTxDetailOutput
v0.1.48
What's Changed
- BDK copose PSBT by @ben-kaufman in #78
- feat: Add Pubky profile and contacts fetching APIs (v0.1.46) by @ben-kaufman in #76
Full Changelog: v0.1.47...v0.1.48
v0.1.47
Release v0.1.47
Fixes
- fix(trezor): Return
Resultfromprecomposed_to_sign_paramsand use typed coin enum- Replace
unwrap_or(0)with proper error propagation for amount parsing to prevent silent 0-value outputs - Change
TrezorPrecomposeParams.coinfromStringtoOption<TrezorCoinType>to eliminate invalid coin name bugs - Activate network validation in
get_address_infoto catch address/network mismatches
- Replace
Improvements
- refactor(onchain): Optimize account info with single connection, script-based lookups, and coinbase detection
- Reuse single Electrum client for block height and wallet sync
- Replace sequential
script_get_historycalls with BDKLastUnusedboundary - Use
HashMap<ScriptBuf, String>for direct UTXO path lookups - Add proper coinbase detection via
is_coin_base() - Add
script_typeoverride for ambiguousxpub/tpubprefixes
v0.1.46
Added Pubky fetch profile and contacts
v0.1.45
This Release:
- Moves the following from the
trezormodule to theonchainmodule
Functions
get_account_info()get_address_info()broadcast_raw_tx()detect_account_type()detect_network_from_key()normalize_extended_key()build_descriptors()derive_base_path()
Types
AccountTypeAccountUtxoAddressInfoAccountAddressesComposeAccountAccountInfoResultSingleAddressInfoResult
Error Types
AccountInfoErrorBroadcastError
v0.1.44
This Release:
- Applies needed migration logic to the activity module
v0.1.43
This Release:
- Adds
account_infomodule with BDK/Electrum queries (no device required) - Adds
composemodule bridging bitkit-core account types to trezor-connect-rs offline coin selection - Adds
fetch_prev_txsto retrieve previous transactions needed for non-SegWit signing - Adds
broadcast_raw_txto broadcast signed transactions via Electrum - Adds
AccountInfoErrorerror type for blockchain query operations - Adds reverse
ScriptTypeconversion and compose FFI types
(TrezorFeeLevel,TrezorSortingStrategy,TrezorPrecomposeOutput,
TrezorPrecomposeParams,TrezorPrecomposedInput,TrezorPrecomposedOutput,
TrezorPrecomposedResult)
New FFI exports
| Function | Description |
|---|---|
trezor_get_account_info |
Queries account data from xpub via Electrum |
trezor_get_address_info |
Queries balance/UTXOs for a single address |
trezor_account_type_to_script_type |
Maps account type to script type |
trezor_precompose_transaction |
Performs offline coin selection and fee calculation |
trezor_precomposed_to_sign_params |
Converts compose results to signing parameters |
trezor_fetch_prev_txs |
Fetches previous transactions from Electrum |
trezor_broadcast_raw_tx |
Broadcasts signed transaction via Electrum |
v0.1.42
What's Changed
- Add pubky module