Phoenix DEX
  • Getting Started
    • Phoenix Overview
    • Technical Overview
      • Key Structures
      • Events
      • Instructions
      • Technical Glossary
      • Seats
        • Phoenix Seat Manager Program
      • Units
      • Market Addresses
    • Market Maker Overview
    • Developer Overview
      • Rust SDK
Powered by GitBook
On this page
  1. Getting Started
  2. Technical Overview
  3. Seats

Phoenix Seat Manager Program

The Phoenix Seat Manager Program allows permissionless limit orders on Phoenix Markets.

PreviousSeatsNextUnits

Last updated 1 year ago

The Phoenix Seat Manager Program can serve as the Market Authority for a Phoenix Market and allows permissionless limit orders by autonomously managing Seats on a Phoenix Market.

For more information on what Seats are and why they are needed, see the section.

Claim a Seat with the Phoenix Seat Manager

There are two ways to claim a seat for a market whose authority is the Phoenix Seat Manager:

  1. Command Line:

    • Download the Phoenix CLI

    • Execute command phoenix-cli claim-seat -ud CS2H8nbAVVEUHWPF5extCSymqheQdkd4d7thik6eet9N

      • CS2...is the market address on which you want to claim the seat

      • Make sure to specify the network that corresponds to the market address. Market CS2... is a devnet market so we add the -ud flag for devnet. For a mainnet market address, use the -um flag or use your own RPC URL with -u YOUR_RPC_URL

  2. SDK New Maker Instructions:

    • Typescript SDK

      • Call the getMakerSetupInstructionsForMarket method

    • Rust SDK

      • Call the get_post_only_new_maker_ixs on the SDKClient object, which will automatically create the instructions to claim a seat

      • If you want to only generate the instruction to claim a seat without placing an order, you can call the create_claim_seat_ix_if_needed

      • If you want to generate instructions to create associated token accounts for a market and claim a seat on the market, you can call the get_maker_setup_instructions_for_market on the SDKClient object

Seats
here
Example Usage
Example Usage
function
method
Source Code