upleb.uk

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

summaryrefslogtreecommitdiff
path: root/75.md
diff options
context:
space:
mode:
Diffstat (limited to '75.md')
-rw-r--r--75.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/75.md b/75.md
index 3a89f90..f3cf5d0 100644
--- a/75.md
+++ b/75.md
@@ -1,6 +1,8 @@
1# NIP-75 1NIP-75
2======
2 3
3## Zap Goals 4Zap Goals
5---------
4 6
5`draft` `optional` 7`draft` `optional`
6 8
@@ -27,7 +29,7 @@ Example event:
27 ["amount", "210000"], 29 ["amount", "210000"],
28 ], 30 ],
29 "content": "Nostrasia travel expenses", 31 "content": "Nostrasia travel expenses",
30 ...other fields 32 ...
31``` 33```
32 34
33The following tags are OPTIONAL. 35The following tags are OPTIONAL.
@@ -43,7 +45,8 @@ The following tags are OPTIONAL.
43 ["closed_at", "<unix timestamp in seconds>"], 45 ["closed_at", "<unix timestamp in seconds>"],
44 ], 46 ],
45 "content": "Nostrasia travel expenses", 47 "content": "Nostrasia travel expenses",
46 ...other fields 48 ...
49}
47``` 50```
48 51
49The goal MAY include an `r` or `a` tag linking to a URL or parameterized replaceable event. 52The goal MAY include an `r` or `a` tag linking to a URL or parameterized replaceable event.
@@ -54,12 +57,14 @@ Parameterized replaceable events can link to a goal by using a `goal` tag specif
54 57
55```json 58```json
56{ 59{
57 "kind": 3XXXX, 60 ...
61 "kind": 3xxxx,
58 "tags": [ 62 "tags": [
59 ... 63 ...
60 ["goal", "<event id>", "<Relay URL (optional)>"], 64 ["goal", "<event id>", "<Relay URL (optional)>"],
61 ], 65 ],
62 ...other fields 66 ...
67}
63``` 68```
64 69
65## Client behavior 70## Client behavior