📕 SDK Documentation

SDK Documentation

Drift Protocol is an open-sourced (opens in a new tab), decentralised exchange built on the Solana blockchain, enabling transparent and non-custodial trading on cryptocurrencies.

There are language bindings in Typescript (opens in a new tab) and Python (opens in a new tab), as well as self-hosted HTTP gateway (opens in a new tab).

You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.

This API documentation page is open-sourced. Feel free to submit questions/comments in Issues (opens in a new tab) or suggest changes as a PR (opens in a new tab).

DriftPy step-by-step guide:

🆘 For any help or setup questions, feel free to ask in #research-and-dev-chat (opens in a new tab) on Discord!