upleb.uk

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

summaryrefslogtreecommitdiff
path: root/69.md
diff options
context:
space:
mode:
Diffstat (limited to '69.md')
-rw-r--r--69.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/69.md b/69.md
index 8a28331..997cac6 100644
--- a/69.md
+++ b/69.md
@@ -41,7 +41,8 @@ Events are [addressable events](01.md#kinds) and use `38383` as event kind, a p2
41 ["name", "Nakamoto"], 41 ["name", "Nakamoto"],
42 ["g", "<geohash>"], 42 ["g", "<geohash>"],
43 ["bond", "0"], 43 ["bond", "0"],
44 ["expiration", "1719391096"], 44 ["expires_at", "1719391096"],
45 ["expiration", "1719995896"],
45 ["y", "lnp2pbot"], 46 ["y", "lnp2pbot"],
46 ["z", "order"] 47 ["z", "order"]
47 ], 48 ],
@@ -55,7 +56,7 @@ Events are [addressable events](01.md#kinds) and use `38383` as event kind, a p2
55- `d` < Order ID >: A unique identifier for the order. 56- `d` < Order ID >: A unique identifier for the order.
56- `k` < Order type >: `sell` or `buy`. 57- `k` < Order type >: `sell` or `buy`.
57- `f` < Currency >: The asset being traded, using the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard. 58- `f` < Currency >: The asset being traded, using the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) standard.
58- `s` < Status >: `pending`, `canceled`, `in-progress`, `success`. 59- `s` < Status >: `pending`, `canceled`, `in-progress`, `success`, `expired`.
59- `amt` < Amount >: The amount of Bitcoin to be traded, the amount is defined in satoshis, if `0` means that the amount of satoshis will be obtained from a public API after the taker accepts the order. 60- `amt` < Amount >: The amount of Bitcoin to be traded, the amount is defined in satoshis, if `0` means that the amount of satoshis will be obtained from a public API after the taker accepts the order.
60- `fa` < Fiat amount >: The fiat amount being traded, for range orders two values are expected, the minimum and maximum amount. 61- `fa` < Fiat amount >: The fiat amount being traded, for range orders two values are expected, the minimum and maximum amount.
61- `pm` < Payment method >: The payment method used for the trade, if the order has multiple payment methods, they should be separated by a comma. 62- `pm` < Payment method >: The payment method used for the trade, if the order has multiple payment methods, they should be separated by a comma.
@@ -67,7 +68,8 @@ Events are [addressable events](01.md#kinds) and use `38383` as event kind, a p2
67- `name` [Name]: The name of the maker. 68- `name` [Name]: The name of the maker.
68- `g` [Geohash]: The geohash of the operation, it can be useful in a face to face trade. 69- `g` [Geohash]: The geohash of the operation, it can be useful in a face to face trade.
69- `bond` [Bond]: The bond amount, the bond is a security deposit that both parties must pay. 70- `bond` [Bond]: The bond amount, the bond is a security deposit that both parties must pay.
70- `expiration` < Expiration\>: The expiration date of the order ([NIP-40](40.md)). 71- `expires_at` < Expires At\>: The expiration date of the event being published in `pending` status, after this time the event status SHOULD be changed to `expired`.
72- `expiration` < Expiration\>: The expiration date of the event, after this time the relay SHOULD delete it ([NIP-40](40.md)).
71- `y` < Platform >: The platform that created the order. 73- `y` < Platform >: The platform that created the order.
72- `z` < Document >: `order`. 74- `z` < Document >: `order`.
73 75