What is a white-label onchain exchange?

A white-label onchain exchange is a trading venue under your own brand and domain that runs on software another company operates. Users sign orders from their own wallets, trades settle on-chain, and the operator sets the fee and receives it on-chain. This page explains how that is built, using BT365 Exchange-as-a-Service as the example, and where it stops. It describes what the code is built to do, not a venue that is running.
What is a white-label onchain exchange?
It has three parts.
- A brand layer. Your name, logo, colours and domain.
- Existing liquidity. Orders go to venues that already have it: decentralised exchange pools for swaps, an onchain order book such as Hyperliquid for perpetual futures, a prediction market such as Polymarket. The venue does not run its own order book.
- User-signed orders. The software builds an order, the user's wallet signs it, and the signed order goes to the venue. Fees settle on-chain.
The operator chooses which products are on, sets the fee and receives it. The provider supplies everything between the user's click and the chain: order building, routes to liquidity, market data, and the controls an operator needs.
How is a white-label onchain exchange different from a white-label centralised exchange?
This page uses the two names for two models. It defines them and does not describe any vendor's product.
In the centralised model the venue runs a matching engine and an order book of its own, and customers deposit funds with the venue, which holds them.
The onchain model has neither. There are no deposits with the operator, because users trade from their own wallets. There is no order book to run, because orders go to public venues. What the operator runs is a brand, a set of products and a fee.
| Centralised model | Onchain model | |
|---|---|---|
| Who holds user funds | The venue, as customer deposits | The user's own wallet |
| Where orders are matched | On the venue's own order book | On public onchain venues |
How does one build serve many brands?
In BT365 Exchange-as-a-Service each venue is a row called a tenant, and one build of the web app is built to serve all of them. What follows is what the code does while Exchange-as-a-Service is switched on. With it off, no venue resolves and the configuration request answers 404 to everyone. The Trading API lane and the swap fee route each have a switch of their own.
When the page loads, it asks the backend for its configuration. The backend works out which venue is asking from the address the request came from, the Origin header, and matches it exactly against each active venue's list of allowed origins. A near miss is no match. The answer carries:
- the venue's app name, logo, favicon, a primary colour and an accent colour;
- the features switched on for it;
- the id of the venue's own login app, when it has one.
The page then re-brands itself. Of the tabs its header shows, only Agents depends on the feature list: it is hidden unless agents is switched on. The Markets, Swap and Portfolio tabs are shown on every venue, and the footer keeps BT365's API Docs, Terms of Service and Privacy Policy links. If no venue matches, the backend answers 404. On BT365's own domain the page then renders as BT365. On any other domain the browser cannot read that answer, and the page shows an error screen. Nothing is rebuilt or redeployed when a venue changes a colour or a feature.
The feature list is a fixed vocabulary of nine keys, and a key that is absent is off. Two of them switch on user-signed API lanes:
| Feature | What it switches on |
|---|---|
| Perps (Trading API) | Hyperliquid perpetual futures on an account that is the user's own wallet. The API returns each order for that wallet to sign |
| Swaps (Agent API) | A quote, and a swap returned as an unsigned transaction for the user to sign |
Two more keys, for prediction markets and for data, are in the vocabulary, and no route or screen is gated on them.
The other five are products where BT365 would sign for an account: agents, Autopilot, copy trading, server-side advanced orders and server-signed swaps. They are locked. None can be switched on unless a super-admin opens a separate lock on that venue, and opening it is written to the audit log.
The web app's perps terminal is outside the feature list and outside the user-signed model. On a venue's page, as on BT365's, it trades on an agent wallet: BT365 operates the key on the user's behalf. For a venue, user-signed perps are on the Trading API lane only.
What does the operator of a white-label onchain exchange control?
The split is deliberate. The partner console is built so that a venue's own staff can:
- change the display name and branding;
- issue and revoke the venue's API keys;
- read the fee terms, the monthly statement, the ledger and the audit trail;
- pause the venue.
Pausing sets the venue to suspended. Only an active venue resolves, so a suspended one answers 404 to the configuration request and every key scoped to it is refused. Resuming is done by BT365.
BT365 sets the rest from the signed agreement: the allowed origins, the feature list, the fee terms and the request quota. The fee terms hold the venue's perps fee and the addresses that receive fees, so those change through BT365 and not in the console. The quota is a ceiling on requests per minute, counted across all of a venue's keys together, with a default of 600. A request over the ceiling is answered 429 with a Retry-After header and uses none of the budget. It exists because venues share one backend, and one venue's traffic must not slow another's.
Fee terms are append-only. A change is a new row with a later start date, never an edit, so the terms in force on any past day can be read back.
A month on a venue, in numbers
Take a swap fee of 35 basis points, BT365's fixed swap rate, and the fee terms' default of 5 basis points on perps, both paid by the user. Assume the venue has named its own perps builder address and its own swap fee wallet, every trade goes through the venue's API keys, every perps account has approved the venue's builder fee, and every swap takes the signed fee route described below. Then both fees settle on-chain to the operator. A basis point is one hundredth of a percent. BT365's own fee is invoiced monthly on swap volume and perps notional, at published rates that step down with volume. The fee terms default to the first step, 10 and 1.5 basis points.
A venue that does $4,000,000 of swaps and $30,000,000 of perps in a month:
- Swaps: 0.35% × $4,000,000 = $14,000 to the operator.
- Perps: 0.05% × $30,000,000 = $15,000 to the operator.
- BT365's invoice, at its published rates for those monthly volumes (10 basis points on swaps under $5 million, 1.2 on perps from $5 million to $50 million): 0.10% × $4,000,000 + 0.012% × $30,000,000 = $4,000 + $3,600 = $7,600.
The operator received $29,000 on-chain and is invoiced $7,600, leaving $21,400 before its own costs. On perps the venue's fee can be set anywhere up to 10 basis points. The swap fee is 0.35% on every venue: the swap rate stored in a venue's fee terms is not read when a swap is built. The invoice follows volume, not the fee.
Where does it stop?
- The products are the ones the provider has connected. A venue cannot list its own markets or run its own order book.
- Not every BT365 product is part of a venue. Options, the launchpad and the BT365 token pages are BT365's own and are not shown on a venue.
- A venue's own login app counts embedded wallets only. A venue with its own login app identifies a user by the embedded wallets they hold in that app. The web app's sign-in is not changed for a venue, so it still lists an external wallet, but on such a venue an external wallet is not accepted as the user's identity.
- The backend is shared. That is what the quota is for.
- Fees reach the operator only through its API keys. A trade placed in the web app is not attributed to a venue, and the operator earns nothing on it.
- The swap fee needs its route. A swap built with the venue's key pays the operator only when the venue has named a fee wallet and the signed fee route is on for the swap contract in use. That route covers direct swaps through Uniswap V3 pools. Any other swap, every multi-hop swap included, pays the fee to BT365.
- Fees have ceilings. A venue's fee terms refuse a perps fee above 10 basis points. Hyperliquid's documentation says builder fees "can be at most 0.1% on perps", and 0.1% is 10 basis points.
- The operator answers for its users. Who it serves, how it markets and where it operates are the operator's to decide and to meet, and the partner agreement records the split.
When is a white-label onchain exchange the wrong choice?
When you need your own order book, your own listings or custody of customer funds. That is a centralised exchange, and a different business.
When the volume is not there. Agreements of this kind carry a monthly floor. With a $5,000 floor and the fees above, a month of $500,000 in swaps and $2,000,000 in perps brings the operator 0.35% × $500,000 + 0.05% × $2,000,000 = $1,750 + $1,000 = $2,750. BT365's fee on that volume is $500 + $300 = $800, so the floor applies and the invoice is $5,000. The operator is $2,250 short.
When you are one trader with a following and not a business. BT365's Creator Edition is built for that: a page of your own, with no venue to operate.
And when trading is your core product and you have engineers to build and maintain signing, routing and reconciliation. Building is slower and it is yours.
Related
- Who holds the keys on a white-label crypto exchange?
- How do Hyperliquid builder codes pay a front end?
- How much does a white-label crypto exchange cost?
- Should you build your own crypto exchange front end or rent one?
BT365 Exchange-as-a-Service starts with a partner call. See the tiers and fees.
BT365 is not available in every jurisdiction, and nothing on this page is investment advice. Trading perpetual futures and prediction markets carries risk of loss.