mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
move nutzap comment to content
This commit is contained in:
parent
ea8ce6589e
commit
0298bbdd05
7
61.md
7
61.md
|
@ -43,11 +43,11 @@ Clients MUST prefix the pubkey they p2pk-lock with `"02"` (for nostr<>cashu pubk
|
||||||
```jsonc
|
```jsonc
|
||||||
{
|
{
|
||||||
kind: 9321,
|
kind: 9321,
|
||||||
content: "[{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}]",
|
content: "Thanks for this great idea.",
|
||||||
pubkey: "sender-pubkey",
|
pubkey: "sender-pubkey",
|
||||||
tags: [
|
tags: [
|
||||||
[ "amount", "1", "sat" ],
|
[ "amount", "1", "sat" ],
|
||||||
[ "comment", "Great point" ],
|
[ "proof", "{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}" ],
|
||||||
[ "u", "https://stablenut.umint.cash", ],
|
[ "u", "https://stablenut.umint.cash", ],
|
||||||
[ "e", "<zapped-event-id>", "<relay-hint>" ],
|
[ "e", "<zapped-event-id>", "<relay-hint>" ],
|
||||||
[ "p", "e9fbced3a42dcf551486650cc752ab354347dd413b307484e4fd1818ab53f991" ], // recipient of nut zap
|
[ "p", "e9fbced3a42dcf551486650cc752ab354347dd413b307484e4fd1818ab53f991" ], // recipient of nut zap
|
||||||
|
@ -55,8 +55,9 @@ Clients MUST prefix the pubkey they p2pk-lock with `"02"` (for nostr<>cashu pubk
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
* `.content` is an array of p2pk-locked outputs.
|
* `.content` is an optional comment for the nutzap
|
||||||
* `amount` is a shorthand for the combined amount of all outputs. -- Clients SHOULD validate that the sum of the amounts in the outputs matches.
|
* `amount` is a shorthand for the combined amount of all outputs. -- Clients SHOULD validate that the sum of the amounts in the outputs matches.
|
||||||
|
* `proof` is one ore more proofs p2pk-locked to the pubkey the recipient specified in their `kind:10019` event.
|
||||||
* `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`.
|
* `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`.
|
||||||
* `e` zero or one event that is being nutzapped.
|
* `e` zero or one event that is being nutzapped.
|
||||||
* `p` exactly one pubkey, specifying the recipient of the nutzap.
|
* `p` exactly one pubkey, specifying the recipient of the nutzap.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user