Robinhood Chain · Chain ID 46630

RWA Stock Prediction
Markets

Binary prediction markets on tokenized stocks. ACE-compliant, powered by Chainlink Data Streams on Robinhood Chain. Fully tested with 105 passing tests.

105 Tests Passing
6 Contracts
46630 Chain ID
5 Stock Assets
<$0.001 Gas Cost
How It Works
A complete binary prediction market lifecycle in five steps.
1
Factory Deploys Market
RWAMarketFactory creates a new RWAPredictionMarket contract.
e.g. "Will TSLA close above $300?"
2
Users Buy YES or NO Shares
Participants deposit USDC collateral to buy binary outcome shares at $1 each.
3
Market Expires at Set Timestamp
Each market has a pre-defined expiration. No more trading after this point.
4
Chainlink Data Streams Delivers Price
DataStreamConsumer fetches the stock's closing price via Chainlink Data Streams V3.
Sub-second price feed resolution
5
Winners Claim Collateral Pool
Winning side claims proportional share of the entire USDC collateral pool.
Live Stock Assets
Tokenized stock price feeds deployed on Robinhood Chain (46630).
TSLA
Tesla, Inc.
0xC9f9...Bd4E
283 bytes on-chain
Verified on-chain
AMZN
Amazon.com, Inc.
0x5884...9E02
283 bytes on-chain
Verified on-chain
PLTR
Palantir Technologies
0x1FBE...98d0
283 bytes on-chain
Verified on-chain
NFLX
Netflix, Inc.
0x3b82...0C93
Robinhood Chain
AMD
Advanced Micro Devices
0x7117...778d
Robinhood Chain
Architecture
Factory pattern with Chainlink ACE compliance and Data Streams integration.
Factory
RWAMarketFactory
Deploys & manages markets
Markets
RWAPredictionMarket
Binary outcome trading
Smart Contracts
Six contracts comprising the full RWA prediction market system.
Contract Purpose Lines
RWAPredictionMarket.sol Core binary prediction market with ACE compliance ~280
RWAMarketFactory.sol Factory for deploying and managing markets ~190
DataStreamConsumer.sol Chainlink Data Streams V3 price feed consumer ~220
CompliancePolicyRules.sol Custom compliance rules engine ~310
SimpleToken.sol ERC20 + permit collateral token ~22
BatchTransferHelper.sol Batch compliance validation ~130
Gas Benchmarks
Measured on Robinhood Chain fork. Ultra-low gas costs make prediction markets accessible.
createMarket
1,705,471 gas
~$0.0005
buyShares
~$0.00003
resolve
~$0.00001
claimWinnings
~$0.00001
buyShares: 104,949 gas resolve: 47,338 gas claimWinnings: 34,125 gas
Test Results
Full test suite running against Robinhood Chain fork.
105
Tests Passing
/105
Total Tests
44 compliance
41 market
20 integration
View on GitHub
Example Market Flow
A complete lifecycle: market creation through settlement.
Market: "Will TSLA close above $300?"
Alice
Buys 1,000 YES shares at $1 each
1,000 USDC
Bob
Buys 500 NO shares at $1 each
500 USDC
Pool Total: 1,500 USDC
Chainlink
Data Streams reports TSLA closing price
$310.00
System
Market resolves: TSLA closed above $300
YES WINS
Settlement
Alice
Claims proportional share of entire collateral pool
+1,500 USDC
Bob
Loses position (wrong side of outcome)
0 USDC