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 --- crypto/src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 crypto/src/lib.rs (limited to 'crypto/src/lib.rs') diff --git a/crypto/src/lib.rs b/crypto/src/lib.rs new file mode 100644 index 0000000..92bf68a --- /dev/null +++ b/crypto/src/lib.rs @@ -0,0 +1,10 @@ +// Placeholder crypto module for OnionCoin +// Production implementation would include: +// - Ring signatures (Monero-style) +// - Bulletproofs for confidential transactions +// - Stealth address generation +// - Key derivation (HD wallets) + +pub mod keys; + +pub use keys::{KeyPair, PublicKey, SecretKey}; -- cgit v1.2.3