NeapDocs
Launch app
Docs · Creating a market

Liquidity and markets

Creating a market

Name a NEAR DEX pool, post a 50 USDC bond, and earn half of the market's trading fees.

What you need

RequirementDetail
A price sourceA Ref / Rhea pool on NEAR that pairs the token directly with USDC.
Pool depthAt least 1,000 USDC on the USDC side for a long-tail market. Majors need 10,000 USDC.
Bond50 USDC for a long-tail market.
Token decimalsThe current build prices tokens with 6 decimals. Other decimal counts are on the roadmap.

Steps

  1. Open List a market. Enter a symbol, the DEX contract and the pool id. New here? Use the demo pool button.
  2. Post the bond. One transaction sends USDC to Neap with the market details attached. The market is created as Proposed.
  3. The keeper reads the pool price and activates the market once the price is fresh and the depth check passes. This takes a few seconds, and anyone can do both steps by hand.
  4. Fund the pool on Pools. A new market has an empty pool, so nobody can trade until it has liquidity.

Tiers

A market's terms are set by its tier at creation.

MajorLong-tail
Who listsProtocolAnyone
Bondnone50 USDC
Maximum leverage10x4x
Maintenance margin8%15%
Minimum spread5 bps20 bps
Source pool depth10,000 USDC1,000 USDC

What the lister earns

The lister earns 50% of every trading fee in the market, for as long as it trades. Fees accrue in an on-chain ledger and are claimed with claim_fees.

Share of each trading feeRecipient
50%Market lister
30%Liquidity pool
10%Insurance fund
10%Protocol

Market states

StateMeaning
ProposedCreated, waiting for a first fresh price and the depth check.
ActiveOpen for trading.
ReduceOnlyPositions can be reduced or closed. No new exposure.
PriceUncertainThe price is too old to trust. No fills and no liquidations.
Recovery · WindDown · ClosedReserved for resolving and retiring a market.

A market's price source cannot be changed after it is created.