Key Concepts

Review core concepts you need to learn to master this subject

Blockchain Infrastructure: Web3 Stack
Lesson 1 of 1
  1. 1
    In this lesson, we’ll look at the specific tools we might use to build a Decentralized App (Dapp). We’ll start off by going over the web3 stack in general and then walk through some specific tooli…
  2. 2
    This is the foundational layer. The blockchain is what makes web3 decentralized. Ultimately, our smart contracts will live on whatever blockchain we choose to build on. It’s important to consid…
  3. 3
    Once we decide which chain we want our smart contracts to live on, we need a way to pull data from that chain. This is where the indexing and querying layer comes in. What do we mean by indexing …
  4. 4
    The centralized data layer is a single company or entity that will host endpoints on which we can query blockchain data and send blockchain data. Unfortunately, they add a level of centralizati…
  5. 5
    Decentralized data layers provide a similar function to centralized data layers, but rather than a single entity managing requests for data, these have methods of decentralizing this process. D…
  6. 6
    What if our dapp relies on some set of data that exists in the real world? How can we access data and ensure it is real and accurate? This is where oracles come in. Oracles are entities that pr…
  7. 7
    Blockchains have mainnets, the live blockchain, and testnets, which are used for development purposes. Even though testnets are just for development, they are still public and distributed. …
  8. 8
    In the web2 world, we authenticate with usernames and passwords. In the decentralized web3, world we authenticate using cryptography and public/private key pairs. The user-facing mechanism we use…
  9. 9
    Not all data should be stored on-chain! This is a topic of endless debate and discussion, but blockchains have a very specific use case and are meant to be permanent, historical ledgers of transact…
  10. 10
    For the most part, the front-end framework (Next, Vue, Remix, etc.) will stay the same, but we will utilize different front-end libraries to interact with our chain. These front-end libraries allow…
  11. 11
    With all that in mind, let’s look at how we might build our fictional app using this stack. 1. First, we need to choose what chain we want to build on. Let’s say we choose to build on Stacks. 2. …

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo