-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
OpenTTT is used in Ethereum execution-specs tooling and blockchain validation pipelines — environments where Rust is the dominant language. A openttt-rs crate would enable native integration without Node.js dependency.
Scope
- Implement
generate_pot()+verify_pot_signature()in Rust - Publish as
openttt-rson crates.io - Ed25519 signing: use
ed25519-dalekorring - Multi-source time fusion (NIST/Cloudflare/Google NTP) via async HTTP or NTP
Acceptance Criteria
-
cargo add openttt-rsworks -
PotSigner::new()generates Ed25519 keypair -
generate_pot(agent_id, sources)returns aPoTTokenstruct -
verify_pot_signature(pot_hash, signature, public_key)returnsbool -
cargo testpasses
References
- TS reference implementation:
src/pot_signer.ts - PoT wire format:
YELLOW_PAPER.md
Difficulty
Medium — pure Rust, no blockchain knowledge needed. Requires async HTTP for NTP fetching.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers