{"id":939,"date":"2024-08-15T13:03:52","date_gmt":"2024-08-15T13:03:52","guid":{"rendered":"https:\/\/metaschool.so\/articles\/?p=939"},"modified":"2024-08-15T13:03:56","modified_gmt":"2024-08-15T13:03:56","slug":"what-is-blockchain-guide","status":"publish","type":"post","link":"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/","title":{"rendered":"What is Blockchain? 2024 Guide"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_56_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#What_is_blockchain\" title=\"What is blockchain?\">What is blockchain?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Significant_blockchain_concepts\" title=\"Significant blockchain concepts\">Significant blockchain concepts<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Distributed_ledger\" title=\"Distributed ledger\">Distributed ledger<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Cryptography\" title=\"Cryptography\">Cryptography<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Consensus_algorithm\" title=\"Consensus algorithm\">Consensus algorithm<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Mining\" title=\"Mining\">Mining<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Nodes\" title=\"Nodes\">Nodes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Smart_contracts\" title=\"Smart contracts\">Smart contracts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#7_Private_and_public_blockchains\" title=\"7) Private and public blockchains\">7) Private and public blockchains<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#8_Public_and_private_keys\" title=\"8) Public and private keys\">8) Public and private keys<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#Why_is_blockchain_important\" title=\"Why is blockchain important?\">Why is blockchain important?<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#1_Decentralization\" title=\"1) Decentralization\">1) Decentralization<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#2_Immutability\" title=\"2) Immutability\">2) Immutability<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#3_Transparency\" title=\"3) Transparency\">3) Transparency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#4_Efficiency\" title=\"4) Efficiency\">4) Efficiency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#5_Non-repudiation\" title=\"5) Non-repudiation\">5) Non-repudiation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/metaschool.so\/articles\/what-is-blockchain-guide\/#How_does_blockchain_work\" title=\"How does blockchain work?\">How does blockchain work?<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>I&#8217;m sure you&#8217;ve had your fair share of exposure to the term &#8216;blockchain&#8217;. Chances are you&#8217;ve read a handful of articles on it and still don&#8217;t know anything. So without further ado, let&#8217;s get you introduced to what blockchain is, how it works, and the significant concepts covered in it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-blockchain\"><span class=\"ez-toc-section\" id=\"What_is_blockchain\"><\/span>What is blockchain?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To begin with, a blockchain is a public list of records that are open, traceable and transparent. It stores all its information in batches called blocks. These blocks are linked together to form a continuous line. <\/p>\n\n\n\n<p>A chain of blocks = a blockchain. <\/p>\n\n\n\n<p>And each block is like a page of a record book.<\/p>\n\n\n\n<p>But first, I saw this great illustration in a blog posted on medium about what blockchain isn&#8217;t. According to it, here&#8217;s what isn&#8217;t it:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Blockchain is NOT a cryptocurrency<br>Blockchain is NOT a programming language<br>Blockchain is NOT a cryptographic codification.<br>Blockchain is NOT an Artificial Intelligence or Machine Learning technology.<br>Blockchain is NOT a Python library or framework.<\/p>\n<cite><a href=\"https:\/\/medium.com\/swlh\/blockchain-for-dummies-d3daf2170068\" target=\"_blank\" rel=\"noopener\">Medium.com<\/a><\/cite><\/blockquote>\n\n\n\n<p id=\"let-s-move-on-but-before-i-mention-the-word-i-m-about-to\">Let\u2019s move on. But before I mention the word I\u2019m about to,<\/p>\n\n\n\n<p>The word &#8216;immutable&#8217; means: <em>unchanging over time or unable to be changed<\/em><\/p>\n\n\n\n<p>Synonyms include: <em>fixed &#8211; set &#8211; unchangeable &#8211; rigid &#8211; unshakeable &#8211; irremovable<\/em><\/p>\n\n\n\n<p><strong>So, again, what is a blockchain?<\/strong><\/p>\n\n\n\n<p>It is an <strong>immutable <\/strong><em>(fixed, unchangeable, unshakeable)<\/em> record of transactions that do not require to rely on any external authority like banks, governments, large corporations to validate the authenticity and integrity of the data. Decentralization is at the core.<\/p>\n\n\n\n<p>Like I mentioned earlier, blockchain is a public database of information. Hence there isn&#8217;t a central body or single entity control (say Mark Zuckerberg) managing and controlling the database, making money off of it, and all the while evil laughing.<\/p>\n\n\n\n<p>Through blockchain, millions of users on the Internet help manage and maintain these records.<\/p>\n\n\n\n<p>That\u2019s decentralized and democratized for you, hah, take that Facebook!<\/p>\n\n\n\n<p>\u26a1 <a href=\"https:\/\/metaschool.so\/ethereum?ref=Articles&amp;utm_source=Blog_Organic\" target=\"_blank\" rel=\"noreferrer noopener\">Become a Certified Ethereum Developer<\/a> &#8211; try out this study track<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"significant-blockchain-concepts\"><span class=\"ez-toc-section\" id=\"Significant_blockchain_concepts\"><\/span>Significant blockchain concepts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The changes described above have the potential to create an open, trustless, and permission-less network. It is through these features that blockchain is able to build trust. Let&#8217;s dive deeper into what concepts are at the heart of blockchain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-distributed-ledger\"><span class=\"ez-toc-section\" id=\"Distributed_ledger\"><\/span>Distributed ledger<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A distributed <a href=\"https:\/\/metaschool.so\/articles\/blockchain-ledger-meaning\/\">ledger<\/a> is a database that is maintained by a network of computers rather than a central authority. In a blockchain system, the distributed ledger is a record of all the transactions that have taken place on the network.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-cryptography\"><span class=\"ez-toc-section\" id=\"Cryptography\"><\/span>Cryptography<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Cryptography is the practice of using mathematical algorithms to secure and verify data. In a blockchain system, cryptography is used to secure the ledger and ensure that it cannot be altered or tampered with. It is also used to verify the identity of parties involved in transactions and to ensure that only authorized parties can access certain parts of the ledger.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-consensus-algorithm\"><span class=\"ez-toc-section\" id=\"Consensus_algorithm\"><\/span>Consensus algorithm<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A consensus algorithm is a set of rules that is used to reach agreement on the state of the distributed ledger among the computers in the network. In a blockchain system, the consensus algorithm is used to validate transactions and add them to the ledger.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-mining\"><span class=\"ez-toc-section\" id=\"Mining\"><\/span>Mining<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In a blockchain system, mining refers to the process of verifying transactions and adding them to the ledger. Miners use specialized computers to solve complex mathematical problems and are rewarded with a small amount of cryptocurrency for their efforts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-nodes\"><span class=\"ez-toc-section\" id=\"Nodes\"><\/span>Nodes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A node is a computer that is connected to the <a href=\"https:\/\/metaschool.so\/blockchains\" target=\"_blank\" rel=\"noreferrer noopener\">blockchain network<\/a> and participates in the process of verifying and recording transactions. Nodes can be organized into different types, such as full nodes, which store a copy of the entire blockchain, and light nodes, which store only a small portion of the blockchain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-smart-contracts\"><span class=\"ez-toc-section\" id=\"Smart_contracts\"><\/span>Smart contracts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A <a href=\"https:\/\/metaschool.so\/courses\/writing-your-first-hello-world-contract-in-solidity?ref=Articles&amp;utm_source=Blog_Organic\">smart contract<\/a> is a self-executing contract with the terms of the agreement between buyer and seller being directly written into lines of code. Smart contracts can be used to automate and streamline complex business processes, reducing the need for manual intervention and increasing efficiency.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-private-and-public-blockchains\"><span class=\"ez-toc-section\" id=\"7_Private_and_public_blockchains\"><\/span>7) Private and public blockchains<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A private blockchain is a blockchain that is permissioned, meaning that only certain parties are allowed to participate in the network and access the ledger. A public blockchain, on the other hand, is open to anyone and is not permissioned.<\/p>\n\n\n\n<p>However, there are two more: Hybrid and Consortium. Read about them here in detail  \ud83d\udc49 <a href=\"https:\/\/metaschool.so\/articles\/types-of-blockchains\/\">Types of blockchains<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8-public-and-private-keys\"><span class=\"ez-toc-section\" id=\"8_Public_and_private_keys\"><\/span>8) Public and private keys<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In a blockchain system, each user is assigned a public and a private key. The public key is a unique identifier that is used to receive transactions, while the private key is used to sign and send transactions. The private key is kept secret and is used to prove the identity of the user.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-is-blockchain-important\"><span class=\"ez-toc-section\" id=\"Why_is_blockchain_important\"><\/span>Why is blockchain important?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>These features, in turn, create some wonderful benefits for us all. Here are a few: <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-decentralization\"><span class=\"ez-toc-section\" id=\"1_Decentralization\"><\/span>1) Decentralization<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In a traditional system, a central authority or intermediary is responsible for verifying and recording transactions. In a blockchain system, the ledger is distributed across a network of computers, and transactions are verified by consensus of the network rather than a single authority. This decentralization makes it much more difficult for any one party to manipulate the ledger or make fraudulent transactions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-immutability\"><span class=\"ez-toc-section\" id=\"2_Immutability\"><\/span>2) Immutability<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Once a transaction is recorded on the blockchain, it is extremely difficult to alter or delete. This is because each block in the chain contains a unique cryptographic hash, and any change to the contents of a block would change the hash. This makes the blockchain an extremely secure and reliable way to record transactions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-transparency\"><span class=\"ez-toc-section\" id=\"3_Transparency\"><\/span>3) Transparency<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The blockchain is a public ledger, which means that anyone can view the transactions recorded on it. This transparency can help to build trust among parties and can also help to prevent fraud, as it becomes much more difficult to hide illicit activity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-efficiency\"><span class=\"ez-toc-section\" id=\"4_Efficiency\"><\/span>4) Efficiency<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Because the blockchain eliminates the need for a central authority or intermediary to verify transactions, it can often be faster and more efficient than traditional systems. It can also reduce the need for manual record-keeping, which can save time and reduce the risk of errors.<\/p>\n\n\n\n<p>Overall, the decentralized, secure, and transparent nature of blockchain technology makes it an important innovation that has the potential to disrupt a wide range of industries, from finance and banking to supply chain management and more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-non-repudiation\"><span class=\"ez-toc-section\" id=\"5_Non-repudiation\"><\/span>5) Non-repudiation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In a blockchain system, it is extremely difficult for a party to deny having made a transaction. This is because the transaction is recorded in the blockchain and can be independently verified by other parties in the network. This can help to reduce the risk of disputes and fraud.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-does-blockchain-work\"><span class=\"ez-toc-section\" id=\"How_does_blockchain_work\"><\/span>How does blockchain work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Simply, blockchain can be understood as a joined or linked list. The first block of this list is called the <a href=\"https:\/\/metaschool.so\/articles\/genesis-block-meaning\/\">genesis block<\/a> which is hardcoded into the blockchain. Each block in the list, except the genesis block, is dependent on the previous item. Because there is no block before the first block, it is different. <\/p>\n\n\n\n<p>If you still don&#8217;t get it, observe these blocks: \ud83d\udfea \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5 \ud83d\udfe5<\/p>\n\n\n\n<p>Let&#8217;s say we have a chain that consists of 10 <a href=\"https:\/\/metaschool.so\/articles\/block-meaning-blockchain\/\">blocks<\/a>. Here, the 10th block depends on the 9th block. The 9th block depends on the 8th block. It goes onwards. From this, we can understand that the last block i.e. the 10th block depends on all previous block, including the genesis block i.e. the 1st block (in purple). <\/p>\n\n\n\n<p>Now if someone tries and changes the data present in the 6th block, they&#8217;ll have to change the data on the 7th, 8th, 9th and 10th blocks. That&#8217;s because the latter blocks are invalid after changing to the 6th block. Remember each block is dependent on the previous block? Yep. That&#8217;s what is happening here. <\/p>\n\n\n\n<p>Changing block data is a pretty expensive operation and difficult to achieve. Hence these blocks are termed immutable. Even more, participants have to show proof in order to add and change blocks. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"408\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2022\/06\/A-simplified-example-of-how-blocks-are-chained-to-form-a-blockchain-Notice-that-each.png\" alt=\"blockchain for dummies - chain of blocks and hash IDs\" class=\"wp-image-953\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2022\/06\/A-simplified-example-of-how-blocks-are-chained-to-form-a-blockchain-Notice-that-each.png 850w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2022\/06\/A-simplified-example-of-how-blocks-are-chained-to-form-a-blockchain-Notice-that-each-300x144.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2022\/06\/A-simplified-example-of-how-blocks-are-chained-to-form-a-blockchain-Notice-that-each-768x369.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><figcaption class=\"wp-element-caption\">Source: <a href=\"https:\/\/www.researchgate.net\/figure\/A-simplified-example-of-how-blocks-are-chained-to-form-a-blockchain-Notice-that-each_fig1_332215097\" target=\"_blank\" rel=\"noopener\">ResearchGate<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<p>In order to add a block, a hash has to generate for the block. Hashing is a cryptographic process that can be used to validate the authenticity and integrity of various types of input. It is widely used in authentication systems to avoid storing plaintext passwords in databases but is also used to validate files, documents, and other types of data.<\/p>\n\n\n\n<p>Let&#8217;s assume that we have three blocks with some transactions stored in them. To link these blocks, every block is assigned a unique hash ID that is generated using the data present in that block. So when someone tries to modify a block, the hash ID of that block changes as well.<\/p>\n\n\n\n<p>Now, the hash ID of the first block is stored in the second block. And the hash ID of the second block is stored in the third block. This process is repeated for all the subsequent blocks. Thus, we have a chain of blocks referred to as the &#8220;blockchain&#8221;.<\/p>\n\n\n\n<p>See, that was super easy, right?<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":6,"featured_media":4252,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[17],"tags":[51,36,31,29],"class_list":["post-939","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain","tag-blockchain","tag-blockchain-applications","tag-ethereum-blockchain","tag-web3"],"_links":{"self":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/comments?post=939"}],"version-history":[{"count":28,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/939\/revisions"}],"predecessor-version":[{"id":7920,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/939\/revisions\/7920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media\/4252"}],"wp:attachment":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media?parent=939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/categories?post=939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/tags?post=939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}