This contract created for fair and transparent cryptocurrency lotteries organization.
Owner contract can:
- Create many lotteries
- Adjust the number of participants and ticket price
- Withdraw his reward
- Start lottery
Lottery participant can:
- Buy ticket
- Refound ticket
- Get cush
Fully tested contract, you can see tests here
Builded and tested with Solidity and Ethereum truffle. Security analyzed with Mythx.
You need install Nodejs before
git clone https://github.com/AiFreeWay/ChickBoom
cd ChickBoom
npm install
truffle test test/index.js