diff options
| author | Alex Gleason <alex@alexgleason.me> | 2026-04-10 13:31:37 -0500 |
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2026-04-10 13:31:37 -0500 |
| commit | 5e1e24766910fc07cb61a049aed2623987458ec2 (patch) | |
| tree | b7588f61fddf9374268d5cd6f4e3f2655d7c840a /69.md | |
| parent | b8782df594b4e7e8f088869134908eed58be6078 (diff) | |
| parent | 3465f540e3eaedccb5309711b502f0febf56b52f (diff) | |
Merge nip44-big-payloads into bigger-nip44bigger-nip44
Diffstat (limited to '69.md')
| -rw-r--r-- | 69.md | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -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 | ||
| @@ -80,6 +82,7 @@ Currently implemented on the following platforms: | |||
| 80 | - [Mostro](https://github.com/MostroP2P/mostro) | 82 | - [Mostro](https://github.com/MostroP2P/mostro) |
| 81 | - [@lnp2pBot](https://github.com/lnp2pBot/bot) | 83 | - [@lnp2pBot](https://github.com/lnp2pBot/bot) |
| 82 | - [Robosats](https://github.com/RoboSats/robosats/pull/1362) | 84 | - [Robosats](https://github.com/RoboSats/robosats/pull/1362) |
| 85 | - [Peach Bitcoin](https://github.com/Peach2Peach/peach-nostr-announcer-bot) | ||
| 83 | 86 | ||
| 84 | ## References | 87 | ## References |
| 85 | 88 | ||