Understanding Public vs Private Blockchains
📖 Scenario: You are learning about blockchains. Blockchains can be public or private. Public blockchains let anyone join and see all transactions. Private blockchains only allow certain people to join and see transactions.We will create simple data to represent users and transactions in both types of blockchains.
🎯 Goal: Build a simple program that stores users and transactions for a public blockchain and a private blockchain. Then filter transactions visible to a user based on blockchain type.
📋 What You'll Learn
Create a list of users for the public blockchain
Create a list of users for the private blockchain
Create a list of transactions with user names and amounts
Filter transactions visible to a user based on blockchain type
Print the visible transactions for a given user
💡 Why This Matters
🌍 Real World
Understanding who can see transactions in different blockchain types helps build secure and private blockchain applications.
💼 Career
Blockchain developers must know how to manage access and visibility of data in public and private blockchains.
Progress0 / 4 steps