Blockchain is arguably one of the most significant and disruptive technologies that came into existence since the inception of the Internet. It’bitcoin nonce words the core technology behind Bitcoin and other crypto-currencies that drew a lot of attention in the last few years.
As its core, a blockchain is a distributed database that allows direct transactions between two parties without the need of a central authority. This simple yet powerful concept has great implications for various institutions such as banks, governments and marketplaces, just to name a few. Any business or organization that relies on a centralized database as a core competitive advantage can potentially be disrupted by blockchain technology. Putting aside all the hype around the price of Bitcoin and other cryptocurrencies, the goal of this blog post is to give you a practical introduction to blockchain technology. Sections 1 and 2 cover some core concepts behind blockchain, while section 3 shows how to implement a blockchain using Python. We will also implement 2 web applications to make it easy for end users to interact with our blockchain.
Please note that I’m using Bitcoin here as a medium for explaning the more general technology of “Blockchain”, and most of the concepts described in this post are applicable to other blockchain use cases and crypto-currencies. Below is an animated gif of the two web apps that we will build in section 3. A Crash Course in Blockchain It all started with a white paper released in 2008 by an unknown person or entity using the name Satoshi Nakamoto. If Alice and Bob use digital money, then the problem gets more complicated. Digital money is in digital form and can be easily duplicated.
Bob by email for example, Bob cannot know for sure if Alice has deleted her copy of the file. Alice, Bob and all other participants in the network. This third party is responsible for managing a centralized ledger that keeps track of and validates all the transactions in the network. The drawback of this solution is that for the system to function, it requires trust in a centralized third party. Bitcoin: A Decentralized Solution for the Double-Spending Problem To solve the double-spending problem, Satoshi proposed a public ledger, i.
Bitcoin’s blockchain to keep track of all transactions in the network. Any computer with an internet connection can download a full copy of the blockchain. Cryptographic: Cryptography is used to make sure that the sender owns the bitcoin that she’s trying to send, and to decide how the transactions are added to the blockchain. Immutable: The blockchain can be changed in append only fashion. In other words, transactions can only be added to the blockchain but cannot be deleted or modified.