summaryrefslogtreecommitdiffstats
path: root/crypto/src/lib.rs
diff options
context:
space:
mode:
authorgabrix73 <gabriel1@frozenstar.info>2026-06-01 18:41:36 +0200
committergabrix73 <gabriel1@frozenstar.info>2026-06-01 18:41:36 +0200
commit9f5d864d533ce86459e654f5d78212933c0269ea (patch)
tree4b71e8c7ab4e78da93e5f3164803da4de68c7031 /crypto/src/lib.rs
downloadonioncoin-9e960fa6d453b29aef970ba3cd81e9cbbfd94bcc.tar.gz
onioncoin-9e960fa6d453b29aef970ba3cd81e9cbbfd94bcc.tar.xz
onioncoin-9e960fa6d453b29aef970ba3cd81e9cbbfd94bcc.zip
Initial commit: OnionCoin prototype with Proof-of-Relay consensusHEADv0.1.0main
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
Diffstat (limited to 'crypto/src/lib.rs')
-rw-r--r--crypto/src/lib.rs10
1 files changed, 10 insertions, 0 deletions
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};