upleb.uk

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

summaryrefslogtreecommitdiff
path: root/60.md
diff options
context:
space:
mode:
Diffstat (limited to '60.md')
-rw-r--r--60.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/60.md b/60.md
index d184d66..abbe559 100644
--- a/60.md
+++ b/60.md
@@ -28,18 +28,17 @@ 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 ]),
33 "tags": [
34 [ "relay", "wss://relay1.example.com" ], 32 [ "relay", "wss://relay1.example.com" ],
35 [ "relay", "wss://relay2.example.com" ] 33 [ "relay", "wss://relay2.example.com" ]
36 ] 34 ]),
35 "tags": []
37} 36}
38``` 37```
39 38
40The wallet event is an replaceable event `kind:17375`. 39The wallet event is an replaceable event `kind:17375`.
41 40
42Tags: 41Encrypted Tags:
43* `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.
44* `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.
45* `relay` - Relay(s) where the wallet's events (`kind:7374`, `kind:7375`, `kind:7376`) are published to and queried from. Clients MUST use these relays for all wallet operations. If no `relay` tags are present, clients SHOULD fall back to the user's [NIP-65](65.md) relay list. 44* `relay` - Relay(s) where the wallet's events (`kind:7374`, `kind:7375`, `kind:7376`) are published to and queried from. Clients MUST use these relays for all wallet operations. If no `relay` tags are present, clients SHOULD fall back to the user's [NIP-65](65.md) relay list.