Sparrow Wallet
Bitcoin Accounting

Sparrow + Clams

xPub / Descriptor

Sparrow is the most popular Bitcoin-only desktop wallet, known for privacy features and hardware wallet support. Clams tracks your Sparrow wallet using xPub for single sig or descriptor for multisig. Full address discovery, UTXO tracking, and cost basis calculations.

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 from Sparrow

For single sig, export your xPub from Settings. For multisig, copy the output descriptor from Settings > Script Policy.

02

Add connection in Clams

Create a connection with the Clams CLI. Choose the xPub or Descriptor command below based on your wallet type, replacing the placeholder value.

$ clams connections create --label my-sparrow --kind XPub --configuration '{"xpub":"YOUR_XPUB","address_types":["bech32"]}'
$ clams connections create --label my-sparrow-multisig --kind Descriptor --configuration '{"descriptor":"YOUR_DESCRIPTOR"}'
03

Sync transaction history

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

$ clams connections sync --label my-sparrow
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 Sparrow?

Clams imports all addresses, incoming and outgoing transactions, UTXOs, and calculates cost basis per UTXO. Both single sig and multisig wallets are supported.

Does Clams access my private keys?

No. Clams uses watch-only access via xPub (single sig) or descriptor (multisig). Your signing keys stay in Sparrow. Clams can only view transactions, not spend funds.

Can I track multiple Sparrow wallets?

Yes. Add each Sparrow wallet separately in Clams. Each wallet gets its own entry with independent syncing and reporting.

Does Clams support multisig wallets?

Yes. For multisig wallets, export the wallet descriptor from Sparrow and add it to Clams. Clams automatically discovers all addresses and tracks transactions across all signing paths.

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

Connect your Sparrow wallet to Clams via xPub or descriptor. Clams calculates cost basis for every UTXO and tracks capital gains when you spend. Export reports for tax preparation from the Exports widget.

Does Clams discover all addresses automatically?

Yes. Clams scans the derivation paths from your xPub or descriptor and automatically discovers all used addresses. New addresses are detected when you sync.

Start tracking your Sparrow wallet

Install Clams and connect your wallet in minutes.