Everyone sees the trade. Nobody sees your margin. Every order is a proof your browser makes, sent by a relay, settled on Robinhood Chain.
01 · Proof in this tab
Make a real zero-knowledge proof, right here
This runs the same close circuit the terminal uses, with UltraHonk from Aztec's Barretenberg, on your own CPU. Nothing is sent anywhere. It is how every XENONITE trade starts.
$ waiting for you to press the button circuit close · 2^12 rows · 13 public inputs proves position opening, PnL, payout note keeps margin · owner key · stop · target
02 · The pool
Your balance is a set of notes in one shared tree
Each deposit becomes a leaf: H(amount, H(pk, salt)). Spending one proves a path to a recent root and publishes a nullifier, never the leaf itself.
your note and its pathsibling hashes, private inputsspent via nullifier
- 1DepositYour USDG lands as a new leaf:
H(amount, H(pk, salt)). On chain it looks like every other leaf. - 2Hash to the rootThe contract hashes the leaf with its neighbour, then the result with the next one, 20 times, up to a new root.
- 3Prove it is yoursTo spend, your browser proves the leaf sits under a recent root. Which leaf, its path and its amount stay inside the proof.
- 4Spend onceThe proof publishes a nullifier. The contract marks it spent, so the same note can never be used twice, and nobody learns which leaf it was.
- Notes in the tree
- 0
- Nullifiers spent
- 0
- Tree depth
- 20
- Capacity
- 1,048,576
03 · The public record
What a block explorer shows when you open a position
04 · The path of an order
From your tab to the chain in four hops
Your browser
Derives the spend key from one signature, picks notes, builds the witness and proves.
a few seconds · web workerRelay
Simulates first, then sends the proof and pays gas. It can delay, never edit.
POST /api/relayVerifier + pool
Checks the root, the nullifiers, the Chainlink price and the proof, then inserts the new notes.
~3.1–3.5M gasKeeper
Reads the encrypted half, watches the oracle and proves your stop or a liquidation.
payout locked to your key05 · Ten circuits
Everything the protocol accepts is one of these proofs
withdrawPerps · SwapLeave to any address, merge notes, or pay a swap intent72^14openPerps · RFQHidden margin, 1x to 10x, encrypted to the keeper192^14closePerpsOwner close, stop, take profit or liquidation132^12crossCross marginShared hidden collateral for up to four legs202^14cross_liqCross marginKeeper liquidation under 5% equity62^12option_buyOptionsPay the premium, own the option under a hidden tag132^14option_settleOptionsPayout at expiry, only to the owner32^12creditCreditRepay a loan from notes, release ETH anywhere72^14ballotGovernOne secret vote per staked key52^13standingShowdownCombined PnL of up to four closed trades102^1506 · The keeper
Private from the chain. Not from the keeper.
Stops and liquidations need someone who can read your margin. The open circuit encrypts it to the keeper's Grumpkin key and proves it did, so nobody can hide from liquidation. The keeper still cannot move your money: every payout note is locked to your key.
07 · Live
Read straight from the contract
- Proofs verified
- 0
- Volume, USDG
- 0
- Open positions
- 0
- Free house liquidity
- 0
08 · FAQ
Questions
Do I need to trust the relay?
Only for liveness. A proof binds the recipient, amounts and every order field, so the relay can delay a transaction but cannot change it. If it is down, the same proof can be sent from any wallet.
What if I clear my browser?
Notes are stored in this browser under your wallet. Positions the keeper closes are rebuilt from the position data; deposits and change notes are not, so keep your browser data while you hold a balance.
Where do prices come from?
Chainlink feeds on Robinhood Chain. Trades fill at the feed price when the transaction lands; stops and liquidations close at exactly the oracle price.
Who is on the other side?
A house book in USDG. It earns the 0.08% fee on open and close and the margin of liquidated positions, and pays winners. It must hold the full size of every open position in reserve.
What is $XENONITE?
The project token on Robinhood Chain. Its contract address appears on this page once it is live, and nowhere else.