Skip to content

koloz193/ThreePersonLotterySmartContract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ThreePersonLotterySmartContract

This is an Ethereum based smart contract based on a three person lottery. The smart contract offers security by abstracting participant's picks by having them commit to a pick with a hash of their pick concatenated to a nonce so a participant can't change their pick after committing. The contract also penalizes those who decide not to reveal their pick in the allotted amount of time by requiring a hefty security deposit that will either be returned when the participant reveals their pick and in the case that they don't reveal, the security deposit is split amongst the honest parties in an effort to reward them for abiding by the protocol and to cover any fees they incurred from gas spent.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published