Skip to main content

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.ts with live 24h volume from Polymarket Gamma/CLOB APIs.
  • On-Chain Scanning: Replace shadowCalibrationService.ts stub 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.py to 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.