upleb.uk

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

summaryrefslogtreecommitdiff
path: root/61.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2025-02-03 09:32:39 -0300
committerfiatjaf <fiatjaf@gmail.com>2025-02-03 09:32:39 -0300
commitbb88c66c1dbbdaed6283e594f33e59452ae9eada (patch)
tree41d0431c65e6302404147fc4ced21850b9fedc34 /61.md
parent22660b4c66223cad4967ece9a22cde06f17ff54b (diff)
remove units everywhere.
Diffstat (limited to '61.md')
-rw-r--r--61.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/61.md b/61.md
index d11a052..78ec86c 100644
--- a/61.md
+++ b/61.md
@@ -50,7 +50,6 @@ Clients MUST prefix the public key they P2PK-lock with `"02"` (for nostr<>cashu
50 content: "Thanks for this great idea.", 50 content: "Thanks for this great idea.",
51 pubkey: "sender-pubkey", 51 pubkey: "sender-pubkey",
52 tags: [ 52 tags: [
53 [ "unit", "sat" ],
54 [ "proof", "{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}" ], 53 [ "proof", "{\"amount\":1,\"C\":\"02277c66191736eb72fce9d975d08e3191f8f96afb73ab1eec37e4465683066d3f\",\"id\":\"000a93d6f8a1d2c4\",\"secret\":\"[\\\"P2PK\\\",{\\\"nonce\\\":\\\"b00bdd0467b0090a25bdf2d2f0d45ac4e355c482c1418350f273a04fedaaee83\\\",\\\"data\\\":\\\"02eaee8939e3565e48cc62967e2fde9d8e2a4b3ec0081f29eceff5c64ef10ac1ed\\\"}]\"}" ],
55 [ "u", "https://stablenut.umint.cash" ], 54 [ "u", "https://stablenut.umint.cash" ],
56 [ "e", "<zapped-event-id>", "<relay-hint>" ], 55 [ "e", "<zapped-event-id>", "<relay-hint>" ],
@@ -61,7 +60,6 @@ Clients MUST prefix the public key they P2PK-lock with `"02"` (for nostr<>cashu
61 60
62* `.content` is an optional comment for the nutzap 61* `.content` is an optional comment for the nutzap
63* `.tags`: 62* `.tags`:
64 * `unit` is the base unit of the amount.
65 * `proof` is one ore more proofs P2PK-locked to the public key the recipient specified in their `kind:10019` event and including a DLEQ proof. 63 * `proof` is one ore more proofs P2PK-locked to the public key the recipient specified in their `kind:10019` event and including a DLEQ proof.
66 * `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`. 64 * `u` is the mint the URL of the mint EXACTLY as specified by the recipient's `kind:10019`.
67 * `p` is the Nostr identity public key of nutzap recipient. 65 * `p` is the Nostr identity public key of nutzap recipient.
@@ -95,7 +93,7 @@ Multiple `kind:9321` events can be tagged in the same `kind:7376` event.
95 "kind": 7376, 93 "kind": 7376,
96 "content": nip44_encrypt([ 94 "content": nip44_encrypt([
97 [ "direction", "in" ], // in = received, out = sent 95 [ "direction", "in" ], // in = received, out = sent
98 [ "amount", "1", "sat" ], 96 [ "amount", "1" ],
99 [ "e", "<7375-event-id>", "relay-hint", "created" ] // new token event that was created 97 [ "e", "<7375-event-id>", "relay-hint", "created" ] // new token event that was created
100 ]), 98 ]),
101 "tags": [ 99 "tags": [