© 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_5

5. Contract Security

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

Strong security is the foundation of blockchain technology. Without it, blockchains offer no advantage over traditional software. This chapter, covers security best practices for Solidity. Security of the Ethereum blockchain itself is covered in Chapter 6. Thousands of ether have been lost or hacked from smart contracts because of poorly written code. Following the best practices in this chapter will minimize the chances of that happening to your own contracts.

Note

This is the most complex chapter in the book. If you can work ...

Get Building Games with Ethereum Smart Contracts: Intermediate Projects for Solidity Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.