upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/61.md
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2024-07-17 09:57:27 +0100
committerPablo Fernandez <p@f7z.io>2024-07-17 09:57:27 +0100
commit90707d555b69ccb11933ad71a07cbac99df69b3e (patch)
tree431c85e1d94007b99789858725b8bf96797aa6ab /61.md
parent506b38916ab67a37b2d98b46b62cf0c0c5fde5a4 (diff)
move over p2pk appendix
Diffstat (limited to '61.md')
-rw-r--r--61.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/61.md b/61.md
index f219f11..2cf27d5 100644
--- a/61.md
+++ b/61.md
@@ -114,4 +114,14 @@ Events that redeem a nutzap SHOULD be published to the sender's [[NIP-65]] relay
114 114
1152. Clients SHOULD normalize and deduplicate mint URLs as described in NIP-65. 1152. Clients SHOULD normalize and deduplicate mint URLs as described in NIP-65.
116 116
1173. A nut zap MUST be sent to a mint the recipient has listed in their `kind:10019` event or to the NIP-65 relays of the recipient, failure to do so may result in the recipient donating the tokens to the mint since the recipient might never see the event. \ No newline at end of file 1173. A nut zap MUST be sent to a mint the recipient has listed in their `kind:10019` event or to the NIP-65 relays of the recipient, failure to do so may result in the recipient donating the tokens to the mint since the recipient might never see the event.
118
119## Appendix 1: Alternative P2PK pubkey
120Sometimes clients might not have access to the user's private key (i.e. NIP-07, NIP-46 signing) and, as such, the private key to sign cashu spends might not be available, which would make spending the P2PK incoming nutzaps impossible.
121
122For this scenarios clients can:
123
124* add a `pubkey` tag to the `kind:10019` (indicating which pubkey senders should P2PK to)
125* store the private key in the `kind:37375` event in the nip44-encrypted `content` field.
126
127This is to avoid depending on NIP-07/46 adaptations to sign cashu payloads. \ No newline at end of file