Trezor
Bitcoin Accounting

Trezor + Clams

xPub

Trezor is a pioneering hardware wallet that keeps your Bitcoin private keys offline. Clams tracks your Trezor using an xPub exported via Trezor Suite. Your signing keys never leave the device. Full accounting visibility without compromising security.

What Clams tracks

  • All addresses from your wallet derivation paths
  • Incoming and outgoing transactions
  • Individual UTXOs with cost basis
  • Transaction fees paid
  • Capital gains on each spend

How it works

01

Export xPub from Trezor Suite

Open Trezor Suite, select your BTC account, go to the "Details" tab, and find your xPub at the bottom. Your signing keys stay secure on your Trezor.

02

Add connection in Clams

Create an xPub connection with the Clams CLI. Replace the xpub value in the command below with your exported key.

$ clams connections create --label my-trezor --kind XPub --configuration '{"xpub":"YOUR_XPUB","address_types":["bech32"]}'
03

Sync transaction history

Run the sync command below to discover all addresses and import your full transaction history.

$ clams connections sync --label my-trezor
04

Generate journal entries

Process your imported transactions into accounting journals with the command below.

$ clams journals process

Frequently asked questions

What data does Clams import from Trezor?

Clams imports all addresses derived from your xPub, incoming and outgoing transactions, UTXOs, and calculates cost basis per UTXO. Your signing keys never leave the Trezor.

Does Clams access my private keys?

No. Clams uses watch-only access via xPub. Your signing keys stay secure on your Trezor device. The xPub only allows Clams to view addresses and transactions, not spend funds.

Can I track multiple Trezor wallets?

Yes. Add each Trezor wallet separately in Clams using its xPub. Each wallet gets independent tracking and reporting.

Which Trezor models are supported?

All Trezor models are supported including Trezor One, Model T, and Safe series. Any device that can export an xPub via Trezor Suite works with Clams.

How do I get capital gains reports from my Trezor transactions?

Export your xPub from Trezor Suite and add it to Clams. Clams calculates cost basis for every UTXO and tracks capital gains when you spend. Export reports from the Exports widget.

Do I need my Trezor connected to sync new transactions?

No. Once you've added the xPub to Clams, you can sync at anytime. Your Trezor can stay safely disconnected.

Start tracking your Trezor wallet

Install Clams and connect your wallet in minutes.