Implements comprehensive privacy primitives for confidential transactions: - synor-privacy crate: - Pedersen commitments for hidden amounts with homomorphic properties - Simplified range proofs (bit-wise) for value validity - Stealth addresses with ViewKey/SpendKey for receiver privacy - LSAG ring signatures for sender anonymity - Key images for double-spend prevention - Confidential transaction type combining all primitives - contracts/confidential-token: - WASM smart contract for privacy-preserving tokens - UTXO-based model (similar to Monero/Zcash) - Methods: mint, transfer, burn with ring signature verification 42 passing tests, 45KB WASM output. |
||
|---|---|---|
| .. | ||
| lib.rs | ||