Technical Overview
Getting Started
Phoenix 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 program is available in the developer SDK. Structs used by Phoenix are defined in the phoenix-v1 crate.
Program Overview
The Phoenix 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