Lottery sending a % of the bets to GiveDirectly
Lottery sending a % of the bets to GiveDirectly. bet 0.2 ethers, win 0.8 ethers and contribute to the most efficient non-profit in the world, according to GiveWell
How to play:
Send 0.2 (exact) to address 0x4546B31467DE7C9ed83a1C48347ffF942E52d52B (TESTNET Ropsten at the moment)
After 5 people have sent their bets, the contract chooses one address at random and pays 80 % of the total payout available to the winner
The rest goes to GiveDirectly
The game restarts
sourcecode: ethereum lottery