> For the complete documentation index, see [llms.txt](https://docs.orriss.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orriss.xyz/creating-a-market.md). Agents can also search and read this documentation through its [MCP server](https://docs.orriss.xyz/~gitbook/mcp).

# Creating a market

Find a reference market, size the first deposit and inspect the costs of a funded SPL/SOL pool.

A funded market pairs wrapped SOL with a standard SPL token. Its creator chooses the first bins, supplies inventory and pays for an initial 30-day price service term. The creator’s fee share and the LP shares on that first deposit are accounted for separately.

## Build the plan

1. Open **Deploy New Liquidity Pool** and enter the token mint. The planner searches indexed markets, ranks candidates by liquidity and checks the selected pair. Review the mint, pair and linked reference venue. The planner can preview SOL or USDC pairs. The funded creation path requires an eligible SOL pair, readable on-chain price and reserves, and the standard SPL Token program.
2. Choose one or more bins and enter the **Initial budget** in the displayed quote currency. Read the resulting **bids** and **asks**. The minimum budget covers token precision across all selected bins. It can be much smaller than an economically useful market depth.
3. Review **Deployment costs**. Where deployment is enabled, **Prepare deployment** obtains the exact plan for your wallet. Review the SOL debit and token amount, then **Deploy pool** requests the creator’s signature. If the planner shows **Open existing pool**, follow it. Preparation rejects a second pool for the same mint under the same program.

<figure><img src="https://2901705416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwgb6N4AUimhmgBryw2j4%2Fuploads%2FRYE0uoR6mzLhffGCNiZU%2Fdeployment-planner.png?alt=media" alt="Four bins are selected for JUP/SOL. The 1 SOL budget funds 0.5 SOL of bids and 157.704754 JUP of asks."><figcaption><p>Live JUP/SOL market planner showing four selected bins, the budget and the assets required</p></figcaption></figure>

*In the pictured plan, 1 SOL of budget is divided among four bins. The two bids require 0.5 SOL in total. The two asks require 157.704754 JUP at the sampled price. The budget expresses the value of the inventory. The creator supplies the indicated JUP separately from the SOL.*

## How the budget becomes inventory

For N selected bins and a budget V in SOL, the planner targets V/N SOL of value per bin. Each bid receives that amount of SOL rounded down to whole lamports. Each ask receives (V/N)/P tokens, rounded down to the mint precision, where P is SOL per token. Atomic-unit rounding can leave a small part of the budget unallocated.

For a funded SPL market the on-chain program uses the reciprocal quotation, in token atoms per SOL. The planner reverses the bin ordering when it constructs the deposit. Use the direction and units printed by the planner when comparing its numbers with pool state. [Reference prices](https://docs.orriss.xyz/bin-pricing/reference-price.md)

## What the creator pays

| Item           | Treatment                                                                                                                               |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| First position | The wallet supplies the required tokens and SOL. These amounts buy LP shares in the selected bins.                                      |
| Oracle service | 0.1 SOL buys 30 days from initialization. The program records the term expiry on-chain.                                                 |
| Account rent   | Depends on the pool, position, term account and which token accounts need creation. Preparation quotes the wallet’s actual account set. |
| Network fee    | The prepared message specifies the transaction fee. Pool creation requires the creator and service signatures.                          |

The on-chain initialization creates the pool, opens the first position and pays the service in the same transaction. After the service term expires, new signed price updates are rejected. Once the last price exceeds the freshness window, swaps and deposits cannot use it. Withdrawal remains available. The creator’s fixed fee accrues only on actual Orriss pool fills. [LP accounting](https://docs.orriss.xyz/bin-pricing/lp-accounting.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.orriss.xyz/creating-a-market.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
