This is a convenient wrapper around the official TrezorConnect library.
It enables you to connect to Trezor devices and sign Stellar transactions in a few lines of code:
// Step 1: Register to Trezor Connect Manifest
trezorWallet.register("example.org", "dev@example.org")
// Step 2: Connect
await trezorWallet.connect()
// Step 3: Get public key
const pubkey = trezorWallet.publicKey
// Step 4: Sign
await trezorWallet.sign(transaction)
This library is browser-only.
Go to Documentation