nostr
nostr copied to clipboard
MMR tag: add merkle mountain range tag
Description
Add merkle mountain range as an append only vector commitment to nostr events' metadata. This produces an authenticated event log.
The NIP was briefly sketched here
The current PR fork is used here
@yukibtc
we further worked out the code to integrate MMR into nostr
we isolated the library side in this file https://github.com/nostronaut/mmr-nostr/blob/master/src/lib.rs
that could belong to a feature in this crate if there's interest, not important though. for example, we have to recreate EventId, in order to not impl Foreign trait for foreign type, et cetera
we plan to write the nip after implementation is decent
@yukibtc
we further worked out the code to integrate MMR into nostr
we isolated the library side in this file https://github.com/nostronaut/mmr-nostr/blob/master/src/lib.rs
that could belong to a feature in this crate if there's interest, not important though. for example, we have to recreate EventId, in order to not impl Foreign trait for foreign type, et cetera
we plan to write the nip after implementation is decent
Thanks, I will check your repo.
If it's needed to recreate EventId and other struct, I think it's better to integrate the code in the nostr
crate, as you said.