The Distributed Application Revolution
OR: How I Learned to Stop Using Middlemen and Embrace the Ledger
The goal of writing this book is to provide a thorough explanation of the emerging distributed ledger ecosystem from both a technical and socio-cultural perspective.
We feel the overwhelming majority of content about the distributed ledger space is oriented towards promoting individual projects to retail investors, or to corporate clients wanting to implement quasi distributed ledgers, and stops short of explaining how distributed ledgers work as an institutional grade macro thesis.
Instead of looking at the markets from a “what-can-it-do” perspective, our world view is skewed towards asking “how-can-it-break” and “who-will-survive”. Use cases like crop insurance, recording real estate titles, stock exchanges, etc. are already proven business models. The distributed ledger paradigm is less about upending how these existing systems work, and more about porting the logic that runs all commerce and social interaction to provably secure distributed infrastructure we can collectively trust to fairly process our lives.
From a technical perspective, this view paints the token market as a globally liquid venture capital ecosystem where participants are betting on the ability of teams to execute advanced mathematics (from cryptography to game theory) in the most resource efficient and provably secure ways possible.
From a socio-cultural perspective, this view runs counter to the techno-optimism that has run rampant throughout the technology space for decades. Little did we know “move fast and break things” would have unintended consequences like breaking democracy by encouraging platforms to polarize users for increased engagement dollars. If the previous era of the internet was about the unfettered exploration of the new, this generation is about putting the pieces back together to solve the much thornier issues of trust, governance, checks, and balances.
NOTE: The book will remain freely available in an open beta form until it is published to our upcoming distributed DRM platform. The final published book will look remarkably similar to the existing chapters published here, though may include new sections, better metaphors, etc.
Each physical book will contain keys to unlock the dBook, allowing for middleman free resales with a finite supply (like a digital Margin of Safety). Each dBook will be provably unique and can only be accessed by the owner’s private key.
Caracas Venezuela (Near Future)
Completion time: 1 hour 42 minutes 7 seconds
Completion time bonus: 177 HBX
Median pass score: 178
User pass score: 194
Pass score bonus: 4832 HBX
Admission hash: d13947eec78b1eabcf3c25fdaff78bf00c8615222181f2ada38e8ec417f5f106
Current exchange rates: USD-HBX: 1.342 / PETRO-HBX 78.902 / BTC-HBX: .00001603 / STR-HBX 14.873
Welcome to Harvard!
Xoana excitedly pours over the results of her test again and again. She thought for sure she had botched the last section and was destined for MOOC purgatory. Sure anyone in the world can take the pre-recorded course for free, but she didn't spend the last nine months preparing to settle for an automated professor.
Out of 47,328 global test takers, she secured 1 of only 500 "live" spots in Harvard's prestigious political science fast track program.
For passing the exam at such a high level, the school deposits 5000 HBX tokens in a wallet application on her phone. Her wallet contains over 20 other asset tokens including coffee shop loyalty points, US dollars, and one ounce of tokenized silver her grandfather gave her as a high school graduation present.
While the program can be completed entirely online, students are encouraged to attend a week long orientation program to meet face to face.
Xoana looks at the combined value of her tokens and dismays that she will not be able to afford the trip. Fortunately, a wealthy alumnus group has funded a smart contract for just such an occasion.
She submits an application for a travel scholarship which consists of nothing more than a blank text box. All relevant information including her age, performance in school, performance on the entrance exam, geolocation history, social web, frequency of her phone usage including charging patterns and length of time spent in all of the other apps on her phone... is automatically transferred to the smart contract Artificial Intelligence for review.
The AI is not confident enough to make a determination, so it schedules a quick video chat with one of the alumni. After the call, not only does Xoana have enough to fly to Cambridge, but has also made a new mentorship connection.
At the airport, Xoana places her index finger into a fingerprint scanner. Her encrypted ID seamlessly talks to databases at the Caracas airport which verifies she can leave the country, the Boston airport which verifies she has a travel visa, and the airline which verifies she has a valid ticket. Because Xoana converted her alumni gift into airline loyalty points to book the flight, her fingerprint also gives her access to the airline lounge. The timestamp on her loyalty wallet is less than 12 months old, so she doesn’t get access to the platinum area which is reserved for longtime token holders, but she is still happy to experience the perks of status travel.
Once past security, Xoana converts her Venezuelan Bolivars back into a more stable mix of US dollars and Bitcoin she can use while she is in the US. All currencies that are not Bolivars are officially banned by the government, but this is only a formality at checkpoints as untraceable privacy assets can be purchased on a decentralized network of global exchanges just as easily as Bolivars with minimal conversion fees.
The next day while at orientation, Xoana notices the value of her HBX tokens has increased. HBX tokens are not just credits for classes, but represent real ownership in the endowment that runs the political science program. The catalyst for the move upward in HBX price was a recent global ranking report which placed the program back at number 1 in the world. Similar to a bumper earnings report, the good news increased the price students/faculty/investors/etc. were willing to pay for ownership of the asset.
Capitalizing on the price spike, Xoana happily sells 100 of the HBX tokens she was awarded for doing so well on the entrance exam for sightseeing tour tokens to explore Boston before returning home. Unbeknownst to Xoana, Bill was the counter party who purchased her HBX tokens off the exchange to guarantee a spot for his son in the live program. By provably burning 1,000,000 HBX tokens (eg sending them to an address with no private key) Bill effectively performed an HBX share buyback which indirectly increased the value of the remaining HBX. Bill’s large donation triggers an endowment board vote that results in 177 for, 134 against, and 15069 absent, just enough to grant his son admission to 1 of 10 spots held for legacy students. An OLED screen on a small bench outside of the political science lecture hall is updated showing Bill’s name as a silver level contributor to the department.
The road ahead for Xoana will not be an easy one. Every class has a certain number of HBX tokens up for grabs, and competition is fierce. As a scholarship recipient she needs to be ever diligent as the top global performers in the free program can take her spot if she ever drops into the bottom decile of her class.
Is this vision a world we want to live in?
On one hand, we have:
Strengthened the grip of totalitarian state control that can prevent people from moving between borders, or even attaining basic goods and services without the blessing of an all powerful system.
Reinforced a capitalist system run amok which continues to entrench a wealthy ruling class, based increasingly on the cognitive ability to jump through pre-defined mental hoops.
On the other hand, we have:
Lowered geographic barriers that have prevented billions of people in developing countries from having access to stable stores of value, investments, education, and other privileges previously available only to the wealthiest and most well connected.
Created entirely new incentivization structures that reward new kinds of behaviors. Rather than stuck in the limited existing ways of structuring incentives, this new system is free to explore the limits of game theory to reward participants in ways that minimize adverse selection and moral hazard.
Thus, this book is really about systems viewed through the lens of Distributed Ledger Technology. Our goal is not to just explain the raw technology itself (though that is an important building block), but rather how applications of DLT can solve real world problems including:
The entire harvest of bananas lost from one Salmonella outbreak because location data was not shared between members of the supply chain.
The laborer that loses several percent of her overall wages every time she tries to send money home.
The marauding silicon valley big data giant making 10 dollars per user per quarter on advertising, while providers of the data unwittingly feed a closed source artificial intelligence for free.
If any of the use cases below interest you buckle up, we're in for a wild ride.
We feel three distinct groups will benefit the most from reading this book.
Family offices, sovereign wealth funds, and other institutional investors looking to diversify into an emerging non-correlated asset class that will run the monetized infrastructure of the new internet.
Entrepreneurs and corporate intrapreneurs looking for the best platforms to launch their new ideas on, and what the potential pit falls and opportunities are when creating distributed applications.
Retail investors and lay professionals looking for a more nuanced and holistic view of the space to hedge their personal portfolios by participating in the ecosystem as early adopters.
In a distributed system, two people can transact value with each other without the need for a middleman to facilitate the transaction. For the first time in history, “trust” is now distributed instead of centralized. Instead of fallible manual middlemen, we can now trust brute mathematical logic to perform the same tasks once done via hand shake, pen, and paper. Applying existing computer science and cryptography principles in new ways will allow us to fundamentally rewrite how our institutions work, increasing transparency and accountability throughout the value chain.
Part I: How It Works
We will begin by giving every reader a crash course in how distributed ledgers work from a high level computer science perspective. We will attempt to demystify the distributed ledger space by explaining the rapid evolution of the technology from its humble origins in the Bitcoin blockchain, to more recent innovations both within the Bitcoin ecosystem and elsewhere that will enable a global network of interconnected distributed ledgers to form the backbone of an entire new internet of value.
After a brief introduction, Part I consists of eight primarily technical chapters, each with a main concept that builds on top of the last incrementally:
1:1 dApp Revolution: An explanation of what "distributed" applications (dApps) are, and how they are fundamentally different from existing centralized cloud applications.
1:2 Brute Force Consensus: The Bitcoin chapter where we explain how Bitcoin works, the core elements that make it successful, and potential pitfalls that can derail the first wildly successful distributed ledger project.
1:3 Other ways to Make the Sausage: The "Altcoin" (not bitcoin) chapter where we explain how competing systems attempt to do what Bitcoin does at a larger scale and more efficiently.
1:4 Good Architecture: An overview of how distributed protocols are designed as many distinct overlapping layers. These layers interact with each other efficiently by only performing actions in the part of the subsystem most relevant to the task at hand.
1:5 Full Stack: How factors outside of the purely technical drive network effect adoption to certain architectures over others based on a myriad of often conflicting game theoretic incentives.
1:6 In Shard we Trust: Dissecting how monolithic ledgers can be split into scalable chunks of data using sharding, and an explanation of how consensus between shards while cognizant of hard computer science problems this creates.
1:7 High Assurance: An explanation of the degree to which we can provably trust different levels of the code base by learning how high assurance functional programming and formal verification paradigms work.
1:8 Oracles, Identity, and the Real World: How logic systems like oracles and identity management dApps allow us to verify that information stored in distributed ledgers honestly represents the real world.
1:9 Quasi Privacy to Data Security: We will end part I by unpacking the fundamental paradox of how immutable transparent records and privacy can co-exist.
Part II: How It Really Works
In an ideal world, the best system would immediately be discovered and adopted. However, the real world is a complex adaptive system with many agents acting in their own self interest both rationally and irrationally.
Thus, Part II is a deep meditation on the motivations beyond the technical that drive success and failure in the distributed ledger space. DLT is about recreating the earliest days of the internet where open competition was encouraged because all participants had the same access to build and monetize their creations using the same infrastructure.
2:1 Fitness Landscape: Competition is fierce. Trillions of dollar of capital are on the line for whoever can capture the most market share. Entrenched centralized players in every major industry from banking, to media, to supply chains are waking up to this competition and all want a piece of the distributed ledger future. Framing the conversation in terms of evolutionary biology will help guide the rest of part II by giving a backdrop to why the life cycle of innovation, adaptation, and ultimately death is a natural part of all business processes.
2:2 Public Ledgers Matter: Our first stop on the fitness landscape attempts to shape the conversation around how private/permissioned/closed source ledgers will compete with public/permissionless/open ledgers. We also formalize the concept of the “fingerprint internet” where a global public base ledger is used to store hashes of higher level public and private chains.
2:3 Howey Test vs Sufficiently Decentralized: We will dissect the notion of ledger networks as nothing more than a shared set of rules about values that govern how the system works. Through this lens we will investigate how regulatory models apply to the DLT space. Before dipping your toes into new waters, know the rules.
2:4 Distributed Business Model Framework: We will attempt to create a generalized framework that describes the process of selecting and implementing a DLT solution seen through the lens of a futuristic use case: DNA printing. This framework can be used to analyze how DLT can fit into any business process at a high level.
2:5 IOT -> AI -> DLT: Data integrity has little to do with distributed ledger technology, and much more to do with a provable machine generated data trail. As Garbage in = Garbage out, we must understand the data landscape as a continuous flow system where the big three technologies interact.
Where is the data generated? Internet of Things
How is the data analyzed? Machine Learning/Artificial Intelligence
Where is the data bought, sold, and stored? Distributed Ledgers
2:6 Financial Internet: Our final chapter brings home concepts found throughout the book to build a new financial system our data can reside securely within.
2:7 Epilogue: We will catch up with Xoana 10 years post graduation to see how she navigates the distributed world using services like dUber and dBay in her daily life, as well as participating in the healthcare, news, and political data markets among others.
We hope by the end of this book a new generation of investors and entrepreneurs will be excited about leveraging distributed ledger technology to create a world that pays more than lip service to “being more open and connected”. This means leaving idealism and egoism at the door to take a deeply introspective look at the ramifications DLTs pose to the daily lives of billions of people.
A helpful way to keep this egoism is check is to place the Macbethian melodrama that was Theranos in the front of our minds as we take this journey together.
At Theranos, the rewards for creating a blood testing machine that could perform hundreds of tests with a single pin prick of blood were immense. Unfortunately, the realities of how diluted a sample of blood could be before causing issues with the sensors in the machine (e.g. the laws of physics) got in the way.
As much as we want to downplay the gravity technology plays in our lives, at some point distributed ledgers will be life and death where we implicitly trust that the machine is not broken.
Who gets a kidney transplant and who doesn't is based on a record in a database.
Who is considered a political dissenter is based on a record in a database.
Who gets to participate in a monetized middle class is merely a series of credits and debits in someone’s ledger.
Unlike Theranos' technology, distributed ledger technology works today in a crude but effective form, and will continue to advance over time by incrementally solving the next set of computer science challenges. Many projects will fail for reasons honest and duplicitous, but the collective body of work will live on as successive generations continue to innovate.