From cb4bd7d7c10cadcb43f82c09b13ffed744e541f7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 17 May 2026 04:37:15 +0530 Subject: Phase 5: Lightning auto-payout with LNURL-pay and NUT-05 melt - New lnurl_pay.c/h: LNURL-pay protocol (GET .well-known/lnurlp + callback) - New lightning_payout.c/h: threshold-based auto-payout with multi-recipient split - Extended nucula_wallet bridge with nucula_wallet_melt() (NUT-05) - Config: payout section with multi-mint, multi-recipient, fee_tolerance - Default: enabled, TollGate@coinos.io, min_payout=128, min_balance=64 - 18 new unit tests (all passing), 134 total --- tests/unit/stubs/nucula_wallet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unit/stubs') diff --git a/tests/unit/stubs/nucula_wallet.h b/tests/unit/stubs/nucula_wallet.h index 260ec35..399b3b5 100644 --- a/tests/unit/stubs/nucula_wallet.h +++ b/tests/unit/stubs/nucula_wallet.h @@ -12,6 +12,7 @@ uint64_t nucula_wallet_balance(void); int nucula_wallet_proof_count(void); char *nucula_wallet_proofs_json(void); esp_err_t nucula_wallet_swap_all(void); +esp_err_t nucula_wallet_melt(const char *bolt11_invoice, uint64_t max_fee_sats); void nucula_wallet_print_status(void); #endif -- cgit v1.2.3