Exercises — Permissioned Blockchains and Enterprise Use Cases
Conceptual Exercises
Exercise 1: Permissioned vs. Permissionless Comparison
Create a detailed comparison table that goes beyond the one presented in this chapter. For each of the following dimensions, explain how permissioned and permissionless blockchains differ, and identify a specific use case where each approach is superior:
a) Data privacy — How is sensitive data handled in each model? b) Regulatory compliance — How does each model interact with regulatory requirements like GDPR, HIPAA, or financial regulations? c) Network resilience — What happens when nodes go offline in each model? d) Upgrade coordination — How are protocol changes managed in each model? e) Cost structure — What are the ongoing costs of operating each model?
For each dimension, write 2-3 sentences explaining not just what is different, but why the difference exists (what design choices and trust assumptions drive it).
Exercise 2: Architecture Deep Dive
Answer the following questions about Hyperledger Fabric's execute-order-validate architecture:
a) Explain why Fabric separates execution from ordering. What problem does this solve that the traditional order-execute model (used by Ethereum) does not? b) A transaction is endorsed by Organization A and Organization B but rejected during the validation phase. What are three possible reasons for this rejection? c) A Fabric network has four organizations. Organization A and Organization B share Channel 1. Organization B and Organization C share Channel 2. Organization A and Organization C share Channel 3. Organization D is on all three channels. Draw the data visibility matrix — which organizations can see which transactions? d) Explain why Fabric records invalid transactions in the block rather than simply discarding them. What audit benefit does this provide?
Exercise 3: Corda's Design Philosophy
R3 explicitly states that Corda is "not a blockchain." Answer the following:
a) Identify three specific architectural features of Corda that differ from a traditional blockchain. For each, explain why R3 made this design choice and what problem it solves for financial institutions. b) Corda includes legal prose alongside smart contract code. Argue for and against this approach. Under what circumstances is this valuable? When might it create problems? c) Compare Corda's notary service to Bitcoin's mining and Fabric's ordering service. What is the fundamental role each plays, and how do their trust assumptions differ?
Exercise 4: The Consortium Coordination Problem
The chapter identifies the consortium coordination problem as the single most common cause of enterprise blockchain failure.
a) Explain the free-rider problem in the context of a blockchain consortium. Why does each participant have an incentive to wait for others to join first? b) Walmart and JPMorgan both solved the coordination problem through market power. Identify two other mechanisms that could solve this problem. For each, give a concrete example of how it could work. c) Design a governance structure for a hypothetical blockchain consortium in the pharmaceutical supply chain. The consortium includes three large pharmaceutical manufacturers, five wholesale distributors, ten hospital systems, and a government regulatory agency. Address: Who has voting power? How are disputes resolved? Who pays for infrastructure? How are new members admitted?
Applied Exercises
Exercise 5: Decision Framework Application
Apply the five-question blockchain decision framework to each of the following scenarios. For each, walk through all five questions, explain your reasoning at each step, and reach a conclusion.
a) Scenario A: A national government wants to create a land registry system. Currently, land records are maintained by local municipal offices, are often incomplete or contradictory, and are vulnerable to fraud. The government wants a single source of truth for land ownership.
b) Scenario B: Five competing airlines want to share passenger allergy and medical information so that any airline can provide appropriate meals and emergency medical response, regardless of which airline the passenger originally registered with.
c) Scenario C: A luxury fashion brand wants to prove the authenticity of its products to consumers. Each item would have a digital provenance record from manufacture to retail.
d) Scenario D: A university consortium of 12 schools wants to create a shared system for verifying academic credentials (diplomas, transcripts) that employers can check instantly.
e) Scenario E: An international humanitarian organization distributes aid in conflict zones through local partners. It needs to track the distribution of supplies from warehouses to beneficiaries, with verification that supplies actually reached their intended recipients.
For at least two of these scenarios, identify the specific alternative (non-blockchain) solution you would recommend if the framework suggests blockchain is not necessary.
Exercise 6: Failure Analysis
Choose one of the following real enterprise blockchain projects (you may need to do additional research) and write a 500-word analysis of why it failed or underperformed:
a) we.trade — European trade finance platform (shut down 2022) b) B3i — Blockchain Insurance Industry Initiative (filed for insolvency 2022) c) Marco Polo — Trade finance network (suspended operations 2023) d) MediLedger — Pharmaceutical supply chain (struggled to scale)
Your analysis should address: - What was the stated value proposition? - What platform was it built on? - Who were the consortium members? - What specific factors contributed to its failure? - Was blockchain the right technology choice for the problem? Why or why not? - What lessons does this failure offer for future enterprise blockchain projects?
Exercise 7: Platform Selection
A mid-size bank ($50 billion in assets) wants to build a blockchain-based platform for syndicated loan management. Syndicated loans involve multiple banks (the "syndicate") lending to a single borrower, with one bank serving as the lead arranger. Currently, syndicated loan administration involves extensive manual reconciliation, email-based communication, and spreadsheets.
a) Apply the decision framework. Does this use case pass all five questions? b) Compare Hyperledger Fabric, R3 Corda, and Quorum/ConsenSys for this use case. Consider: privacy requirements, the nature of the transactions, the participants, regulatory requirements, and the existing technology ecosystem of the banking industry. c) Write a one-page recommendation selecting one platform and justifying your choice. Address at least two counterarguments. d) Identify the three biggest risks to this project's success that are not related to technology choice.
Exercise 8: Cost-Benefit Analysis
A national grocery chain with 500 stores and 2,000 suppliers is considering implementing a blockchain-based food traceability system similar to Walmart's.
a) List the costs you would include in a cost-benefit analysis. Categorize them as one-time costs (setup) and ongoing costs (annual). b) List the benefits. For each benefit, indicate whether it is quantifiable (can be expressed in dollars) or qualitative (real but difficult to monetize). c) The chain estimates the following: traceability reduces product recall costs by $8 million per year, reduces food waste from overly broad recalls by $3 million per year, and provides $2 million per year in reduced insurance premiums. Implementation costs are $15 million in year one and $4 million per year ongoing. Does the investment pay for itself within three years? Within five years? d) What non-financial factors might influence the decision beyond pure cost-benefit?
Technical Exercises
Exercise 9: Smart Contract Design
Design a smart contract (in pseudocode) for a simple supply chain traceability system. The contract should support the following operations:
a) registerProduct(productId, origin, timestamp, producerOrg) — Register a new product at its origin
b) transferCustody(productId, fromOrg, toOrg, timestamp, location, conditions) — Record a custody transfer
c) recordInspection(productId, inspectorOrg, timestamp, passed, notes) — Record a quality inspection
d) queryProvenance(productId) — Return the full provenance history of a product
e) flagProduct(productId, reason, reporterOrg) — Flag a product for investigation
For each function, specify: - What data is stored on the ledger? - What validation checks should the contract perform? - Who should be authorized to call each function? - What events should be emitted?
Exercise 10: Run the Decision Framework Code
Use the decision_framework.py script provided in this chapter's code directory.
a) Run the decision framework for five different scenarios of your choosing. Document the inputs and outputs. b) Identify a scenario where the framework gives a "maybe blockchain" result but you personally believe a non-blockchain solution would be better. Explain your reasoning. c) Modify the code to add a sixth question to the framework: "Is the data volume and transaction rate compatible with blockchain's throughput limitations?" Define appropriate thresholds and implement the logic.
Exercise 11: Supply Chain Hash Verification
Use the supply_chain_demo.py script provided in this chapter's code directory.
a) Run the demo to create a supply chain record for a product of your choosing. Verify the chain of custody. b) Attempt to tamper with one record in the chain. Demonstrate how the verification process detects the tampering. c) Extend the demo to support branching supply chains — for example, a product that is split into multiple batches at a processing facility, each batch going to a different distributor. How does the data model need to change?
Discussion Questions
Discussion 1: The Ethics of Enterprise Blockchain Marketing
During the 2016-2019 hype cycle, major consulting firms and technology vendors sold billions of dollars worth of blockchain services to enterprises, many of which resulted in failed projects. Was this simply the normal process of technology adoption (some investments fail), or was there an ethical failure in how blockchain was marketed? Should consultants and vendors who sold blockchain solutions they knew (or should have known) were unlikely to succeed be held accountable? How does this compare to other technology hype cycles (cloud computing, big data, AI)?
Discussion 2: Blockchain vs. Database — The Philosophical Question
Some critics argue that permissioned blockchains are just "slow databases" and that any permissioned blockchain use case can be served by a well-designed centralized system. Others argue that the shared, tamper-proof, multi-organizational nature of blockchain provides qualitatively different guarantees even in a permissioned setting. Take a position and defend it, addressing the strongest counterarguments.
Discussion 3: Power and Blockchain Adoption
The chapter notes that the most successful enterprise blockchain deployments (Walmart, JPMorgan) succeeded because a dominant market player could compel participation. Does this undermine the decentralization ethos of blockchain technology? Is a system where a single powerful entity mandates participation on a shared ledger truly different from that entity simply mandating data reporting to a centralized system it controls?
Discussion 4: The Future of Enterprise Blockchain
Make a prediction: In 2030, will enterprise blockchain be (a) a mainstream technology used by most Fortune 500 companies, (b) a niche technology used in a handful of specific industries, or (c) largely abandoned in favor of other approaches? Defend your prediction with specific evidence and reasoning from this chapter.