Smart contracts are the programs of Ethereum. But they’re also APIs, and their design characteristics can affect the products we build significantly. In this chapter, we’ll explore how smart contracts work, what their interfaces look like, what sorts of primitives they express, and what sorts of abstractions we can build upon those primitives. We’ll also explore indexing, a powerful approach to separate data processing concerns from your products and the protocols they interface with.
Smart Contracts
Ethereum uses smart contracts to allow ...