Production-ready privacy infrastructure for Polkadot governance.
• Zero trust governance — anonymous voting + verifiable tallies
• Censorship-proof publishing — encrypted IPFS/Crust storage
• Transport mix — 3-hop onion relay hides RPC metadata
• Regulator-ready — Merkle commitments + XCM audit trails
• Polkadot-native — Real Substrate runtimes, XCM V4, production pallets
Layer 1: Substrate Parachains
DaoChain (Para 1000) + VotingChain (Para 2001)
pallet-mix-job • pallet-daomix-voting • XCM V4
Layer 2: Dao Mixnet
3 HTTP nodes (9000/9001/9002)
X25519 + XChaCha20-Poly1305 • X25519 + ML-KEM(OPTIONAL) • Fisher-Yates shuffle • Merkle commitments
Layer 3: Transport Mix
Entry→Middle→Exit (9100/9101/9102)
JSON-RPC onion routing • WS proxies (9950/9951) • IP obfuscation
WsProvider → ws://127.0.0.1:9950
Peel 1st layer → Forward to Middle
Peel 2nd layer → Forward to Exit
Peel 3rd layer → DaoChain RPC
Process tx → Emit events → Store state
DaoChain (1000) • VotingChain (2001)
Sibling-parachain XCM flows
3 HTTP nodes • X25519 • XChaCha20-Poly1305
Fisher–Yates shuffle • Merkle proofs
Entry→Middle→Exit onion routing
JSON-RPC IP obfuscation
pallet-mix-job • pallet-daomix-voting
Production-grade Substrate code
IPFS • Crust Network
Encrypted off-chain payloads
demo:setup • demo:start
Zero to full stack in minutes
Anonymous voting + verifiable tallies. Privacy + auditability.
XCM into MixJob pallet from any parachain.
E2E encryption • IPFS/Crust storage • Censorship-resistant.
On-chain Merkle commitments for compliance verification.
Mix-then-reveal prevents MEV and collusion.
# 1. Clone + install deps
git clone https://github.com/Ashar20/daomix.git
cd daomix && npm install
# 2. One-time full setup (build runtimes, install IPFS, generate keys)
npm run demo:setup
# 3. Start everything: 2 parachains + 3 mix nodes + transport mix + UI
npm run demo:start
# 4. Open UI
open http://127.0.0.1:8080
Production-ready privacy infrastructure for Polkadot governance.