Start here
Rooq on BNB Chain
Eleven private crypto perps on BNB Chain testnet, priced from Hyperliquid's oracle. Markets, setup and contracts.
On this page
Rooq on BNB Chain
Rooq runs a third deployment on BNB Chain testnet. It's the same protocol as on Robinhood Chain and Elysium: the same proofs, the same privacy and the same contracts, with one addition described under Contracts. What differs is the markets, the collateral and the gas token.
Open it at bnb.rooq.trade.
| Robinhood Chain testnet | Elysium testnet | BNB Chain testnet | |
|---|---|---|---|
| App | rooq.trade | elysium.rooq.trade | bnb.rooq.trade |
| Chain ID | 46630 | 99801 | 97 |
| Gas token | ETH | HYPE | tBNB |
| Markets | Stock Token spot and perps, BTC and ETH perps | 11 crypto perps | 11 crypto perps |
| Collateral | USDG | tUSDC (test token) | tUSDC (test token) |
| Prices | A single relay that Rooq runs | A single relay that Rooq runs, reading Hyperliquid's oracle | A single relay that Rooq runs, reading Hyperliquid's oracle |
BNB Chain is a layer 1, so there's no settlement layer behind it. A transaction is final once BNB Chain finalizes it, a few blocks after it's included.
Markets
Eleven perps are open. There's no spot trading on BNB Chain yet.
| Market | Tier | Most leverage | Maintenance margin | Largest single position |
|---|---|---|---|---|
| BTC, ETH, PAXG | A | about 3x | 20% | 0.5 of the asset |
| BNB, SOL, HYPE, ZEC, AAVE, TAO, LTC, VVV | B | 2x | 35% | 10 of the asset |
Every market charges a 0.06% taker fee, a 1% liquidation penalty and at most 0.01% funding an hour. The worst close spread a maker can commit to is 0.5%. Tier A markets cap open interest at $500,000 and tier B at $100,000.
Each market tracks a reference token whose name ends in "(Mock, no supply)". Nothing is ever minted or traded. The token only names the asset the market's price feed follows.
Perps, Funding and fees and Closing and liquidation explain how matching, margin and liquidation work. All of it applies here unchanged.
Where prices come from
Prices work the same way as on Elysium. Each market's price is Hyperliquid's validator oracle price for that asset. Rooq's price relay reads it and posts it on chain when it moves 0.25%, or at least every 30 minutes.
The relay refuses to post when Hyperliquid's oracle price and mark price are more than 2% apart. On chain, the oracle treats any price older than an hour as stale, and Rooq's contracts don't use a stale price as the mark. If prices stop for a long time, the forced exit in Closing and liquidation still lets you leave.
This is a single relay that Rooq runs. The app labels it TEST price relay, single operator.
Getting started on BNB Chain
- Get tBNB for gas. Claim it from the BNB Chain testnet faucet. You need it for public transactions like shielding.
- Connect your wallet at bnb.rooq.trade. If it's on another network, Rooq asks you to switch to BNB Chain testnet.
- Get test USDC. In the Shield dialog, choose Get test USDC. It mints up to 10,000 tUSDC to your wallet, once an hour.
- Create your private account and shield. This works the same as on Robinhood Chain. See Getting started.
- Trade. Pick a market, set size and margin, and place the order. Your browser builds the proof, a relayer sends it, and a maker takes the other side.
Private balances on each chain are separate. Tokens you shield on BNB Chain stay in BNB Chain's Rooq contract.
What the chain shows
On BNB Chain a trade looks the same as on the other two chains. The relayer's address sends the transaction, it carries no value, and its input is a proof and encrypted notes. Size, side, entry and liquidation price aren't published.
Shielding and unshielding are public, as on every chain. How privacy works lists exactly who can see what. Paste any transaction into Inspect to see it for yourself.
Contracts
All contracts are verified on Sourcify. Check them on BscScan testnet.
| Contract | Address |
|---|---|
| PrivatePairs | 0x76CD5599233D90Bd83307eA43d4060e176e7A0b2 |
| PrivateSpot | 0xfBa4dabC4B447B252ec28619983050f79A64bd01 |
| PrivateMarkets | 0x2ADC781f68c98e19a005C99d62f2c4620F48EE3A |
| KeyPossession | 0xd81b06f2722Bb78005BE17E5014E2C20E74a744F |
| OracleAdapter | 0x01b9a474797A81201FE16125c3b7cF7814f3089d |
| Module registry | 0x598Cddea190C51Dc600b12A982B29ba4D9870f36 |
| tUSDC (collateral) | 0xcbC6BE549f982d22e9EDe1484b5A3d43372452Da |
Governance:
| Role | Address |
|---|---|
| Timelock (48 hours) | 0x665736d2b8be0AD287534244c49Fa36a5dFaA5Da |
| Operations Safe (2 of 3) | 0xDbE4F5e860F4CCafcb72C144B6806Cd152c7D445 |
| Veto Safe (1 of 3) | 0x17E4A3de5195327367FEa265f8054a8017F560Be |
| Price relay operator | 0x109204c94872210cC9D666A284Ba4069c6DE2E55 |
Every change goes through the timelock, and the veto Safe can cancel it during the wait. New modules wait 14 days in the registry before they can be used.
Before PrivateMarkets accepts the operator keys that liquidation and fees depend on, each key holder has to prove they hold the key. BNB Chain lets one transaction use at most 16,777,216 gas, and checking all four proofs while creating PrivateMarkets takes more than that. So on BNB Chain each proof is checked in its own transaction by KeyPossession, and PrivateMarkets reads the result. PrivateMarkets refuses a KeyPossession contract that doesn't use its own proof verifier, so the check is the same one the other chains run inline.
As on Elysium, PrivateMarkets is deployed with two risk tiers. The other contracts are built from the same source as on Robinhood Chain.
API
The private read API and relayer for BNB Chain are at https://bnb-api.rooq.trade. They take the same requests as the Robinhood Chain API described in API and SDK.
Testnet
Everything on BNB Chain testnet is testnet. tUSDC and tBNB here have no value. The Risks page applies in full, and the single price relay above is one more reason to treat prices as test prices.