Documentation
xStockFi Protocol
xStockFi is an on-chain options protocol that lets you trade covered calls, cash-secured puts, binary options, and yield strategies on 25+ tokenized stocks — directly from your wallet, with no KYC and no brokerage account.
⚡ xStockFi is in active development. Some details may change before mainnet launch.
Overview
Traditional options require a brokerage account, margin approval, and trust in a centralized counterparty. xStockFi removes all of that. Every option on xStockFi is a smart contract on Robinhood Chain. Collateral is locked on-chain, settlement is automatic, and payouts are trustless.
Prices are sourced from Chainlink oracles that update every 30 seconds. At expiry, the settlement price is pulled from the oracle and applied to all positions in the same transaction. No human intervention required.
How it works
Writers and buyers
Options markets have two sides: writers (sellers) who provide collateral and earn premium, and buyers who pay premium for the right to a payout.
- Writers lock collateral (stock tokens for calls, USDG for puts) and receive premium upfront.
- Buyers pay premium and receive a payout if the option expires in-the-money.
Lifecycle
- Writer creates an option, locks collateral, sets strike and expiry.
- Buyer purchases the option and pays premium to the writer.
- At expiry, the Chainlink oracle delivers the final price on-chain.
- Settlement runs automatically — in-the-money options pay out, out-of-the-money options return collateral to the writer.
Getting started
- Connect an OKX Wallet or any EIP-1193 compatible wallet to Robinhood Chain (ID 4663).
- Bridge or deposit USDG into your wallet.
- Open the app, select a product type and market, and place your trade.
No account creation, no email, no KYC. Your wallet is your identity.
Covered Calls
A covered call lets you earn premium income on stock tokens you hold. You lock your stock tokens as collateral, set a strike price above the current price, and sell the call. The buyer pays you premium upfront.
- If the stock expires below your strike, you keep the premium and your stock tokens are returned.
- If the stock expires above your strike, the buyer receives the difference and you keep the premium.
Covered calls are ideal for generating yield on a long position you plan to hold.
Cash-Secured Puts
A cash-secured put lets you earn premium by agreeing to buy a stock at a lower price. You lock USDG equal to the strike value as collateral, and sell the put. The buyer pays you premium upfront.
- If the stock expires above your strike, you keep the premium and your USDG is returned.
- If the stock expires below your strike, you buy the stock at the strike price (funded by your locked USDG) and keep the premium.
Cash-secured puts are a way to get paid to wait for a stock to reach your target buy price.
Binary Options
Binary options are the simplest product on xStockFi. You pick a direction (up or down) and an expiry. If the stock is on your side at expiry, you receive close to 2× your stake. If not, you lose your stake.
- Up binary: pays out if the stock price at expiry is higher than when you entered.
- Down binary: pays out if the stock price at expiry is lower than when you entered.
The protocol fee is taken from the payout pool, so the net payout is slightly below 2×.
Yield Vault
The Yield Vault automates covered call writing. Deposit USDG into the vault and the protocol writes covered calls on your behalf at regular intervals, collecting premiums and compounding them back into your balance.
- No active management required — the vault handles strike selection and timing.
- Premiums compound automatically into your vault share.
- Withdraw your USDG plus accrued yield at any time (subject to the current epoch).
Settlement
All xStockFi positions settle to the Chainlink oracle price at the time of expiry. Settlement is fully automated and runs on-chain in a single transaction — no manual trigger needed from users.
For binary options, the entry price is snapshotted from the oracle at purchase time. For standard options, settlement uses the oracle price at the exact expiry timestamp.
Oracles
xStockFi uses Chainlink price feeds on Robinhood Chain for all market prices. Feeds update every 30 seconds with a 0.1% deviation trigger — meaning the price on-chain is always within 0.1% of the real market price, or updated immediately if it moves more than that.
A separate oracle reader contract aggregates and caches the latest prices for efficient on-chain access.
| Parameter | Value |
|---|---|
| Provider | Chainlink |
| Update frequency | 30 seconds |
| Deviation threshold | 0.1% |
| Network | Robinhood Chain (ID 4663) |
Fees
| Fee type | Amount | Who pays |
|---|---|---|
| Protocol fee | 0.5% | Deducted from payout at settlement |
| Gas | Network gas | User pays on each transaction |
There are no deposit or withdrawal fees. The 0.5% protocol fee is only applied at settlement, not on open positions.
Contracts
| Contract | Address |
|---|---|
| Main contract | TBA |
| Oracle reader | TBA |
| Yield vault | TBA |
All contracts are deployed on Robinhood Chain (chain ID 4663). Source code will be verified on the block explorer at launch.
Market list
xStockFi supports options on the following tokenized stocks at launch. All prices are sourced from Chainlink oracles.
| Ticker | Name |
|---|