Overview
purple.trade offers on-chain perpetual futures with up to 10x leverage. Every trade settles in a single Solana transaction — no off-chain matching, no sequencer delays.Getting Started
1
Connect your wallet
Visit purple.trade and connect your Solana wallet (Solflare supported).
2
Select a market
Choose from available perpetual markets on the home page. Each market shows live price, 24h volume, and open interest.
3
Open a position
Select your direction (Long or Short), set your collateral amount and leverage (1x–10x), then submit the trade.
Inverted Perpetuals
purple.trade uses an inverted perpetual model. The token being traded is the collateral — no borrowing, no synthetics.
The inversion is handled automatically by the UI — you just pick “Long” or “Short” on the token.
Margin & Leverage
Positions below maintenance margin are subject to liquidation. Under-leveraged positions (leverage < 1x) are valid and represent over-collateralized trades.
Atomic Crank + Trade
Every trade transaction includes an atomic KeeperCrank instruction before the trade instruction. This ensures:- The oracle price is fresh (within
max_crank_staleness_slots) - Risk engine state is up to date
- No separate keeper infrastructure is needed
EngineUnauthorized (error 0xf) — this is a freshness check, not an authorization error.
Position Management
Once a position is open, you can:- Increase: Add more collateral or increase leverage
- Decrease: Reduce position size (partial close)
- Close: Exit the entire position
- Deposit collateral: Add margin without changing position size
- Withdraw collateral: Remove excess margin (must stay above initial margin)
Real-Time Data
purple.trade’s backend provides:- Price ticks: 10-second interval oracle price updates
- OHLCV candles: 1m, 5m, 15m, 1h, 4h, 1d timeframes
- Trade detection: Automatic detection of opens, closes, increases, decreases, and liquidations
- Position sync: On-chain position data with computed PnL, margin ratio, and liquidation price
Fees
There are no deposit or withdrawal fees beyond Solana network costs.