Predicta - Next Steps π
Current development focus for the upcoming weeks following the V2 Identity Migration.π΄ High Priority: Phase 10 Hardening
1. Server-Side Security
- Privy JWT Verification: Implement strict token validation for all Next.js API routes and Cloud Functions using the Privy App Secret and JWKS.
- Farcaster Signatures: Finalize cryptographic verification for Farcaster Frame interactions to prevent state spoofing.
- Secret Migration: Securely store all V2 secrets (Privy, Simulation, CDP) in Firebase Secret Manager.
2. Data Integrity
- Real-Time Volume: Replace stubs in
marketService.tswith live 24h volume from Polymarket Gamma/CLOB APIs. - On-Chain Scanning: Replace
shadowCalibrationService.tsstub with real historical wallet analysis.
π‘ Medium Priority: Ecosystem Expansion
1. Persona Simulation (QA)
- Behavioral Diversity: Expand persona definitions to include more complex multi-step flows (Faction Raid, Mimic Follow).
- Regression Dashboard: Create a simple UI to view βObserverβ summaries across simulation runs.
2. Mimic Relay (V2)
- Farcaster Hub Sync: Connect
mimic_relay.pyto real-time Farcaster hubs for low-latency signal detection.
π’ Growth & Governance
1. PRED Utility
- Staking MVP: Basic staking contract to unlock premium AI archetypes and higher copy-trading limits.
2. Mainnet Prep
- Gas Optimization: Analyze UserOperation costs with CDP vs Pimlico to optimize treasury top-up intervals.