# Phoenix Legacy Seat Manager Program

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

For more information on what Seats are and why they are needed, see the [Seats](https://ellipsis-labs.gitbook.io/phoenix-dex/tRIkEFlLUzWK9uKO3W2V/getting-started/technical-overview/seats) section.

## Claim a Seat with the Phoenix Legacy Seat Manager

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

1. **Command Line:**
   * Download the Phoenix Legacy CLI [here](https://github.com/Ellipsis-Labs/phoenix-cli#installation)
   * 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
     * [Example Usage](https://github.com/Ellipsis-Labs/phoenix-sdk/blob/329bb644bb2b52ac9092b0896bdf9ae760c58d8a/typescript/phoenix-sdk/examples/placeLimitOrder.ts#L49)
   * **Rust SDK**
     * Call the `get_post_only_new_maker_ixs` on the `SDKClient` object, which will automatically create the instructions to claim a seat
     * [Example Usage](https://github.com/Ellipsis-Labs/phoenix-sdk/blob/329bb644bb2b52ac9092b0896bdf9ae760c58d8a/rust/examples/src/bin/place_order.rs#L60)
     * 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` [function](https://github.com/Ellipsis-Labs/phoenix-sdk/blob/329bb644bb2b52ac9092b0896bdf9ae760c58d8a/rust/phoenix-sdk/src/utils.rs#L43)
     * 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` [method](https://github.com/Ellipsis-Labs/phoenix-sdk/blob/329bb644bb2b52ac9092b0896bdf9ae760c58d8a/rust/phoenix-sdk/src/sdk_client.rs#L900) on the `SDKClient` object

[**Source Code**](https://github.com/Ellipsis-Labs/phoenix-seat-manager)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ellipsis-labs.gitbook.io/phoenix-dex/tRIkEFlLUzWK9uKO3W2V/getting-started/technical-overview/seats/phoenix-seat-manager-program.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
