Velocity ProtocolDevelopers
Concepts

Concepts

These pages describe the onchain half of Velocity: the accounts the Solana program owns, what each field means, how an order moves from placement to fill, and the units the program stores its numbers in. They are written for an integrator with a decoder open, not for a trader. For an integration that only calls the SDK, Velocity SDK is the faster route; these pages are the place to come when a decoded value does not mean what it appeared to.

Where to start

Read Program Structure first for how positions, orders, and margin fit together, then Account Model for the account layouts those mechanics live in. The remaining pages are reference: read each one when the thing it covers comes up.

Two of them correct assumptions that cost integrators real time. Slot duration explains why a slot count is no longer a fixed amount of time and which fields are exempt from that. Program and vault addresses is short but load-bearing: every PDA on Velocity is derived against a program ID that no other deployment shares.

In this section

Porting an integration from another deployment? Start at the migration guide, which lists the renamed symbols, removed instructions, and the behavior changes a compiler cannot catch.