LND
Bitcoin Accounting

LND + Clams

LNC

LND is the most widely deployed Lightning Network implementation. Clams connects to your LND node via Lightning Node Connect (LNC) to track all activity that impacts your balance. This includes on-chain and Lightning transactions. Professional Lightning node accounting without the hassle.

What Clams tracks

  • On-chain funding transactions
  • Channel opens and closes with on-chain fees
  • Lightning invoices and payments
  • Automatic cost basis tracking per transaction
  • Routing fee income from forwarded payments

How it works

01

Generate a read-only LNC pairing phrase

Use Lightning Terminal or litd to create a pairing phrase with read-only permissions.

02

Add connection details in Clams

Create an LND connection with the Clams CLI. Replace the pairing phrase in the command below with yours.

$ clams connections create --label my-lnd --kind Lnd --configuration '{"transport":"lnc","config":{"pairing_phrase":"YOUR_PAIRING_PHRASE"}}'
03

Sync activity

Run the sync command below to import your full transaction history. Re-run anytime to pull the latest activity.

$ clams connections sync --label my-lnd
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 LND?

Clams imports routing fee income, channel opens and closes, on-chain funding transactions, forwarded payments, and all Lightning invoices and payments. Every transaction is automatically categorized for accounting.

Does Clams access my private keys?

No. Clams connects using a read-only LNC pairing phrase. You generate a pairing phrase with only read permissions. Your signing keys remain secure on your node and Clams cannot spend funds.

Can I track multiple LND nodes?

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

Does Clams track routing fee income?

Yes. Clams automatically tracks all routing fee income from forwarded payments. Each fee is recorded with timestamp, amount, and channel details for accurate income reporting and tax preparation.

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

Connect your LND node to Clams. Clams calculates cost basis for all on-chain transactions and tracks Lightning activity. Export capital gains reports for tax preparation from the Exports widget.

Do I need my node online to sync?

Yes. Clams connects to your LND node via LNC to fetch transaction data. Your node must be running and reachable for syncing. Once synced, you can view your data offline.

Start tracking your LND node

Install Clams and connect your node in minutes.