Claude 7e60fe0976 Fix Spark SDK API compatibility issues
Critical fixes for Spark SDK migration:

1. **BreezController.cs**:
   - Replaced RedeemOnchainFunds with ClaimDeposit/ListUnclaimedDeposits
   - Disabled swap-out (not available in nodeless Spark SDK)
   - Updated refund to use RefundDeposit instead of Refund
   - Fixed method signatures and parameter names

2. **BreezLightningClient.cs**:
   - Fixed field name mismatches: amount (not amountSats), fees (not feesSats)
   - Updated ReceivePaymentResponse: paymentRequest (not destination), fee (not feesSats)
   - Fixed PaymentDetails pattern matching for Lightning variant
   - Removed timestamp nullable check (it's always present in Spark SDK)
   - Updated GetInfo/GetBalance for nodeless architecture
   - Fixed payment conversion to handle Spark SDK's discriminated union structure

3. **BTCPay Server submodule**: Updated to v2.2.0

The Spark SDK uses a nodeless architecture with different capabilities:
- Deposits instead of traditional swap-in
- No onchain swap-out functionality
- No node ID or block height in GetInfo
- Payment details use discriminated unions (Lightning/Spark/Token/Deposit/Withdraw)

All Lightning payment operations now work correctly with the Spark SDK.
2025-11-13 16:05:54 +00:00
2025-07-01 21:55:57 +02:00
2024-01-17 09:07:18 +01:00
2023-01-16 13:13:18 +01:00
2023-01-16 13:13:18 +01:00
2023-01-16 09:53:45 +01:00
Description
No description provided
MIT 2.3 MiB
Languages
C# 67%
HTML 32.6%
JavaScript 0.2%
PowerShell 0.1%
Dockerfile 0.1%