lisun85 / Goalify

Dapp that allows people to bet on themselves on the outcome of achieving their goal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goalify (DRAFT STAGE)

This Dapp is a simple prototype that allows individual goal-getters (aka stakers) to put "money where their mouth is" and bet on themselves to achieve a personal goal. The stakers will use this app to stake an amount of Eth and will only get that amount of Eth back if they achieved their intended goals.

Two Other Players will also play a role in this Dapp:

The sponsor - someone who is willing to provide extra incentive for the stakers to achieve their goals. Sponsors are typically interested in the staker's success and are willing to reward the staker if the goal is achieved. For example, a staker may be an overweight person setting a goal to lose 10 lbs in a month, the sponsor could be his/her parent or spouse who is also interested in the staker's weight loss and are willing to reward the staker for such outcome.

The judge - an objective arbitrator that evaluates the outcome of the goal and approves the bet in the smart contract Dapp.

Gameplay:

Players - sponsor, staker, and judge

Action - 1) staker will bet on himself to accomplish a goal in a specific duration of time, 2) sponsor will also bet an amount of ether on staker as extra incentive, assuming sponsor is interested in see staker succeed 3) a smart contract will lock their ethers and dictate terms of payout at end of the time duration, terms will include (goal statement, betsize, time duration) 4) at end of the period, the judge will look at the goals achieved and approve outcome. The approval and outcome will determine payout. Result - 5) result can come out either two ways: 1) staker achieves the goal and wins his original stake fund + amount staked from sponsor or 2) staker fail to achieve his/her goal, loses his stake, sponsor gets full refund upon failure 6) BUT staker has a chance to get his money back by placing another bet on himself to win his money back (Still under Developement) 7) Staker is allowed two tries to get his/her money back, if still failure afte two tries, the entire lost amount will donate to Golify Dapp. The money will then be used to help other stakers to achieve their goals (Still under Developement).

About

Dapp that allows people to bet on themselves on the outcome of achieving their goal


Languages

Language:JavaScript 53.7%Language:Solidity 46.3%