diff options
Diffstat (limited to '60.md')
| -rw-r--r-- | 60.md | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -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`. | |||
| 39 | Tags: | 41 | Tags: |
| 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 |
| 44 | Token events are used to record unspent proofs. | 47 | Token events are used to record unspent proofs. |