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

Veritas, zone signing and proofs #74

Merged
merged 15 commits into from
Mar 3, 2025
Merged

Conversation

buffrr
Copy link
Member

@buffrr buffrr commented Feb 20, 2025

This PR:

  1. Creates a new lib veritas enabling consumers to verify spaces in a stateless way using Merkle proofs.

  2. Spaces will build and maintain a trust anchors file by default (can be disabled with --skip-anchors

  3. A new /root-anchors.json endpoint and getrootanchors RPC method.

  4. Space-cli now has signzone which creates a signed DNS packet bundled with a merkle proof for publishing.

  5. Space-cli now has refereshanchor which refreshes bundled proofs

  6. provespaceout and provespaceoutpoint RPC options to generate merkle proofs

  7. Prefix crate names with spaces_ and rename node to client to more accurately reflect CSV (Client Side Validation)

  8. Unifies signing operations to adopt the Nostr event format. Removes signmessage and replaces it with signevent. To sign a message, you could sign a Nostr note. For dns events, we use kind 871222 for now.

@horologger
Copy link

Don't forget to change the cargo build command node->client. Just looking at this now.

@buffrr buffrr merged commit de4bb3f into spacesprotocol:main Mar 3, 2025
1 check passed
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