upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpablof7z <pfer@me.com>2025-03-12 16:36:14 +0000
committerpablof7z <pfer@me.com>2025-03-12 16:36:14 +0000
commitc7c00c38039640497e25014c573a679f1176f620 (patch)
tree59391b882a392189042884f9f6f0c20fb3ab7bb2
parent4e564ba4d99f247a6c2c1734d01a12c9bda8c1db (diff)
make relays for nip-60 wallets explicitnip-60-relays
-rw-r--r--60.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/60.md b/60.md
index 87449d2..1ee811c 100644
--- a/60.md
+++ b/60.md
@@ -28,7 +28,9 @@ This NIP doesn't deal with users' *receiving* money from someone else, it's just
28 "content": nip44_encrypt([ 28 "content": nip44_encrypt([
29 [ "privkey", "hexkey" ], 29 [ "privkey", "hexkey" ],
30 [ "mint", "https://mint1" ], 30 [ "mint", "https://mint1" ],
31 [ "mint", "https://mint2" ] 31 [ "mint", "https://mint2" ],
32 [ "relay", "wss://relay1" ],
33 [ "relay", "wss://relay2" ]
32 ]), 34 ]),
33 "tags": [] 35 "tags": []
34} 36}
@@ -39,6 +41,7 @@ The wallet event is an replaceable event `kind:17375`.
39Tags: 41Tags:
40* `mint` - Mint(s) this wallet uses -- there MUST be one or more mint tags. 42* `mint` - Mint(s) this wallet uses -- there MUST be one or more mint tags.
41* `privkey` - Private key used to unlock P2PK ecash. MUST be stored encrypted in the `.content` field. **This is a different private key exclusively used for the wallet, not associated in any way to the user's Nostr private key** -- This is only used for receiving [NIP-61](61.md) nutzaps. 43* `privkey` - Private key used to unlock P2PK ecash. MUST be stored encrypted in the `.content` field. **This is a different private key exclusively used for the wallet, not associated in any way to the user's Nostr private key** -- This is only used for receiving [NIP-61](61.md) nutzaps.
44* `relay` - Relay(s) where wallet events should be published. If present, clients SHOULD publish all wallet-related events (`kind:7375`, `kind:7376`, etc.) to these relays. There MAY be multiple `relay` entries. If no `relay` entries are present, clients SHOULD fall back to using the user's [NIP-65](65.md) relays.
42 45
43## Token Event 46## Token Event
44Token events are used to record unspent proofs. 47Token events are used to record unspent proofs.