Reference
Technical reference
The parts of Tandem and how they connect, the venues, chains and contracts involved, the checks run before anything is signed, sessions, and request limits.
Architecture
| Part | What it does | What it cannot do |
|---|---|---|
| Your browser | Shows the pages, checks every quote again before signing, and holds a trading key made in it. | Sign a transfer without your account. |
| Your account | An embedded wallet made at email or Google sign-in, or your own wallet. Signs approvals, transfers and prediction orders. | Be used by Tandem’s server. It signs only in your browser. |
| Tandem server | Keeps sessions, Books and transfer records. Builds and checks Books, checks transfer quotes, reads public data. Places perp and option orders for people who turned that on. | Withdraw or send money. It holds no money, and any key it holds can only trade. |
| Hyperliquid | Holds your perps balance and positions, and the XYZ order books. | Accept an order not signed by a trading key you approved or by your account. |
| Polymarket | Holds your prediction cash and contracts on Polygon, and the prediction order books. | Accept an order you did not sign. |
| Derive | Holds your options cash and positions, and the option order books. | Accept an order not signed by a key you registered or by your account, or pay a withdrawal to anyone but you. |
| Relay | Moves USDC between your accounts and the chains you add money from. | Have a transfer signed unless the quote passes every check below. |
Email and Google sign-in use Privy, which makes and secures the embedded wallet. Tandem checks Privy’s token on its server and binds the session to the wallet Privy reports.
Venues and chains
| Place | Details |
|---|---|
| Hyperliquid | Perps on the XYZ markets, a builder-deployed market set named “xyz”, and ten crypto majors on the main market. Margin is isolated. Cash is USDC. |
| Polygon (chain ID 137) | Your Polymarket account, a deposit wallet worked out from your address. Cash is pUSD, Polymarket’s dollar token. |
| Ethereum (1), Arbitrum (42161), Base (8453), Polygon (137) | Where money can be added from and withdrawn to, as USDC. |
| Robinhood Chain (4663) | Your wallet’s cash and Stock Tokens, counted in your balance. |
| Derive | Options. An on-chain options exchange that settles to Ethereum. You have one standard account (subaccount) for each risk universe you trade, owned by your address. Cash is USDC. |
Contract addresses
These are the addresses Tandem’s checks pin. Check any address on a block explorer before relying on it.
| Contract | Network | Address |
|---|---|---|
| USDC | Ethereum | 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 |
| USDC | Arbitrum | 0xaf88d065e77c8cc2239327c5edb3a432268e5831 |
| USDC | Base | 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 |
| USDC | Polygon | 0x3c499c542cef5e3811e1192ce70d8cc03d5c3359 |
| pUSD | Polygon | 0xc011a7e12a19f7b1f670d46f03b03f3342e82dfb |
| Relay depository | Ethereum, Arbitrum, Base, Polygon | 0x4cd00e387622c35bddb9b4c962c136462338bc31 |
| Relay depository | Hyperliquid | 0x66cf0aace1b4e562593bec10ec7868fba9932224 |
The Relay addresses were checked against Relay’s published chain list and live quotes on 27 November 2026.
Checks before signing
Every Relay quote must pass these checks before anything in it is signed. The same code runs on the server when the quote is fetched and in your browser just before each signature.
| Route | From | To |
|---|---|---|
| Add money | USDC in your wallet on Ethereum, Arbitrum, Base or Polygon | Your Hyperliquid balance |
| Withdraw | Your Hyperliquid balance | USDC at your own address on one of those four |
| Cash for predictions | Your Hyperliquid balance | pUSD in your Polymarket account |
| Sweep back | pUSD in your Polymarket account | Your Hyperliquid balance |
| Cash for options | Your Hyperliquid balance, or USDC on Arbitrum, Base or Polygon, or USDG on Robinhood Chain | USDC on Ethereum at your own Derive deposit address |
| Cash for Stock Tokens | Your Hyperliquid balance, or USDC on Arbitrum or Base | USDG at your own address on Robinhood Chain |
| Network fee for Stock Tokens | Your Hyperliquid balance | ETH at your own address on Robinhood Chain |
- The route is one of those above, with the expected chains, currencies and decimals.
- The sender is you and the recipient is your own account at the destination, worked out on the server from your address.
- The amount is what you asked for, and you receive at least what you were shown.
- Relay’s order pays only that recipient, refunds only to you, and is paid into Relay’s pinned depository, with no extra calls.
- The steps are exactly those the route uses, in order, with every field checked. An approval is for exactly the amount, to the depository. A Hyperliquid send is exactly the amount, from the one balance your account mode allows.
- No transfer may cost more than 50 cents plus 0.5% of the amount, plus Hyperliquid’s one-time charge on a first deposit.
- A fresh quote fetched before signing is used only if it sends no more and delivers no less than the one shown.
Before a stored transfer is signed or followed up, the server works out your accounts again and checks the transfer still names them. A sweep is sent through Polymarket’s gasless relayer. Tandem’s server adds its relayer credentials only when the request matches a stored, re-checked sweep, call for call.
Sessions and requests
- A wallet sign-in follows the Sign-In with Ethereum layout (EIP-4361). Its one-time code is tied to the address, lasts ten minutes and is used up on the first attempt.
- A session lasts 7 days from last use and is renewed at most once a day. The cookie cannot be read by scripts and is sent only over HTTPS in production.
- Only a hash of each session id is stored, so a copy of the database cannot be turned into working sessions. Sign out everywhere deletes every session for the address.
- Every request that changes something must come from Tandem’s own pages. A request from another site is refused.
- Pages carry a content security policy with a per-request nonce, refuse to be framed, and set strict transport security in production.
Request limits
When a limit is reached, the answer says so and how long to wait.
| Request | Limit |
|---|---|
| Building a Book | 6 a minute per account and 12 per internet address. 20 full builds a day per account and 30 per address. |
| Placing a Book | 10 placements a minute per account. |
| Transfer quotes | 20 a minute per account and per address. |
| Sign-in | 20 a minute per address for each step. |
Perp orders sent from your browser go straight to Hyperliquid and follow its own limits. Orders Tandem places have the limits under Letting Tandem place your trades.
These docs describe how Tandem works. They are general information, not financial advice. Trading can lose money. Tandem is in private beta. Status says what beta users can use today.