Skip to content

PreetamSing/EventStake-Smart-Contract

Repository files navigation

EventStake-Smart-Contract

Ethereum Blockchain Smart Contract inspired by last challenge on this site: https://ethhole.com/challenge

Features:

  • Anybody can create an Event.
  • But to be a creator you have to pay RSVP (which means a creator is a member by default).
  • Every member of an event contributes an RSVP amount, claiming that he/she will attend the event.
  • Any member of an event can invite others to that particular event.
  • By Solidity's native functioning, while refunding, gas cost will be deducted from each person's amount.
  • You can pay any amount of RSVP, more than 0.001 ether.
  • RSVPs of all who didn't show up will be added and then divided amongst all who showed up based on their contributions.
  • All members of an event need to report, that is, show up on the set time of the event.
  • After 1 hour of the set Event Time, Accumulated Amount of that Event will start getting distributed.

For "openzeppelin-contracts", you can clone and use this repo: https://github.com/OpenZeppelin/openzeppelin-contracts

About

Ethereum Blockchain Smart Contract inspired by last challenge on this site: https://ethhole.com/challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published