<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Suprim Bhandari on Medium]]></title>
        <description><![CDATA[Stories by Suprim Bhandari on Medium]]></description>
        <link>https://medium.com/@suprimbhandari?source=rss-947695c61e18------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*86rdY0K8sGbaOSIF</url>
            <title>Stories by Suprim Bhandari on Medium</title>
            <link>https://medium.com/@suprimbhandari?source=rss-947695c61e18------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:19:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@suprimbhandari/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What exactly is a blockchain?]]></title>
            <link>https://medium.com/@suprimbhandari/what-exactly-is-a-blockchain-988e93a6838e?source=rss-947695c61e18------2</link>
            <guid isPermaLink="false">https://medium.com/p/988e93a6838e</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Suprim Bhandari]]></dc:creator>
            <pubDate>Mon, 03 Jun 2024 10:50:43 GMT</pubDate>
            <atom:updated>2024-06-03T11:37:58.340Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9XbhMlaAV0rubE36prE8g.png" /><figcaption>Source: https://<a href="http://www.freepik.com/">www.freepik.com/</a></figcaption></figure><h3><strong>Blockchain as a State Machine:</strong></h3><p>Imagine the blockchain as a giant state machine, where the state represents the current snapshot of all relevant data on the chain (eg. account balances, smart contract code and storage). This state continuously evolves as new transactions are submitted and verified.</p><p>The state transition function acts as the <strong>deterministic</strong> transition logic<strong> </strong>determining how to move from the current state to a new <strong>world state</strong> based on the specifics of each transaction. It takes the following inputs:</p><ul><li><strong>Current state:</strong> The existing data on the blockchain.</li><li><strong>Transaction:</strong> A proposed change to the data (eg. funds transfer, smart contract execution).</li></ul><p>Lets take a look at Ethereum’s state transition function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*UYVAtp_fKeSKK1bqPLq52Q.png" /></figure><p>We get a new <strong>world state</strong> by applying the state transition function to a transaction on the current world state.</p><blockquote>A deterministic transition function must produce the same output every time for a given set of state and transaction. Hence, the blockchain is consistent and predictable.</blockquote><blockquote>World state is the state of blockchain that majority of nodes agree on. Blockchains are distributed world computers, so they need a world state for operation unlike local state.</blockquote><h3><strong>Components of a blockchain:</strong></h3><ol><li><strong>A peer to peer network</strong></li></ol><p>A peer to peer network that connects all the participants and propagates messages ie. transactions and blocks ( a cluster of verified transactions) through a standardized protocol. For eg: messages are propagated through Bitcoin network in Bitcoin standard protocol.</p><p><strong>2. Messages</strong></p><p>Messages in any blockchain network are passed in the form of transactions. They are inherent part of state transition function of any blockchain. They may contain data of fund transfer between accounts, inscription or any smart contract code.</p><p><strong>3. Set of consensus rules</strong></p><p>Consensus rules govern what constitutes a transaction and what makes for a valid state transition. These are the set of default rules that network participants look upon to agree on the state transition and define the new world state.</p><p><strong>4. A state machine</strong></p><p>A state machine that processes transactions according to the consensus rules. We discussed this before.</p><p><strong>5. A verifiable chain</strong></p><p>A chain of cryptographically secured blocks that acts as a journal of all the verified and accepted state transitions. As the state transition function is deterministic, anyone with the <strong>genesis block </strong>can verify the correctness of the chain ensuring transparency and trust in the system.</p><blockquote>Genesis block is the first block on any blockchain. The genesis block of Bitcoin was mined by Satoshi Nakamoto on 2009. The block info. is available <a href="https://blockexplorer.one/bitcoin/mainnet/blockHash/00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048">here.</a></blockquote><p><strong>6. Incentive Scheme</strong></p><p>A game-theoretically sound incentivization scheme (eg. proof-of-work, proof-of-stake) to economically secure the state machine in an open environment. Proof of work used in Bitcoin is the wormhole between physical and digital realm, limiting anyone to the laws of nature ie. by introducing energy intensive work to prove one’s validity to others. Proof of stake used in Ethereum is the wormhole between financial and digital realm, limiting anyone to the laws of economy ie. by introducing financial stake which the node participants must hold. The financial stake is prone to <strong>slashing</strong> if the participant misbehaves.</p><blockquote>Slashing is a penalty mechanism where the currency a node holds is snatched by the protocol if the participant misbehaves.</blockquote><p>Hence, at its core, a blockchain is a database of transactions appended through the deterministic state transition function with a network to agree upon the world state.</p><p><strong><em>References:</em></strong></p><ul><li>Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood,” <em>GitHub</em>. <a href="https://github.com/ethereumbook/ethereumbook/tree/develop">https://github.com/ethereumbook/ethereumbook/tree/develop</a></li><li>“State Transition function: the engine of Bitcoin and Ethereum — Inclinedweb,” Dec. 12, 2023. <a href="https://www.inclinedweb.com/2023/12/12/state-transition-function-the-engine-of-bitcoin-and-ethereum/">https://www.inclinedweb.com/2023/12/12/state-transition-function-the-engine-of-bitcoin-and-ethereum/</a></li><li>“Ethereum Yellow Paper Cheatsheet”, <em>Notion</em>. <a href="https://karmacoma.notion.site/Building-an-EVM-from-scratch-series-90ee3c827b314e0599e705a1152eecf9">https://karmacoma.notion.site/Building-an-EVM-from-scratch-series-90ee3c827b314e0599e705a1152eecf9</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=988e93a6838e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interopeability In Blockchains: The Next Step (Part-1)]]></title>
            <link>https://medium.com/@suprimbhandari/interopeability-in-blockchains-the-next-step-part-1-bf55314fb962?source=rss-947695c61e18------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf55314fb962</guid>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[interoperability]]></category>
            <dc:creator><![CDATA[Suprim Bhandari]]></dc:creator>
            <pubDate>Sun, 19 May 2024 14:16:42 GMT</pubDate>
            <atom:updated>2024-05-19T14:45:07.822Z</atom:updated>
            <content:encoded><![CDATA[<p>Did you know in the early days of the internet, the internet didn’t exist as a global standard network for communication. Instead it was fragmented with isolated networks and those individual networks had no means of communicating with computers outside the network because there was no standardized communication protocol. However, the birth of TCP/IP (Transmission Control Protocol/Internet Protocol) changed it all. TCP/IP enabled data exchange and communication between different computers and networks. This gave birth to the Internet and all the web applications that we know of today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*MOdhX57Ea92uC1XJpjr-gA.jpeg" /></figure><p>So, how are the blockchains of today? A cool dApp just got launched on Solana, can a Avalanche network user access it? You got a ENS domain registered but can you access it on Polygon? You cannot. The blockchain networks as of now are fragmented and isolated. There isn’t a set of protocols for communicating between chains, ETH can’t be used on Solana nor can SOL be used on Ethereum network. There are bridges but they aren’t reliable, let’s leave them for a another topic of discussion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*doOezx1BvaH_ViScoLYLHQ.png" /></figure><p>Different chains have proposed different solutions to the interoperability problem. Lets take a look at approach of Polkadot.</p><h3><strong>Polkadot:</strong></h3><p>For the historians, Polkadot was created by the Ethereum co-founder Gavin Wood (the man who designed Solidity, the language for smart contracts), Robert Habermeier and Peter Czaban raising over $144.3 million in its <a href="https://en.wikipedia.org/wiki/Initial_coin_offering">Initial coin offering</a> in October 2017.</p><p>Polkadot boasts true interoperability by enabling cross-blockchain transfers of any type of data or asset, not just tokens. Connecting to Polkadot gives you the ability to interoperate with a wide variety of blockchains in the Polkadot network. This is also the catch though, your blockchain needs to be connected on the Polkadot network (also called the relay chain) and it has only 100 parachain slots, meaning only 100 blockchains (parachains) can connect to the Polkadot chain. The message/data is passed between parachains through the relay chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UI72h2BfqstOXSTJwH5gXA.jpeg" /></figure><p>These parachain slots aren’t just given to any chain, bidding in DOT is done on parachain slots to auction it off to the highest bidder. It is a candle auction. The bidding takes place for over a week and the winner is chosen in the last 6 hours evaluating the ending phase. A VRF is used to choose a random block on-chain from the ending phase, which decides the winner.</p><p>However, these slots are not permanently acquired by the bidding chain. The slots are given off on lease with minimum of 3 months and maximum of 2 years. In the slot auction, multiple chains can win the same slot, given that they are bidding on non-overlapping lease period and are the highest bidders. After the parachain’s lease expires, the bonded DOT tokens are returned.</p><p>As much as the mechanism achieving this feat is quite interesting, I must say the process is quite a hassle, and for small/new chains it is highly unlikely to make it into the parachain slot given the slots are limited and sometimes may require quite a sum of DOT tokens to secure the slot.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf55314fb962" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>