Appearance
FAQ
Frequently asked questions about Zylith.
General
What is Zylith?
Zylith is a privacy-preserving concentrated liquidity market maker (CLMM) on Starknet. It allows users to trade and provide liquidity without revealing their wallet addresses or transaction amounts.
How is Zylith different from other DEXs?
| Feature | Traditional DEX | Mixer | Zylith |
|---|---|---|---|
| Privacy | None | Full | Full |
| AMM Type | Constant product or CLMM | None | CLMM |
| Capital Efficiency | Varies | N/A | High (concentrated liquidity) |
| Compliance | Full | None | Privacy Pools |
Is Zylith audited?
Zylith is currently under development. Audits will be conducted before mainnet launch.
What chains does Zylith support?
Zylith is deployed on:
- Starknet Mainnet
- Starknet Sepolia (testnet)
Privacy
How does Zylith provide privacy?
Zylith uses zero-knowledge proofs to verify ownership and solvency without revealing:
- Your wallet address
- The amount you're trading
- Your trading patterns
Can anyone see my trades?
Observers can see:
- That a trade occurred
- The approximate size (from pool impact)
Observers cannot see:
- Who made the trade
- Which specific deposit was used
- Your trading history
Is Zylith compliant with regulations?
Zylith implements the Privacy Pools design:
- Dual Merkle trees (deposit + association)
- Association Set Providers can curate "clean" deposits
- Users can prove their funds come from approved sources
What is Privacy Pools?
Privacy Pools is a protocol design that enables compliant privacy. Users can prove their funds are from legitimate sources without revealing their identity.
Technical
How long does a swap take?
| Step | Duration |
|---|---|
| Generate proof | 15-25 seconds |
| Submit transaction | 3-10 seconds |
| Total | ~20-35 seconds |
Why does proof generation take so long?
Generating a Groth16 proof involves complex cryptographic operations. The 15-25 second time is competitive for browser-based proving.
What happens if I lose my secrets?
If you lose the secrets (secret, nullifier) for a commitment:
- You cannot spend those funds
- There is no recovery mechanism
- Always backup your secrets
How do I backup my secrets?
The Zylith frontend provides an export function:
- Connect wallet
- Unlock secrets
- Export encrypted backup
- Store backup securely
Can I run my own relay server?
Yes. The relay server is open source. Running your own relay provides:
- Censorship resistance
- Maximum privacy
- Independence from third parties
Usage
How do I deposit tokens?
- Connect wallet
- Go to Swap or Liquidity page
- Enter amount
- Approve token transfer
- Confirm deposit
The system handles commitment generation automatically.
How do I swap tokens?
- Ensure you have shielded balance (or use bundled deposit+swap)
- Select tokens and amount
- Set slippage tolerance
- Click Swap
- Wait for proof generation and execution
How do I provide liquidity?
- Go to Liquidity → Add
- Enter token amounts
- Set price range
- Confirm deposit + mint flow
- Position is created privately
How do I remove liquidity?
- Go to Liquidity
- Find your position
- Click Burn
- Enter amount to remove
- Confirm with ZK proof
What is slippage tolerance?
Slippage tolerance is the maximum acceptable difference between expected and actual output. It protects against:
- Price movements during execution
- Sandwich attacks
Why did my transaction fail?
Common reasons:
| Error | Cause | Solution |
|---|---|---|
| Invalid proof | Stale Merkle root | Refresh and retry |
| Already spent | Commitment used | Use different commitment |
| Slippage exceeded | Price moved | Increase tolerance |
| Insufficient balance | Not enough tokens | Check shielded balance |
Fees
What fees does Zylith charge?
| Fee Type | Rate |
|---|---|
| Swap fee | 0.3% |
| LP fee | 0.3% to LPs |
| Relay fee | Variable (gas + margin) |
How do LP fees work?
- 0.3% of each swap goes to liquidity providers
- Fees accumulate based on your share of liquidity
- Collect fees via the Collect Fees function
Do I pay gas?
When using the relay:
- Relay pays gas
- Fee deducted from your shielded amount
When submitting directly:
- You pay gas from wallet
- Loses some privacy (wallet linked to transaction)
Troubleshooting
Proof generation is stuck
- Check browser console for errors
- Ensure sufficient memory (400+ MB free)
- Try refreshing the page
- Use a different browser
My balance isn't showing
- Ensure wallet is connected
- Click "Unlock Secrets"
- Sign the message
- Refresh pool state
Transaction pending for a long time
- Check Starknet block explorer
- Wait for network congestion to clear
- Transaction may still succeed
I can't find my position
LP positions are keyed by commitment. Ensure:
- Correct wallet connected
- Secrets are unlocked
- Position was successfully created
Getting Help
Where can I get support?
- GitHub Issues: Bug reports and feature requests
- Discord: Community support (if available)
- Documentation: This site
How do I report a bug?
- Check existing issues
- Create detailed bug report with:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Browser/device info
- Submit to GitHub Issues
Is there a bounty program?
Bug bounty program details to be announced. Focus areas:
- Smart contract vulnerabilities
- ZK circuit issues
- Critical security bugs