BlueWallet
Bitcoin Accounting

BlueWallet + Clams

xPub

BlueWallet is a popular open-source Bitcoin wallet for iOS and Android with both on-chain and Lightning support. Clams tracks your BlueWallet on-chain wallets using an xPub export. Full transaction history with accurate cost basis tracking.

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 BlueWallet

In BlueWallet, select your wallet, tap the three dots menu, then 'Show wallet XPUB'.

02

Add connection in Clams

In Clams, add a new connection and select xPub. Paste the exported value from BlueWallet.

03

Sync transaction history

Clams discovers all addresses and imports your full transaction history.

Resources

BlueWallet documentation

Official BlueWallet docs for wallet setup

Video walkthrough: xPub wallet setup

Frequently asked questions

What data does Clams import from BlueWallet?

Clams imports all addresses derived from your xPub, incoming and outgoing transactions, UTXOs, and calculates cost basis per UTXO. Your private keys stay in BlueWallet.

Does Clams access my private keys?

No. Clams uses watch-only access via xPub. Your private keys remain secure in BlueWallet. The xPub only allows Clams to view addresses and transactions, not spend funds.

Can I track multiple BlueWallet wallets?

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

Does BlueWallet support Lightning?

Yes. BlueWallet supports Lightning via LNDhub (custodial or self-hosted). For on-chain wallets, export the xPub to Clams. For Lightning tracking, connect your LNDhub or underlying node directly to Clams.

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

Export your xPub from BlueWallet 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.

Where do I find my xPub in BlueWallet?

In BlueWallet, select your wallet, tap the three dots menu, then 'Show wallet XPUB'. You can copy or share it via QR code.

Start tracking your BlueWallet

Download Clams and connect your wallet in minutes.