mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-09-01 05:50:47 -04:00
migrate nips from main nostr repo.
This commit is contained in:
23
03.md
Normal file
23
03.md
Normal file
@@ -0,0 +1,23 @@
|
||||
NIP-03
|
||||
======
|
||||
|
||||
OpenTimestamps Attestations for Events
|
||||
--------------------------------------
|
||||
|
||||
`draft` `optional` `author:fiatjaf`
|
||||
|
||||
When there is an OTS available it MAY be included in the existing event body under the `ots` key:
|
||||
|
||||
```
|
||||
{
|
||||
id: ...,
|
||||
kind: ...,
|
||||
...,
|
||||
...,
|
||||
ots: <base64-encoded OTS file data>
|
||||
}
|
||||
```
|
||||
|
||||
The _event id_ MUST be used as the raw hash to be included in the OpenTimestamps merkle tree.
|
||||
|
||||
The attestation can be either provided by relays automatically (and the OTS binary contents just appended to the events it receives) or by clients themselves when they first upload the event to relays — and used by clients to show that an event is really "at least as old as [OTS date]".
|
Reference in New Issue
Block a user