Market dynamics
A market brings together a repository token and an asset to trade it against. Understanding that pair helps you read prices, review a quote, and see where trading fees go.
Start with the trading pair
Each repository market has its own token, with a name, ticker, and image. Its liquidity pool holds that token alongside a pairing asset, also called the numeraire. You’ll see the pairing asset on the market page.
In a market paired with WETH, for example, the pool exchanges WETH for repository tokens when someone buys, and repository tokens for WETH when someone sells. The pairing gives the price its unit: a price of 0.01 WETH means one repository token is worth 0.01 WETH at that point in the pool.
The platform also shows a dollar price. Because WETH itself has a dollar value, the dollar price of the repository token can change even when its price in WETH stays the same.
Liquidity and price movement
The assets available in the pool are its liquidity. A trade changes the balance between those assets and moves the price. How far it moves depends on the size of the trade and the liquidity available at the prices it passes through.
This is why the price on a chart and the quote for a particular trade answer different questions. The chart gives you a reference price. The quote shows what you can expect to receive for the amount you’ve entered, taking the trade’s effect on the pool into account. That effect is called price impact.
Review the quote before you trade
Enter an amount in the trade panel to see your quote. Read the expected output, fees, price impact, and minimum received together. If you change the amount, review the updated quote before continuing.
Prices can move between the quote and confirmation. Your slippage tolerance sets how much movement you accept, and the minimum received expresses that limit as an amount of tokens. For example, a minimum of 99 tokens means the swap must deliver at least 99 tokens to complete.
Your wallet may first ask you to approve token spending, then to confirm the swap. The approval gives permission to use the input token; the swap makes the exchange. Once it is confirmed, you can follow the transaction link to its receipt and find your new balance in Wallet. The platform guide covers each step on screen.
Where trading fees go
Each trade contributes fees according to the market’s terms. The market’s fee details show the rate and how it is divided among recipients, including the repository key holder, FreecodeFund, and Doppler. For a market whose fee decreases over time, check the current rate when you review your trade.
The repository’s share is its royalty. The current repository key holder can collect that share from Wallet → Earnings. As a developer, you can review these terms in the launch preview before your market goes live; afterward, the market page shows readers how its fees are distributed.
Creator allocation and vesting
Alongside the tokens offered through the pool, a launch can reserve an allocation for the creator. The launch preview shows the amount, the recipient wallet, and the vesting schedule: the dates over which those tokens become available to claim.
A schedule may include a cliff, an initial period before any tokens become claimable. After that, the schedule determines how much is available at each point in time. Review both the cliff and the full vesting period when deciding on your launch.
To see how the repository key connects these rights to your wallet, continue to Identity & repositories.