Contract addresses
Contracts, settlers and products on Base Sepolia.
Scalar runs on Base Sepolia (chain ID 84532). Mainnet addresses will be listed here at launch. Every address links to Basescan, where you can read the contract and call it from your wallet.
Protocol
| Contract | Address |
|---|---|
| Scalar protocol | 0xCe2499d306D82EBEa3167710C6e0A9659de5CD05 |
| Test USDC (token symbol USDH, 6 decimals) | 0xEc21D115b9dc3e339F48464922f0eba9C0582385 |
| Pyth Lazer verifier | 0xACeA761c27A909d4D3895128EBe6370FDE2dF481 |
| Executor wallet | 0x51037016C1006ED5d5f50eDD25d9C306F7Cbeb23 |
The Scalar protocol contract holds every balance and position. It is also the EIP-712 verifying contract for orders and withdrawals, with the domain name ScalarProtocol and version 1.
Settlers
| Settler | Address |
|---|---|
| Above / Below | 0x1258a8ab45d46b018ba5fdc66dcf1b9581977537 |
| Spread | 0x8d29123e71b859c4d108e4cf386ffe98ec066da2 |
| One-touch | 0x5fa9b8bc37a40831355434550b3a99ab1445047c |
| Range accrual | 0x5304ee9b0a7e500ef50ea0b3362ab8d6a4333502 |
| Knockout | 0x76eda94ef6605a044175584063bc6783408ea6e7 |
Products
A product address is the product_ptr in the API. The first 20 bytes of every instrument of that product are this address.
| Product | Address | Cycle | Markets per cycle |
|---|---|---|---|
| AboveBelow-BTC-5m | 0xa1e37814cd0f3fecd952248530f10153163992a1 | 5 minutes | 1 |
| AboveBelow-BTC-Hourly | 0x5a46904b8b0764101bb0cb51860fb0eac90cf45e | 1 hour | 1 |
| Spread-BTC-5m | 0x5d637ff2bf6397a40bd103ba2daf2e301537bc59 | 5 minutes | 1 |
| Spread-BTC-Hourly | 0x0a826ee2084fc2c7fb8a5bcd25a7926e8e1d8e27 | 1 hour | 1 |
| OneTouch-BTC-Hourly | 0xe41971a255e9cf0643dcb3286dc7cf46d34d6b95 | 1 hour | 2 (up, down) |
| RangeAccrual-BTC-Hourly | 0x6fb70f36cbf6bc54357077c602fc8a38e0cb9192 | 1 hour | 1 |
| Knockout-BTC-Hourly | 0xab575714e0177002579b3bfa929aea36038e6bca | 1 hour | 2 (up, down) |
All products use the Pyth Lazer feed 1, BTC/USD. The live list is always at GET /products.
Protocol settings
| Setting | Value on testnet | Read it with |
|---|---|---|
| Payout per contract | $10 | getSinglePositionPayout() |
| Price tick in the contract | $0.001 | getTickDenominator() |
| Challenge window | 1 hour | getChallengePeriod() |
| Buffer after a proof | 1 minute | getExecutorBuffer() |
| Maximum trading fee | 5% of notional | getMaxTradeFeeDivisor() (20) |
| Settlement fee | $0 per contract | getSettlementFee() |
| Withdrawal fee | $0 | getWithdrawalFee() |
| Escape-hatch delay | 24 hours | See Withdraw without Scalar |
The contract accepts prices in steps of $0.001. The matching engine accepts prices in steps of $0.01.