adhurjaty / prediction-app

2 stars 0 forks source link

Delphai

Summary

Delphai is a person-to-person betting app. Users belong to groups and users can create bets where anyone/everyone in the group can make a wagered bet. Once the bet is closed, the participants in the bet set the resolution (did the predicted outcome happen or not?). Once a resolution is reached, the participants can withdraw their winnings.

Diagrams

Architecture

This application consists of 4 components:

Architecture

Use cases

Registration

Note: We are only handling the case where the user already has a Flow address for now

Create group

Note: the plan for adding members will include the member to consent to being added, but we are not implementing that now for the sake of simplicity

Bet lifecycle

Database

Database

Screens

Figma Prototype

If you want to edit the Figma diagram, open your own instance of Figma and import the PredictApp.fig file, make edits, save over it and commit.

figma screenshot

Domain Definitions

Global Domain

Database

Smart Contract

Links