←
zkRune
zkRuneFinancial • Medium
Token Swap Proof
Prove sufficient balance for swap anonymously
Difficulty: Medium
Time: ~30 seconds
Privacy: 100% Shielded
Generate Proof
Secret key to authorize the swap
Example: 1500 = 1.5x rate (1 Token A = 1.5 Token B)
How It Works
- 1Enter token balances (private)
- 2Set swap amount and rate
- 3Provide swap authorization secret
- 4System validates swap feasibility
- 5Generate commitment proof
Use Cases
✓
DEX token swaps✓
P2P trading✓
Liquidity proofs✓
Cross-chain swapsTechnical Details
Proof System:zk-SNARKs
Circuit:Age Comparison
Constraints:~1,000
Blockchain:Zcash Testnet
View Circuit Code
See the actual ZK circuit implementation