From f25c7e672c23ca5463fa5c0fcb5e5f424d956862 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 1 May 2022 07:48:57 -0300 Subject: migrate nips from main nostr repo. --- 03.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 03.md (limited to '03.md') diff --git a/03.md b/03.md new file mode 100644 index 0000000..578c351 --- /dev/null +++ b/03.md @@ -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: +} +``` + +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]". -- cgit v1.2.3