padreug commented on issue aiolabs/lightning-pub#11

padreug
2026-04-02T18:40:43Z

Extension: Satoshi Machine (DCA Distribution)
Superseded by #15

The original DCA approach (SSH polling Lamassu PostgreSQL, hourly cron, separate admin/client extensions) has been redesigned as a Nostr-native Cash Provider system in #15.

Key differences:

Providers fund ATMs with fiat and receive BTC as customers do cash-out — replacing the deposit/distribution model

Real-time Nostr events (kind 30079) replace SSH tunnel polling

Commission splits tie into the Split Payments extension (#13) using NIP-57 weights

Single extension with role-based access (provider vs operator) instead of two separate extensions

Provider dashboard via encrypted RPC queries from any Nostr client

The commission calculation logic and proportional distribution math from the original satmachineadmin still apply — they're carried forward into #15's settlement engine.

Keeping this issue open as reference for the original LNbits implementation details and the NIP review comment.