Core Requirements:
- Monitor cNFT trades across all major Solana NFT marketplaces
- Tensor
- Magic Eden
- Others as needed
- Filter for DePredict collections
- Only track cNFTs from their markets
- Identify market_id, outcome_side, shares from metadata
- Calculate implied probabilities
- Extract sale price from transaction
- Divide by shares to get per-share price
- That's your implied probability
- Aggregate and normalize
- Collect all recent trades (last hour? last day? configurable)
- Calculate weighted average
- Ensure YES% + NO% = 100%
- Publish data feed
- Store in database
- Expose via API
- Optionally push to oracle (Switchboard/Chainlink)