Under the hood
Privacy model
Xhade keeps your activity out of public view, within clear limits.
How it works
When you deposit, your tokens move into the exchange contract and are tracked as a private balance. Trades, liquidity and perps all happen inside the contract. Each action emits only a sealed receipt id. The details behind it are returned only when your own address asks.
| Data | You | Liquidators | Everyone |
|---|---|---|---|
| Balances | Visible | Hidden | Hidden |
| Positions and profit | Visible | Hidden | Hidden |
| Trade receipts | Visible | Hidden | Hidden |
| Whether a position can be liquidated | Visible | Visible | Visible |
| Deposits and withdrawals | Visible | Visible | Visible |
| Pool sizes and prices | Visible | Visible | Visible |
Limits
- Hidden means left out of events and public read functions. Raw chain storage can still be read by a determined observer.
- Deposits and withdrawals are fully public. Their timing and size can give clues.
- Stronger privacy needs zero-knowledge proofs or encrypted computation. That is on the roadmap, not in this version.
