synor/crates/synor-privacy/src
Gulshan Yadav 49ba05168c feat(privacy): add Phase 14 Milestone 2 - Privacy Layer
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.
2026-01-19 17:58:11 +05:30
..
bulletproofs.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
confidential.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
error.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
lib.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
pedersen.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
ring.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30
stealth.rs feat(privacy): add Phase 14 Milestone 2 - Privacy Layer 2026-01-19 17:58:11 +05:30