Skip to content

Instantly share code, notes, and snippets.

Hello everyone!

I'm sharing the current rough draft of the Nymstr Federated Discovery Protocol for feedback.

The protocol aims to:

  • Enable federated username discovery with privacy guarantees over the Nym mixnet
  • Use Merkle-based registration logs, BFT consensus, and gossip for global consistency
  • Prevent metadata leakage, replay attacks, and node equivocation
  • Support ephemeral message delivery via SURBs and rotating home nodes
@code-zm
code-zm / Cargo.toml
Created March 7, 2025 21:41
custom SURBs
[package]
name = "surbfurb"
version = "0.1.0"
edition = "2024"
[dependencies]
nym-sdk = { git = "https://github.com/nymtech/nym", branch = "release/2025.4-dorina-patched" }
nym-sphinx = { git = "https://github.com/nymtech/nym", branch = "release/2025.4-dorina-patched", package = "nym-sphinx" }
nym-topology = { git = "https://github.com/nymtech/nym", branch = "release/2025.4-dorina-patched", package = "nym-topology" }
nym-sphinx-types = { git = "https://github.com/nymtech/nym", branch = "release/2025.4-dorina-patched", package = "nym-sphinx-types" }