2

Smart Contract Fundamentals

In this chapter, we will explore the basics of smart contracts. While in Bitcoin we store value, in Ethereum, we can also store code. The code that we store in Ethereum is called a smart contract. A smart contract is a trustless piece of code, which means that the integrity of the code is guarded by algorithms and cryptography. We can store the code, which is censorship-resistant and can avoid third-party interference, even from the original developer of the smart contract. This opens up possibilities for creating many types of applications, such as transparent digital tokens, trustless crowd sales, secure voting systems, and autonomous organizations.

The following topics will be covered in this chapter:

  • Flaws ...

Get Hands-On Blockchain for Python Developers - Second Edition 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.