From 9f5d864d533ce86459e654f5d78212933c0269ea Mon Sep 17 00:00:00 2001 From: gabrix73 Date: Mon, 1 Jun 2026 18:41:36 +0200 Subject: Initial commit: OnionCoin prototype with Proof-of-Relay consensus OnionCoin is a privacy cryptocurrency that rewards Tor relay operators through a unique Proof-of-Contribution consensus mechanism. Core Features: - Proof-of-Relay: 30% of block rewards go to Tor operators - Native .onion node identity (no IP exposure) - Temporal obfuscation protocols - Dandelion++ over Tor propagation - Native inheritance system with dead man's switch Technical Stack: - Rust workspace with 8 crates - Ed25519/X25519 cryptography - arti (Rust Tor client) integration planned - 10 minute block time, 5-10 TPS design Status: Prototype - Consensus logic complete with passing tests (30/33) - Network layer conceptual design complete - Tor integration pending - Testnet launch planned Q3 2026 License: MIT Author: Gabriele Salati (virebent) Contact: g48rix@gmail.com Website: https://www.gabrielesalati.eu Repository: https://git.virebent.art/virebent/onioncoin --- network/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 network/src/lib.rs (limited to 'network/src/lib.rs') diff --git a/network/src/lib.rs b/network/src/lib.rs new file mode 100644 index 0000000..36d98c6 --- /dev/null +++ b/network/src/lib.rs @@ -0,0 +1,5 @@ +pub mod dandelion; +pub mod propagation; + +pub use dandelion::{DandelionRouter, DandelionPhase}; +pub use propagation::{PropagationManager, PropagationStrategy}; -- cgit v1.2.3