Chapter 11
Launching a Smart Contract on Ethereum
IN THIS CHAPTER
Explaining account types (externally owned versus contract accounts)
Introducing the key elements of a smart contract
Writing, compiling, and deploying your smart contract
Following and interacting with your smart contract after deployment
A smart contract is a software program, defined by a set of code and data, that lies dormant until triggered by an external transaction. When called, smart contracts automatically enforce and execute a series of deterministic rules. Overall, they provide the logical foundation on which decentralized applications (dApps) are built. Indeed, the myriad of DeFi implementations presented in Part 2, “Diving into the Burgeoning DeFi Space,” rely on smart contracts for back-end processes. This chapter walks you through how to deploy and subsequently interact with your first smart contract on Ethereum!
Get DeFi For Dummies 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.