© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. RumbelowBuilding With Ethereum https://doi.org/10.1007/978-1-4842-9045-3_4

4. Contracts

Jamie Rumbelow1  
(1)
London, UK
 

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 ...

Get Building With Ethereum: Products, Protocols, and Platforms 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.