Skip to Content
Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers
book

Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers

by Kedar Iyer, Chris Dannen
May 2018
Intermediate to advanced
281 pages
5h
English
Apress
Content preview from Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers
© Kedar Iyer and Chris Dannen 2018
Kedar Iyer and Chris DannenBuilding Games with Ethereum Smart Contractshttps://doi.org/10.1007/978-1-4842-3492-1_8

8. Lotteries

Kedar Iyer1  and Chris Dannen1
(1)
Brooklyn, New York, USA
 

Lotteries are an excellent use case for Ethereum. Like pyramids, lotteries were among the first contracts on the Ethereum blockchain. Results are provably fair, enabling the lottery to be run without a central authority taking a cut of the winnings, and without anchoring its operation in any single legal jurisdiction. It is highly likely that the lotteries of the future will be conducted on a blockchain. This chapter covers the primary roadblock to running a good lottery—random-number generation—and develops a series of increasingly ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ethereum Smart Contract Development

Ethereum Smart Contract Development

Mayukh Mukhopadhyay

Publisher Resources

ISBN: 9781484234921Purchase LinkPublisher Website