Ledger
Bitcoin Accounting
Ledger + Clams
xPubLedger hardware wallets are used by millions to secure their Bitcoin. Clams tracks your Ledger wallet using the xPub, exported via Ledger Wallet or Sparrow. Your signing keys stay on the device. Full accounting visibility with hardware wallet 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
Export xPub from Ledger
Export your xPub via Ledger Wallet or by connecting your Ledger to Sparrow. Your signing keys stay on the device.
Add xPub wallet 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-ledger --kind XPub --configuration '{"xpub":"YOUR_XPUB","address_types":["bech32"]}'
Sync transaction history
Run the sync command below to discover all addresses and import your full transaction history.
$ clams connections sync --label my-ledger
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 Ledger?
Clams imports all addresses derived from your xPub, incoming and outgoing transactions, UTXOs, and calculates cost basis per UTXO. Your signing keys stay on the Ledger device.
Does Clams access my private keys?
No. Clams uses watch-only access via xPub. Your signing keys never leave your Ledger device. The xPub only allows Clams to view addresses and transactions, not spend funds.
Can I track multiple Ledger wallets?
Yes. Add each Ledger wallet separately in Clams using its xPub. Each wallet gets independent tracking and reporting.
Which Ledger models are supported?
All Ledger models with Bitcoin support work with Clams including Nano S, Nano X, and Nano S Plus. Export the xPub via Ledger Wallet or connect through Sparrow.
How do I get capital gains reports from my Ledger transactions?
Export your xPub from your Ledger (via Ledger Wallet or Sparrow) and add it to Clams. Clams calculates cost basis for every UTXO and tracks capital gains when you spend. Export reports for tax preparation from the Exports widget.
Do I need my Ledger connected to sync new transactions?
No. Once you've added the xPub to Clams, you can sync at anytime. Your Ledger stays safely disconnected.
Start tracking your Ledger wallet
Install Clams and connect your wallet in minutes.