Off-chain: Validation and Supabase

All validation logic, gamification, and user management initially operate off the blockchain. This allows us to iterate quickly, scale without high costs, and maintain a smooth user experience.


πŸ” What happens off-chain?

  • πŸ“ Location: detection of courts via OpenStreetMap and custom zones

  • πŸƒβ€β™‚οΈ Physical activity: steps, calories, heart rate, activity type

  • πŸ“² Manual validation: reopening the app to confirm the match was played

  • πŸ§ͺ Criteria verification: minimum 3 out of 4 requirements + mandatory geolocation

  • βœ… Match registration: saved in Supabase and added to the global ranking


🧾 Data Structure in Supabase

  • Users: personal data, history, avatar, language

  • Matches: validations by date, location, duration, compliance

  • Missions: active missions, streaks, and achievements

  • Rankings: calculation of positions, points, and airdrops


πŸ”„ Full Flow

Last updated