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.
Milestone 3 of Phase 13 - ZK-Rollup Foundation:
- Circuit definitions (Transfer, Batch, Deposit, Withdraw)
- Proof system with Groth16/PLONK/STARK backends
- Sparse Merkle tree state management
- Rollup manager for batch processing
Technical details:
- Uses arkworks library for ZK-SNARKs
- R1CS constraint system with BN254 curve
- 32-depth state tree supporting 4B accounts
- Batch processing with 1000 tx max
Add synor-hosting crate for decentralized web hosting with:
- Name Registry: On-chain name→CID mapping with ownership, expiry,
and custom domain linking
- Domain Verification: CNAME/TXT DNS verification for custom domains
- Hosting Router: Host-based routing with SPA support, redirects,
and custom headers
- synor.json: Project configuration for build, routes, and error pages
Users can deploy to myapp.synor.cc and optionally link custom domains.
23 tests passing.
A complete blockchain implementation featuring:
- synord: Full node with GHOSTDAG consensus
- explorer-web: Modern React blockchain explorer with 3D DAG visualization
- CLI wallet and tools
- Smart contract SDK and example contracts (DEX, NFT, token)
- WASM crypto library for browser/mobile