This is Anchor contract which contains the entire logic related to Initializing Game Accounts and Placing Bets for actual Game. Bets are placed by players and spectators.
Architecture Design (Lucid Chart)
Codebase | Description |
---|---|
Vortex | Contains Axum APIs for Auth and other services for necessary processing |
Vortex-Client | Tauri Client Used to Play/Join Games as Players or specate any games |
Vortex-Mobile | React Native App to scan QR codes and stake in the game and check status of any previous bets |
Vortex-Pub-Sub | Elixir Service to broadcast realtime events to players and spectators |
Vortex-Exchange | Smart Contracts made using Anchor framework so that players/spectators can place their bets |
Executor-Bots | Bots which consume game result events and settle bets for the players |
Vortex-Matchmaker | Matchmaking Service which matches any two players with similar ratings |