Welcome
opcode is a trading terminal for tokenized stocks and ETFs on Solana. Swap USDC or SOL for a stock token, or back. Quick routes through external liquidity on every market; OPmode is a firm quote from opcode's own pool on the markets that have one. These pages explain what you see before you sign and how to follow a trade afterward.
Start here
If you have a Solana wallet and some USDC or SOL, Your first swap walks you through a trade. You can browse markets and prices without connecting a wallet. Both routes use real funds and require a separate wallet approval for each transaction.
- Your first swapSeven steps, with what you will see at each one.
- Quick and OPmodeTwo routes on one ticket, and what each one promises.
- How a quote is builtThe terms of a price, and a calculator to try them.
- What you are buyingA stock token is not the share. Read this before you trade.
Two ways to trade
Quick shows an estimated output, a minimum received, the slippage tolerance and the fee before you sign. OPmode is a firm quote from opcode's own pool: exact input, output, fee and an expiry of up to 10 seconds, signed for your wallet. It runs on ten markets, NVDAx, SPYx, QQQx, GLDx, TSLAx, AAPLx, MSFTx, METAx, COINx and CRCLx, marked OP in the market list, and the ticket opens on it there while the pool can quote. Its price starts from the underlying stock or ETF price from Pyth, verified on chain, and it quotes only while a US market session is open, so not at weekends or on exchange holidays.
- Review before signing. Read the quote in the selected mode; Quick estimates and OPmode firm amounts have different guarantees.
- Prices in context. Market references, session information and token details help you understand what you are trading.
- Your wallet stays in control. Signing in moves no funds. A trade needs your separate transaction approval.
- Follow the result. Saved orders show their status and link to the transaction when one has been submitted.
The eight parts
The same eight glyphs appear across the site, the terminal and these pages. Each marks one part of the system. When an OPmode order moves from Priced to Final in the ticket, its stages light up with the same marks.
- Taker
Asks for a price on an exact input amount.
- Reference
The price path the pools are quoted around, tick by tick.
- Session
New York's clock. The lit arc is when the share trades.
- Pool
One market's inventory, steering toward its target.
- Engine
Adds base, size, confidence and session, then skews by inventory.
- Signer
Closes Ed25519 brackets around the exact amounts.
- Ledger
The chain. Input, output and fee settle in one transaction.
- Hedge
The offsetting trade. Dashed: none is sent; the pool keeps its inventory.
How these docs are arranged
The first two groups are walk-throughs: do this, then this. The next two explain what you are looking at and what you are holding. Launch covers the launchpad. Go deeper is for readers who want the mechanism: the signed message, the program's checks, the pools, the API. Reference holds the risks, short answers and the glossary. Pages in the walk-throughs fold their advanced material into sections marked Go deeper, so you can skip it without losing the thread.
- TradeThe terminal · Placing a swap · Receipts and history · When something goes wrong
- Understand the priceHow a quote is built · Sessions and market hours · Reference prices · Fees and limits
- The assetsWhat you are buying · Dividends, splits and the multiplier · Markets
- LaunchHow a launch works · Conviction and FOMO · Launch terms and fees
- Go deeperSettlement on Solana · Pools, inventory and skew · Risk controls · Verify it yourself · API reference
- ReferenceRisks · Questions · Glossary