Skip to content
Solana has one global state, 200ms slots, and sub-cent fees. One transaction can call any program, such as DEXs, lending markets, oracles, and perps, and it runs all or nothing.
  1. Fetchprices and liquidity
  2. Quotea route within slippage
  3. Signthe swap transaction
  4. Executeevery instruction atomically
  5. Settleboth balances at once

​Start building

New to settlement on Solana? Watch a trade priced from a live oracle settle both legs at once, then settle one from your own machine with the DvP program.
Settle a trade atomically · 4 steps · ~40 minSettle a tradePrice a trade from a live oracle, then settle it so the asset and the USDC payment move in one transaction, or neither does.
  1. Watch a trade settle
  2. Read the code
  3. Run it from your machine
  4. Go live
Start the tutorial →

​Ship reliably