Merge pull request #3 from arcbtc/nips121

WIP: Unicast event
This commit is contained in:
Arc 2023-06-09 12:22:20 +01:00 committed by GitHub
commit d82b733182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
NIP-121.md Normal file
View File

@ -0,0 +1,19 @@
NIP-121
======
Unicast event `"tags": "r"`
-------------------------------
`draft` `mandatory` `author:benarc`
`route` list of relays as a new tag `"r"`, to help create a unicast route for an events.
```json
{
"tags": [
["r", "<csv of relay IDs>"]
]
}
```
A client receives an event with tag `"r"`, if the client received the event from a relay in the list and it has a connection with the next relay in the list, the client will pass the event to that relay.