Privacy and safety
How privacy works
Exactly what the public, your maker, the risk workers and you can each see.
On this page
Rooq keeps your balance, positions and trades out of public view. It doesn't hide everything, and it isn't anonymity. This page says exactly where the line is.
The short version
Your device holds your keys and makes your proofs. The chain only sees commitments, proofs and encrypted data. A proof shows that a trade follows the rules without showing the trade.
Pick someone below to see Rooq from where they stand.
See Rooq as
Anyone can read Robinhood Chain. This includes people who trade on Rooq just to watch others.
- Shielding and unshieldingCan seeThe wallet or recipient, the token, the amount and the time.
- Your private balanceCannot seeOnly commitments and encrypted data.
- Private transfersCannot seeNot the amount, the token or either person.
- A position's size, side, entry and marginCannot seeOnly that a position opened or changed in a market.
- Which maker backs a fillCannot seeNot published per fill.
- Funding on a positionPartlyThe market's funding index each period. Never your own payment.
- LiquidationsPartlyThat a position in a market was liquidated, and the price. No amounts.
- Spot swapsCannot seeOnly that a pool changed.
- Liquidity you provideCannot seeOnly commitments and encrypted data.
- Pool reserves and open interestPartlyOnly rounded hourly totals that meet a privacy threshold.
- Prices, market rules and contract codeCan seeEverything.
What can still link you
Some things can't be hidden, and some patterns give you away.
- Moving in and out is public. Shielding and unshielding show the address, token, amount and time.
- Distinctive amounts. Shielding 1,337.42 USDG and unshielding the same amount later looks like one person.
- Fast round trips. Shielding and unshielding close together links the two.
- Thin markets. In a market with few trades, public totals and timing can reveal a single trade. A funding index with one position open reveals that position's direction.
- Address reuse. Shielding and unshielding with the same wallet ties them together.
- Gas funding. Paying gas for an unshield from your connected wallet links it publicly.
- Your device. Rooq can't protect you if your device or browser is compromised.
- Your network. The services you connect to can see your IP address. A rate limit holds it in memory for a minute and Rooq's services don't log it. If that matters to you, use a VPN or Tor.
Rooq never falls back to public execution. If proving fails or a service is down, your action stops or refunds. It doesn't quietly go public.
Published market data
Rooq publishes no trade feed. There's no list of individual trades, sizes or accounts.
Market totals are published per hour and rounded to two significant figures. An hour is only published if it has at least 10 fills, at least 2 makers and no single fill above 25% of its volume. An hour that fails rolls into the next one.
This limits what a release can say about one trade. It can't stop a determined person who splits orders across many accounts, because Rooq can't tell who is behind a note.
Who the services are
- Coordinator. Matches locks and fills spot requests. It can only do what your signed limits allow.
- Risk workers. Two services with separate keys. They decrypt each open position's size, margin and entry, against its one-time address, so funding and liquidation work while you're offline. They don't learn your wallet.
- Relayer. Pays gas and submits proofs. It holds no secrets and can't sign for you.
These services can see what's listed above. If one of them keeps or leaks what it has read, proofs can't undo that, and changing keys later can't erase what it learned.
None of them can move your money outside the rules. The contracts and proofs check custody and math, even if every service were dishonest. A service can still delay or refuse to act. The testnet price relay is a separate case. It can set any price within its bounds, and a bad price can cause real losses in a position.
How to verify it
Anyone can check that an action was accepted against the public contracts. The explorer shows that a proof was accepted. It doesn't show your trade, and your receipt in the app is what holds the details.
Share a receipt someone can check
In Private activity, open an entry and choose Save this receipt. For anything that paid a private note to you, such as a swap, a transfer you received, a deposit or a close, the file includes that note's token, amount and leaf. Whoever you send it to can check it at rooq.space/inspect. The check runs in their browser and reads the pool contract directly, so it doesn't rely on Rooq's services.
The receipt doesn't include your keys, your wallet address or your other activity, and nobody can use it to spend the note. It proves that a note with that token and amount was created on Rooq. It doesn't prove who holds the note now or that it hasn't been spent, and anyone who has the file can pass it on.
This page describes the design and the code.