Summary
In this chapter, you learned about oracles in terms of their features and types. We discussed how an oracle can act as a bridge between the blockchain network and the real world by explaining various blockchain oracle examples. We studied the most popular oracle service, known as Chainlink, and used the Chainlink API to write a VRF dice-rolling game.
With our knowledge of cross-chain technology from previous chapters, in the Diving deep into cross-chain technology section, we covered how cross-chain bridges work and covered their vulnerabilities. As we saw, many types of cross-chain are available in the industry. We then ran a real-world example of bridging tokens from Ethereum to Avalanche. We also demonstrated how to move ETH from Ethereum to Polygon (MATIC).
After reviewing various Layer 2 solutions, including optimistic rollups and ZK rollups, we learned about the differences between these rollup solutions. We also discussed zk-SNARKs and zk-STARKs. Finally, we wrote...