For apps
Your interface. Our clearing.
Add perpetual trading to your app, access shared maker liquidity, and set your app fee.
Bring perpetual trading to your app with encrypted maker quotes and confidential clearing on Solana.
For apps
Add perpetual trading to your app, access shared maker liquidity, and set your app fee.
For makers
Back your encrypted quotes with collateral and earn rebates when they fill.
For traders
Open, manage, and close positions through a Depth-powered app, with your position details encrypted.
Encrypted quotes and positions. Confidential clearing through Arcium. Your wallet authorizes your private view.
*Wallet addresses, markets, transaction activity, and token and margin transfers remain public.
Add private perpetuals to your app or supply liquidity as a maker. Our SDKs handle encryption and track each operation.
import {
create_depth,
} from "@depthhq/sdk";
const admin = await create_depth({
environment: "devnet",
wallet: appOwnerWallet,
});
const registration =
await admin.app.register({
feeBps: 1,
});
const { appId } =
await registration.confirm();
import {
create_depth_maker,
} from "@depthhq/maker-sdk";
const maker = await create_depth_maker({
environment: "devnet",
wallet: makerWallet,
});
const publication =
await maker.quote.publish({
marketId: "SOL-USD",
bidE8: 19_900_000_000n,
askE8: 20_100_000_000n,
maxCapacity: 5_000_000_000n,
validForSeconds: 30,
});
const { quoteId } =
await publication.confirm();
Makers commit collateral and publish encrypted quotes. Arcium processes trades privately; the Solana program verifies the result and applies settlement. Your wallet authorizes access to your account’s private view.
Wallet addresses, markets, transaction timing, and token and margin transfers remain visible. A maker sees its own fill, and an app knows the inputs it collects.
Each filled trade pays 0.05% of its notional: 0.03% to Depth, 0.01% to insurance, and a 0.01% maker rebate. Apps may add up to 0.02%. Solana fees, Arcium costs, and account rent are separate. Unfilled orders have no trade fee.
Depth pauses new risk and unsafe withdrawals. Permanent failure can trigger committee-authorized recovery, revealing committed state for payouts. Depth controls the current devnet committee and can combine its recovery shares to decrypt that state.