Core concepts
The mechanics of Scalar on one page, with links to the full detail.
This page summarizes how trading on Scalar works. Each section links to the page that covers it in full.
The contract
Every market trades one unit: a contract that pays from $0 to $10. At the end of its cycle, the contract settles to a value from 0 to 1. The long side is paid the settlement value × $10. The short side is paid the rest.
| Settlement value | Long is paid | Short is paid |
|---|---|---|
| 1.00 | $10.00 | $0.00 |
| 0.50 | $5.00 | $5.00 |
| 0.00 | $0.00 | $10.00 |
See The $10 contract.
Price and collateral
A contract trades at a price from $0 to $10. The price is what the market expects the contract to pay: a price of $3.00 means an expected settlement value of about 0.30.
When a trade fills, the buyer pays the price and the seller pays $10 minus the price. The contract on Base holds the full $10 until settlement, so every position is fully collateralized. The most a buyer can lose is the price. The most a seller can lose is $10 minus the price. Nothing is ever liquidated.
BTC opens the hour at $60,050. You buy one hourly Spread contract with strikes at $59,900 and $60,200, at $5.00. BTC ends the hour at $60,110, 70% of the way from the lower strike to the upper strike. The contract settles at 0.70 and pays you $7.00. You make $2.00. The seller paid $5.00, receives $3.00 and loses $2.00.
Netting
A long and a short on the same market cancel each other. To close a position before the end, trade the other side for the same size. Each pair that nets returns $10 to your balance at once. See Positions and P&L.
Products and cycles
A product is one payoff on one asset, on a fixed cycle length, such as Spread-BTC-Hourly. Each run of a product is a cycle, and cycles run back to back. A cycle sets its levels (strikes, barriers and range bounds) from the asset's price at its first second, so every cycle opens close to the money. One cycle with one set of levels is a market, with its own order book. See Markets and cycles.
Payoffs and settlers
A payoff is the rule that turns the price of the asset into a settlement value. Each payoff is a settler contract on Base. Some payoffs read only the end price. Others read the path of the price during the cycle: whether it touched a level, or how long it stayed in a range. See What you can trade.
Resolution
At the end of a cycle, anyone can submit the signed Pyth prices that the settler needs. This is a proof. The contract checks every signature, and the settler computes the settlement value. For payoffs that read the path, a challenge window lets anyone submit a better proof. When the market resolves, every position is paid into its owner's balance automatically. See How settlers work and Settlement and payouts.
Matching and custody
Orders are signed messages. A matching engine matches them offchain, by price and then time. The Scalar contract on Base checks both signatures on every trade, holds all USDC and records every position. Only your signature can trade or withdraw your funds, and you can withdraw without Scalar if it stops. See How Scalar works and Deposits and withdrawals.
Key numbers
| Item | Value |
|---|---|
| Payout per contract | $0 to $10 |
| Price range and step | $0.01 to $10.00, in steps of $0.01 |
| Collateral | USDC |
| Network | Base (Sepolia testnet today) |
| Price source | Pyth Lazer |
| Testnet cycles | 5 minutes and 1 hour |
| Challenge window on testnet | 1 hour |
| Maximum trading fee | 5% of notional, for each side |