Technical Overview

Getting Started

Phoenix Legacy is deployed on Solana devnet and mainnet-beta at PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY. The SOL/USDC devnet market has market activity, making it the best testing ground for developers today.

All the code you'll need to get started interacting with the Phoenix Legacy program is available in the developer SDKarrow-up-right. Structs used by Phoenix Legacy are defined in the phoenix-v1arrow-up-right crate.

Program Overview

The Phoenix Legacy program is the entrypoint to the DEX. Instructions exist to place swap (market) orders, place limit orders, cancel orders, withdraw funds, etc.

Market creation is permissionless. Each market has a MarketAuthority, initially set to the creator of the market. The MarketAuthority can change the market's status, manage Seats for market makers, and change the fee destination of the market.

Devnet Tokens

See here on how to acquire devnet SOL, the base token, and the quote token for a devnet market.

Last updated