From 8b29b4a3dde88f3330913b3c269733a200c1d801 Mon Sep 17 00:00:00 2001 From: John Heenan Date: Tue, 17 Sep 2024 09:16:59 +1000 Subject: [PATCH 1/2] Clarify interface of Nostr plugin requesting optional private key as it is causing confusion --- Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml index a347330..28a9700 100644 --- a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml +++ b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml @@ -48,10 +48,10 @@
- + -

OPTIONALLY, provide the private key to your pubkey so that zaps are signed directly by you as proof of receipt. Supports hex and nsec. Will be converted to hex once saved.

+

OPTIONALLY, provide the private key to your pubkey so that zaps are signed directly by you as proof of receipt. Otherwise receipts are signed by a random private key that you cannot prove you signed. Supports hex and nsec. Will be converted to hex once saved.

From 1c2725acd1ee051acdc8d19f1a6b5ceeb0414952 Mon Sep 17 00:00:00 2001 From: John Heenan Date: Tue, 17 Sep 2024 12:05:47 +1000 Subject: [PATCH 2/2] Add mopre clarifcation about use of lightning address with nostr address --- Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml index 28a9700..7c0fcde 100644 --- a/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml +++ b/Plugins/BTCPayServer.Plugins.NIP05/Views/Nip5/Edit.cshtml @@ -26,13 +26,13 @@ -

For Zaps, just enable a lightning address. None of the nostr settings on this page are needed for zaps anymore.

+

For Zaps, just enable a lightning address. At least one lightning address must exist to receive zaps, even when nostr enabled here. None of the nostr settings on this page are needed for zaps anymore.

- +
@@@Context.Request.Host.ToUriComponent()@Context.Request.PathBase