Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMR tag: add merkle mountain range tag #108

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nostronaut
Copy link

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

@nostronaut
Copy link
Author

@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
Copy link
Member

yukibtc commented Jun 6, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants