15

Oracles, Technology, and Layer 2 in Practice

In this chapter, we will introduce the concept of oracles and understand how oracles work in the decentralized Web 3.0 ecosystem, react to real-world events, and interoperate with traditional systems. We will build an oracle example to get a real-time randomness number from a blockchain. Then, we’ll briefly review the Ethereum cross-chain bridge technology and learn how it allows users to send tokens and arbitrary data between blockchain networks. Lastly, we will explore Layer 2 technologies in practice.

The topics that we will cover in this chapter are as follows:

  • Understanding oracles
  • Working with oracles
  • Diving deep into cross-chain technology
  • Cross-chain in practice
  • Working with Layer 2

Get Learn Ethereum - 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.