Skip to content

Releases: synonymdev/bitkit-core

v0.1.51

27 Mar 00:13
1fddbd8

Choose a tag to compare

bump version

v0.1.50

26 Mar 22:48
51a3659

Choose a tag to compare

v0.1.50 Pre-release
Pre-release

This Release:

  • Adds get_transaction_history that queries an xpub's full transaction history and balance via Electrum/BDK.

  • Adds get_transaction_detail that returns full data for a single transaction by txid.

  • New types:

    • HistoryTransaction
    • WalletBalance
    • TxDirection
    • TransactionHistoryResult
    • TransactionDetail
    • TxDetailInput
    • TxDetailOutput

v0.1.49

19 Mar 16:49
aa68bb5

Choose a tag to compare

v0.1.49 Pre-release
Pre-release

This Release:

  • Adds get_transaction_history that queries an xpub's full transaction history and balance via Electrum/BDK.

  • Adds get_transaction_detail that returns full data for a single transaction by txid.

  • New types:

    • HistoryTransaction
    • WalletBalance
    • TxDirection
    • TransactionHistoryResult
    • TransactionDetail
    • TxDetailInput
    • TxDetailOutput

v0.1.48

17 Mar 00:22
8868d60

Choose a tag to compare

What's Changed

Full Changelog: v0.1.47...v0.1.48

v0.1.47

12 Mar 01:35
9e9178d

Choose a tag to compare

v0.1.47 Pre-release
Pre-release

Release v0.1.47

Fixes

  • fix(trezor): Return Result from precomposed_to_sign_params and use typed coin enum
    • Replace unwrap_or(0) with proper error propagation for amount parsing to prevent silent 0-value outputs
    • Change TrezorPrecomposeParams.coin from String to Option<TrezorCoinType> to eliminate invalid coin name bugs
    • Activate network validation in get_address_info to catch address/network mismatches

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_history calls with BDK LastUnused boundary
    • Use HashMap<ScriptBuf, String> for direct UTXO path lookups
    • Add proper coinbase detection via is_coin_base()
    • Add script_type override for ambiguous xpub/tpub prefixes

v0.1.46

11 Mar 10:26
ea770ca

Choose a tag to compare

v0.1.46 Pre-release
Pre-release

Added Pubky fetch profile and contacts

v0.1.45

10 Mar 16:04
cd4908d

Choose a tag to compare

This Release:

  • Moves the following from the trezor module to the onchain module

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

  • AccountType
  • AccountUtxo
  • AddressInfo
  • AccountAddresses
  • ComposeAccount
  • AccountInfoResult
  • SingleAddressInfoResult

Error Types

  • AccountInfoError
  • BroadcastError

v0.1.44

07 Mar 18:24
8598bf3

Choose a tag to compare

This Release:

  • Applies needed migration logic to the activity module

v0.1.43

05 Mar 15:28
498584f

Choose a tag to compare

This Release:

  • Adds account_info module with BDK/Electrum queries (no device required)
  • Adds compose module bridging bitkit-core account types to trezor-connect-rs offline coin selection
  • Adds fetch_prev_txs to retrieve previous transactions needed for non-SegWit signing
  • Adds broadcast_raw_tx to broadcast signed transactions via Electrum
  • Adds AccountInfoError error type for blockchain query operations
  • Adds reverse ScriptType conversion 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

05 Mar 05:26
0e4de89

Choose a tag to compare

What's Changed

  • Add pubky module