Skip to main content

Learning Web3 from the Ground Up - A Beginner's Journey into Blockchain

· 5 min read
Samantha Holstine

Joining the Midnight team as a Developer Relations Engineer has been an exciting transition, but also an eye-opening one. While I anticipated a learning curve stepping into the Web3 space, I didn't expect just how fundamentally different it would be from my experiences in Web2. Web3 isn't simply a new tech stack—it's a shift in how we think about data, trust, and ownership.

As I began onboarding with Midnight, I quickly realized that to fully understand the value and capabilities of the platform, I first needed to ground myself in the core principles of blockchain and decentralized technologies. I started learning the basics with Cardano Academy as a first pass, and it has been a great resource for getting up to speed on the foundations of Web3.

So, if you're also new to Web3 or blockchain and feeling a bit overwhelmed, you're not alone. And if you're a seasoned pro, consider this a little refresher on some foundational topics I’ve started diving into. Here are the core concepts I've been exploring this week as I embark on my journey into the world of decentralized technology.

Core Concepts of Blockchain

Decentralization

At its heart, blockchain is about decentralization. Instead of relying on a single authority, such as a bank or server, blockchain distributes control across a network of independent nodes. This makes the system more resilient—there is no single point of failure—and ensures that no single entity can unilaterally change the rules.

Decentralization also lays the groundwork for trustless systems, where participants can interact and transact without needing to trust a central authority.

Consensus Algorithms

But how do all these independent nodes agree on what's true? That's where consensus algorithms come in. They enable a decentralized network to reach a consensus, even when some nodes are offline or acting maliciously.

This idea actually solves a famous problem in distributed systems known as the Byzantine Generals Problem—how to coordinate among parties that can't fully trust each other. Different blockchains address this issue in various ways, which we'll explore shortly.

Blockchain Structure

The term "blockchain" is literal: it's a chain of blocks, each containing data. Every block links to the previous one using a cryptographic hash. This structure makes the data immutable—once it's recorded, you can't change it without altering every block that came after it, which is extremely difficult.

This immutability, combined with transparency, is what gives blockchain its auditability and security.

Consensus Mechanisms

Now that we've discussed consensus in theory, here's a breakdown of how it works in practice. Different blockchains employ various mechanisms to achieve consensus, each with its strengths, trade-offs, and specific use cases.

Proof of Work (PoW)

  • What it uses: Computational power.
  • How it works: Miners compete to solve complex math problems. The first one to solve one gets to add the next block to the chain.
  • Pros: Secure and well-tested (used by Bitcoin).
  • Cons: Extremely energy-intensive and not very scalable.

Proof of Stake (PoS)

  • What it uses: Stake in the network (native tokens). How it works**: Validators are chosen to create new blocks based on how much they've staked.
  • Pros: Much more energy-efficient than PoW, faster transactions.
  • Cons: Can raise concerns around wealth concentration and governance.

Practical Byzantine Fault Tolerance (PBFT)

  • What it uses: Agreement among a known group of nodes.
  • How it works: Nodes exchange messages to confirm transactions, even if some are faulty.
  • Pros: Fast finality, great for permissioned blockchains.
  • Cons: It doesn't scale well for large public networks. It is often used in smaller, permissioned networks because it requires many messages between nodes to agree, which makes it impractical for large public blockchains.

Other Consensus Models

Numerous niche, experimental, and hybrid models are available. Here are a few that caught my attention:

  • Proof of Authority (PoA): Uses validator identity/reputation and is typically used in permissioned chains.
  • Proof of Activity (PoAc): A hybrid of PoW and PoS where miners start the process, and validators stake to complete it.
  • Proof of Burn/Capacity/Contribution: Novel methods using resources, effort, or behavior.
  • Proof of Elapsed Time (PoET): Uses secure hardware to ensure fairness.

Conclusion

This is just the beginning of my journey, but already, I can see how powerful and complex this space is. Understanding blockchain and consensus mechanisms is like learning the grammar of a new language. It's the foundation for understanding platforms like Midnight and the kinds of problems it's designed to solve.

So far, everything I’ve shared has come from one resource: Cardano Academy. It’s been a helpful starting point, but it’s just that – a starting point. I plan to explore many more resources to continue building my knowledge, and I recommend that you do the same. Cardano Academy is a great place to start, but supplementing it with your own research and delving into the Midnight documentation and Dev Diaries can provide a much more well-rounded understanding of Web3.

If you're also diving into Web3 for the first time, I hope this helped give you some structure to start your learning. And if you're already immersed in the space, I'd love to hear what helped you connect the dots when you were starting out—please drop a comment or share your favorite learning resources with me!

More concepts to come as I dig deeper into Midnight and the wider Web3 world – and I’ll be sharing additional resources along the way as I continue learning. Stay tuned!