Status: tested end to end on a local cluster, devnet is next. A paper-trading terminal on the same engine ships with the site.
Open it, pull a position, try to break it.
Built to be checked. The engine exists in JavaScript and in Rust and the two are compared operation by operation: 1,799 identical to the atom, plus 21,000 fuzzed operations with tokens conserved after
each. No floats in the money maths.
The Rust runs as a 77 KB Solana program.
Fees are 0.3% of notional: 82% to the vault, 10% to the protocol, 8% to the market creator, forever.
The oracle is guarded: max 1% move per minute, time-weighted mark, stale feeds halt trading. In tests, a pool pump that pays an attacker 1,316 tokens on 200 now costs them 20.
Each market: collateral is the token, profit and loss are paid in it. A virtual AMM sets slippage and drives funding. One vault is everyone's counterparty and the insurance fund. Anyone can run a
keeper and liquidate.
Margin 5% / 1%. Up to 20x.
Any token. Any leverage. No permission.
Perpy is a permissionless perpetual futures protocol on Solana. Launch a leveraged market for any token, margined in the token itself, up to 20x. No listing committee, no stablecoin.
A thread on how it works.