Bitcoin deposit
Every active name gets its own on-chain address, derived from the GetZap xpub (m/84'/0'/0'/0/index).
Someone sends BTC to that bc1…. After 2 confirmations we credit the user’s LNbits wallet in sats. They spend it as Lightning (kk@getzap.me, zaps, NWC).
The coins stay in the platform on-chain wallet (reserve). An operator later batches them into Phoenix or Boltz when there is enough (default 20 000 sats). Users do not get their own seed.
Look up an address:
GET https://api.getzap.me/v1/identity/kk GET https://api.getzap.me/v1/onchain/kk
At 10k users this still works: one xpub, one address per name, one watcher. Do not send everyone to a single Phoenix swap-in address.