upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2024-08-07 11:31:39 +0100
committerPablo Fernandez <p@f7z.io>2024-08-07 11:31:39 +0100
commit9f9ab83ee9809251d0466f22c188a0f13abd585a (patch)
tree41a8dd399fcbcddf10b3490089a061502ece9e82
parent0298bbdd05850832ee6b91c90dc8b5eb9e7efcec (diff)
move unit to tag
-rw-r--r--61.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/61.md b/61.md
index d46b154..33442a3 100644
--- a/61.md
+++ b/61.md
@@ -46,7 +46,8 @@ Clients MUST prefix the pubkey they p2pk-lock with `"02"` (for nostr<>cashu pubk
46 content: "Thanks for this great idea.", 46 content: "Thanks for this great idea.",
47 pubkey: "sender-pubkey", 47 pubkey: "sender-pubkey",
48 tags: [ 48 tags: [
49 [ "amount", "1", "sat" ], 49 [ "amount", "1" ],
50 [ "unit", "sat" ],
50 [ "proof", "{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}" ], 51 [ "proof", "{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}" ],
51 [ "u", "https://stablenut.umint.cash", ], 52 [ "u", "https://stablenut.umint.cash", ],
52 [ "e", "<zapped-event-id>", "<relay-hint>" ], 53 [ "e", "<zapped-event-id>", "<relay-hint>" ],
@@ -57,6 +58,7 @@ Clients MUST prefix the pubkey they p2pk-lock with `"02"` (for nostr<>cashu pubk
57 58
58* `.content` is an optional comment for the nutzap 59* `.content` is an optional comment for the nutzap
59* `amount` is a shorthand for the combined amount of all outputs. -- Clients SHOULD validate that the sum of the amounts in the outputs matches. 60* `amount` is a shorthand for the combined amount of all outputs. -- Clients SHOULD validate that the sum of the amounts in the outputs matches.
61* `unit` is the base unit of the amount.
60* `proof` is one ore more proofs p2pk-locked to the pubkey the recipient specified in their `kind:10019` event. 62* `proof` is one ore more proofs p2pk-locked to the pubkey the recipient specified in their `kind:10019` event.
61* `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`. 63* `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`.
62* `e` zero or one event that is being nutzapped. 64* `e` zero or one event that is being nutzapped.