Skip to content

v0.1.40

Choose a tag to compare

@coreyphillips coreyphillips released this 25 Feb 15:03
· 6 commits to master since this release
34a1b44

This Release

Rewrites the Trezor module (src/modules/trezor/) using trezor-connect-rs,
enabling device discovery, connection, and Bitcoin operations over USB and Bluetooth.


Supported Operations

Operation Description
trezor_initialize Initialize the Trezor manager
trezor_scan Discover USB + BLE devices
trezor_list_devices List previously discovered devices without rescanning
trezor_connect / trezor_disconnect Device connection lifecycle
trezor_get_address Derive Bitcoin address (P2PKH, P2SH-P2WPKH, P2WPKH, P2TR)
trezor_get_public_key Get xpub at BIP32 path
trezor_get_device_fingerprint Get master root fingerprint (8-character hex)
trezor_sign_message / trezor_verify_message Message signing and verification
trezor_sign_tx Full Bitcoin transaction signing with RBF support
trezor_sign_tx_from_psbt Sign transaction from base64 PSBT
trezor_clear_credentials Clear Bluetooth pairing credentials

Additional Capabilities

  • UI Callbacks

    • PIN entry
    • Passphrase entry
    • BLE pairing prompts
    • Implemented via TrezorUiCallback and TrezorTransportCallback
  • BLE Credential Persistence

    • Save and load pairing credentials
    • Enables reconnection without re-pairing
  • State Queries

    • trezor_is_initialized
    • trezor_is_connected
    • trezor_get_connected_device
    • trezor_get_features
    • trezor_is_ble_available