426 Commits

Author SHA1 Message Date
f8c3d353e1 Merge pull request #1 from aljazceru/claude/replace-breez-plugin-spark-sdk-011CV63ezSWMkG3iXjQYx6AH
Claude/replace breez plugin spark sdk
2025-11-28 13:14:48 +01:00
Claude
ac191bae17 Fix seed initialization to use Spark SDK Seed.Mnemonic type
The previous implementation incorrectly converted the mnemonic to bytes:
- OLD: var seed = mnemonic.DeriveSeed(); ... seed.ToList()
- NEW: var seed = new Seed.Mnemonic(mnemonic: mnemonic.ToString(), passphrase: null);

This matches the official Spark SDK C# snippets pattern where ConnectRequest
expects a Seed discriminated union type, not a List<byte>.

Reference: https://github.com/breez/spark-sdk/tree/main/docs/breez-sdk/snippets/csharp
2025-11-14 15:55:50 +00:00
Claude
6a739d06bf Update README for Spark SDK migration
- Document Spark SDK (nodeless) vs Greenlight differences
- Update setup instructions (no more certificates/invite codes)
- Clarify liquidity management with deposits
- Document limitations (no swap-out, no node ID)
- Add technical details and build instructions
- Emphasize security warnings for mnemonic storage
2025-11-13 16:06:49 +00:00
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
Claude
855cd20ba6 Replace Breez SDK (Greenlight) with Breez Spark SDK (nodeless)
Major changes:
- Built C# bindings for Breez Spark SDK from source using UniFFI
- Created local NuGet package infrastructure (Breez.Sdk.Spark v0.0.1)
- Replaced Breez.Sdk package reference with Breez.Sdk.Spark
- Updated BreezLightningClient to use async Spark SDK API
- Removed Greenlight-specific code (credentials, invite codes)
- Simplified BreezSettings (no more Greenlight fields)
- Updated BreezService for async client initialization
- Cleaned up BreezController (removed certificate upload logic)

Key differences in Spark SDK:
- Nodeless architecture (no Greenlight hosting required)
- Simplified configuration (only mnemonic + API key)
- All async methods (no BlockingBreezServices)
- Different payment flow (PrepareSendPayment + SendPayment)

The plugin now works with Breez's Spark protocol which provides
a self-custodial Lightning experience without infrastructure hosting.

Note: NuGet package must be built from spark-sdk source before use.
2025-11-13 15:01:05 +00:00
Andrew Camilleri (Kukks)
d27c3d5629 bumping dyn rreports plugin 2025-09-22 14:05:21 +02:00
Andrew Camilleri (Kukks)
a5525eade4 upd btcpay to 2.2 2025-09-04 10:45:30 +02:00
Andrew Camilleri (Kukks)
62ce03e8a2 enhance input system 2025-07-16 09:21:47 +02:00
Andrew Camilleri (Kukks)
5d04e1373f Merge branch 'master' of https://github.com/Kukks/BTCPayServerPlugins 2025-07-05 19:34:17 +02:00
Andrew Camilleri (Kukks)
8c8a93e22b enhance the shit out of it 2025-07-05 19:34:11 +02:00
Andrew Camilleri
98b396e574 Merge pull request #100 from NicolasDorier/fix-blink-expiry
Fix blink expiry
2025-07-05 19:12:33 +02:00
Andrew Camilleri
427010a71d Merge pull request #101 from NicolasDorier/fix-tailor
Fix ticket tailor for 2.1.6
2025-07-05 18:57:22 +02:00
nicolas.dorier
3063353e31 Fix ticket tailor for 2.1.6 2025-07-05 15:01:46 +09:00
nicolas.dorier
dd6d386af7 Fix: BOLT11 had improper expiry time 2025-07-03 22:32:03 +09:00
Andrew Camilleri
2cf3a871a0 Merge pull request #99 from NicolasDorier/fix-not-found-inv
Fix: BlinkLightningClient.GetInvoice should not crash when the invoice is not found
2025-07-02 16:32:44 +02:00
nicolas.dorier
1ffe90da2f Fix: BlinkLightningClient.GetInvoice should not crash when the invoice is not found 2025-07-02 23:28:30 +09:00
Andrew Camilleri
133b4bac03 Update README.md 2025-07-01 21:58:40 +02:00
Andrew Camilleri
8f120df23b Update README.md 2025-07-01 21:58:17 +02:00
Andrew Camilleri (Kukks)
77a837a436 add bitcoin switch plugin 2025-07-01 21:55:57 +02:00
Andrew Camilleri (Kukks)
597ef2110d bump 2025-06-30 08:31:45 +02:00
Andrew Camilleri
d7989c4107 Merge pull request #97 from NicolasDorier/improv-blink
Blink Lightning Client improvements
2025-06-30 08:29:31 +02:00
Andrew Camilleri
34d34d9ace Merge pull request #98 from NicolasDorier/fix-bringin
Fix Bringin plugin crash (#95)
2025-06-27 06:31:13 +02:00
nicolas.dorier
e7c29d01fd Fix: Potential server issue with Blink listener 2025-06-27 11:49:09 +09:00
nicolas.dorier
10438f9a9c Fix Bringin plugin crash (#95) 2025-06-27 09:34:45 +09:00
nicolas.dorier
32bffc4bf6 Blink Lightning Client improvements 2025-06-27 00:17:42 +09:00
Andrew Camilleri
91908c1e7d Merge pull request #96 from rockstardev/blink-listener
More logging information in WaitInvoice method
2025-06-20 22:14:27 +02:00
rockstardev
cf82e88e05 More logging information in WaitInvoice method 2025-06-20 21:37:06 +02:00
Andrew Camilleri
625ee7fbb8 Merge pull request #94 from rockstardev/blink-listener-tweak
Tweaking invoice listening logic for disconnections
2025-06-18 13:06:07 +02:00
rockstardev
031f5fb474 Tweaking invoice listening logic for disconnections 2025-06-18 12:46:13 +02:00
Andrew Camilleri
6761a8f385 Merge pull request #87 from twofaktor/fix_little_typo
[bug] Fixed little typo on Nostr plugin button
2025-03-31 13:55:56 +02:00
⚡️2FakTor⚡️
c777deb6bc Fixed little typo 2025-03-31 13:30:03 +02:00
Andrew Camilleri
8390002e87 attempt to remove coordinators when it's obviously down 2025-03-31 13:05:13 +02:00
Andrew Camilleri
3c741d29ff fix tt and nostr 2025-03-31 12:44:02 +02:00
Andrew Camilleri
8046d11ee4 bump n 2025-02-13 21:28:08 +01:00
Andrew Camilleri
f6ecc8fd72 bump everything 2025-01-29 09:15:54 +01:00
Andrew Camilleri
90684c9f0b bump nwc 2025-01-21 09:31:31 +01:00
Andrew Camilleri
7c8524f709 Merge pull request #84 from NicolasDorier/validate-nostr-conn
Validation of Nostr connection shouldn't be in CreateClient
2025-01-21 09:28:57 +01:00
nicolas.dorier
0c44da8dd1 Validation of Nostr connection shouldn't be in CreateClient 2025-01-21 16:42:24 +09:00
Andrew Camilleri
4220553564 update min ver 2024-12-16 14:49:11 +01:00
Andrew Camilleri
08ba67465b fix cross platform build and bump ff 2024-12-16 14:43:49 +01:00
Andrew Camilleri
d2178b4c04 fix cross platform build and bump ff 2024-12-16 14:40:39 +01:00
Andrew Camilleri
cece3b68fb Merge pull request #77 from dennisreimann/patch-3
FixedFloat: Remove debugger statement in JS
2024-12-16 14:08:15 +01:00
Andrew Camilleri
fda6c1ef20 Merge pull request #76 from dennisreimann/patch-2
FixedFloat: Remove outer div in CheckoutPaymentMethodExtension
2024-12-16 14:07:24 +01:00
d11n
ae528ddf40 FixedFloat: Remove debugger statement in JS 2024-12-12 13:23:53 +01:00
d11n
a5fa1cc136 Update CheckoutPaymentMethodExtension.cshtml 2024-12-12 13:21:26 +01:00
Kukks
d508a91d97 fix nwc validation 2024-12-02 08:38:50 +01:00
Kukks
87417dfb14 bump 2024-11-08 14:10:30 +01:00
Andrew Camilleri
79397ea839 Merge pull request #72 from NicolasDorier/fixup
Fix: Nostr Lighthning Client pay was always failing
2024-11-08 14:05:40 +01:00
nicolas.dorier
d5f664ad9b Fix: Nostr Lighthning Client was always failing 2024-11-08 21:25:12 +09:00
Andrew Camilleri
beda7741a3 Merge pull request #71 from NicolasDorier/blinkerror
Report errors from Blink
2024-11-08 06:55:17 +01:00