<?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 Shahab Bezadi on Medium]]></title>
        <description><![CDATA[Stories by Shahab Bezadi on Medium]]></description>
        <link>https://medium.com/@shahabbhz?source=rss-c7bbedb4f86f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XHsMlgwMLex_SJuHgbypBQ.png</url>
            <title>Stories by Shahab Bezadi on Medium</title>
            <link>https://medium.com/@shahabbhz?source=rss-c7bbedb4f86f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:32:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahabbhz/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[Ethereum Scalability Solutions, Connext and Stakenet | XSN Research]]></title>
            <link>https://medium.com/stakenet/ethereum-scalability-solutions-connext-and-stakenet-xsn-research-4edb29267bb6?source=rss-c7bbedb4f86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4edb29267bb6</guid>
            <category><![CDATA[connext-network]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[xsn-articles]]></category>
            <category><![CDATA[ethereum-scalability]]></category>
            <category><![CDATA[stakenet]]></category>
            <dc:creator><![CDATA[Shahab Bezadi]]></dc:creator>
            <pubDate>Wed, 02 Dec 2020 16:00:41 GMT</pubDate>
            <atom:updated>2020-12-02T16:00:41.539Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rzI-kvAFXD6dfhwr.png" /></figure><h3>Scalability Solutions</h3><p>There have been many attempts at upgrading blockchain infrastructure, with the very first one being Lightning Network, which is arguably as old as the very first Bitcoin software released by Satoshi Nakamoto in 2009. Looking into Bitcoin 0.1, there is <a href="https://github.com/trottier/original-bitcoin/blob/master/src/main.cpp#L434">a raw draft of code</a> that would let users update a transaction before it was confirmed. Later, Satoshi Nakamoto explained how payment channels could work in peer to peer comms to handle off-chain transactions or more generally, value transfer. Doing so would simultaneously free up on-chain throughput, while also allowing microtransactions to take place through dedicated channels. The Lightning Network itself became a “layer-2” protocol built on top of the Bitcoin blockchain.</p><p>Transactions that occur on the Lightning Network happen completely off-chain and are only recorded at settlement. This allows for two parties to set up a payment channel, such as one used in a smart contract, that would only be settled if one of the parties closes the channel. Due to the nature of occurring off-chain, these transactions are also completely private and can occur in milliseconds.</p><p>Other scalability solutions continue to be developed to address the growth problem posed by blockchain. Besides Ethereum L2 solutions, which we will review later in this article. At the top of most lists is Ethereum 2.0, which is hoped for by many to solve the crushing fees on the Ethereum blockchain. ETH 2.0 or Serenity, will use a new blockchain technology called sharding, which essentially splits blockchain data into its own dedicated “shard chains”. These shards can be programmed for specific functions. The idea is that for certain types of transactions, only one “shard” of the blockchain will need to be used, leaving the other shards clear for other purposes. ETH 2.0 will have 64 shards, each capable of about 50 Transactions Per Second (TPS), for a total of 3200 TPS in a best-case scenario. But this doesn’t provide Ethereum infinite scalability — the moment sharding is fulfilled, Dapps and Defi projects will start utilising on-chain aspects even more, causing the demand for Layer-1 transactions to rise faster. Therefore, this could only be a temporary way out, and in a short period we end up in the same situation.</p><h3>Ethereum Layer-2 Types</h3><p>Different Ethereum L2 solutions try to scale:<br>- Payments<br>- Smart contracts<br>- Computation and processing power.</p><p>One thing these solutions have in common is that they move the workload off-chain and use permissionless blockchains as anchors to guarantee security.</p><p>There are several branches of off-chain scaling solutions for Ethereum and EVM-compatible chains:</p><p>1- <em>State channels<br></em>Normally implemented on blockchains, state channels are the general form of payment channels (similar to Lightning Network (LN) for Bitcoin) where in any state-modifying operation, they support the “state updates” (payment updates in case of Bitcoin LN).</p><p>Every state channel has three steps:<br>1- Two users open the state channel and lock the initial state (e.g. initial balance in LN).<br>2- Users transact and update the state (e.g. balance updates in LN).<br>3- Once parties have finished updates, they both submit the state updates to the smart contract on the blockchain (final balance in LN) and unlock the final state.</p><p>Projects working on state channels: <a href="https://connext.network/">Connext Network</a>, <a href="https://raiden.network/">Raiden Network</a>, <a href="https://liquidity.network/">Liquidity Network</a>, <a href="https://perun.network/">Perun Network</a>, <a href="https://statechannels.org/">Statechannels</a>, <a href="https://www.celer.network/">Celer Network</a>, <a href="https://www.counterfactual.com/">Counterfactual</a><strong>, </strong><a href="http://funfair/">Funfair</a>, <a href="https://machinomy.com/">Machinomy</a>, <a href="https://magmo.com/">Magmo</a>, etc.</p><p>2- <em>Rollups<br></em>Rollups are one of the options for L2 construction that “roll up” and mass transfer transactions into a single transaction. The respective smart contract will verify all the transactions held in the single transaction. In the case of ZKrollups a “zero knowledge proof” approach known as SNARK (Succinct Non-interactive Argument of Knowledge) will generate a cryptographic proof, and publicly record the validity of the block on the Ethereum blockchain.</p><p><a href="https://loopring.io/#/">Loopring</a>, <a href="https://starkware.co/product/starkex/">Starkware</a>, <a href="https://matter-labs.io/">Matter Labs</a>, <a href="https://aztec.network/">Aztec</a> and more projects are working on ZK rollups.</p><p>3- <em>Plasma and sidechains<br></em>Plasma is a framework of secondary or child chains for creating scalable applications using a combination of smart contracts and cryptographic verification. Plasma architecture is like a blockchain tree, and on top of each child chain, more chains can be built.<br>A plasma chain is an independent blockchain that is anchored to the main Ethereum chain, and if disputes arise, uses fraud proofs as a way of communication between child chains and the root chain.<br>Plasma and sidechains might look similar in concept, but they have their differences. Read more about it <a href="https://docs.plasma.group/en/latest/src/plasma/sidechains.html">here</a>.</p><p><a href="https://omisego.network/">OMG Network</a>, <a href="https://matic.network/">Matic Network</a>, <a href="https://gluon.network/">Gluon</a>, <a href="https://gzle.io/">Gazelle</a>, <a href="https://ipfs.leapdao.org/">LeapDAO</a> and others are working on Plasma.<br>While projects like <a href="https://skale.network/">Skale</a> and <a href="https://www.poa.network/">POA Network</a> specifically develop sidechains.</p><p>4- <em>Off-chain computation</em><br>Projects like <a href="https://teex.io/">Teex</a>, <a href="https://truebit.io/">Truebit</a>, <a href="https://arpachain.io/">Apra</a> and <a href="https://www.transmute.industries/">Transmute</a> propose a secure computation solution for blockchain networks as an L2 scheme. Off-chain computation brings the computation work off the public blockchain network and only verifies the result in public when disputes arise.</p><h3>The Connext Network</h3><p>The Connext Network is the analogous solution to the Lightning Network, but for Ethereum and Ethereum-based assets. It is an off-chain scaling solution for the Ethereum blockchain, enabling instant, cheap, scalable, and private payment channels.</p><p>Just like the Lightning Network allows for a payment channel for BTC between two parties, the Connext Network allows for the transfer of Ethereum (or ERC20 tokens) without the need for global consensus. The main blockchain is only referenced for the one-time on-chain creation of the channel and its eventual closing. The below figure is useful for understanding this process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/0*vfh8uAUmGZkcThE4" /><figcaption>Figure 1. Simple Bidirectional Payment Channel.</figcaption></figure><p>One area of focus for Connext is entering and exiting those “Layer-2” channels. Like we said earlier, these channels operate off-chain, and only record transactions on-chain when funds are deposited or withdrawn from those channels. As such, these crossover points must be an area of focus for any L2 solution. This becomes even more of a problem in a blockchain-based economy that utilizes multiple chains on multiple protocols. How can users send value and interact with various contracts cross-chain seamlessly? Even more complex, how can different L2 solutions interact?</p><p>Transfers in these networks must take place through intermediary routers that provide liquidity, similar to how data is shared on the internet in packets — but with value instead of data. Connext nodes are <em>chain-agnostic</em>, meaning that the protocol can interact with multiple chains and across chains, routing value seamlessly through them.</p><p>What makes Connext the best choice for our DEX infrastructure is their recently released protocol, <a href="https://github.com/connext/vector">Vector</a>, a cross-chain routing network that can bounce between other L2s, ETH shards, primary blockchains and even EVM-compatible chains such as Binance smart chain, Ethereum classic, TOMO chain, and <a href="https://chainid.network/chains/">others</a>.</p><p><a href="https://medium.com/connext/instant-cross-l2-transfers-are-now-on-testnet-2f1295530c22">Vector</a> supports conditional transfers routed over intermediary nodes, instant cross-chain and cross-asset transactions, plugin support for non-EVM turing-complete chains, zkRollups, easy deposit/withdraw interface, and low gas costs. All of this is packaged in a lightweight program, containing no more than 2500 lines of code.</p><p>Other advantages of Connext are client stability, supporting all operating systems including Windows, and live support for ETH, USDT and DAI. All these mean we will be able to easily add further pairs once we successfully implement and test Vector protocol, making us the first DEX adding support for BTC/USDT and other crypto-stablecoin pairs, without any need for wrapped coins on Ethereum mainnet.</p><h3>Stakenet Interoperability</h3><p>Stakenet is quite literally going to be the glue that holds these L2 solutions together. We have already debuted our beta Lightning DEX, the very first platform that enables “Lightning Swaps.” A lightning swap is similar to an atomic swap, except it occurs entirely off-chain. Balances are sent to blockchain wallets upon withdrawal from the DEX.</p><p>We have begun work on integrating the Connext network and the Vector protocol into the XSN DEX, which would add support for a number of Ethereum-based assets and L2 solutions to our platform. This integration will be complete before the public launch of the XSN DEX “Gaia”. Not only will this support lightning-fast trading of hundreds of new assets, but it will also link XSN to the booming Ethereum DeFi industry! Users will be able to conduct leveraged trades using FTT and its tokens, utilize the Compound protocol and COMP coin, and much more.</p><p>As of right now the Lightning and Connext networks are entirely separate, but they can be joined through our Lightning DEX. Someone with BTC in the LN will be able to instantly swap it for ETH or USDT (all off-chain) making the Lightning DEX the first off-chain link for off-chain L2 solutions. By integrating the Connext network, Stakenet will also reap the benefits of its chain-agnostic features, becoming the cross-chain architecture for cryptocurrencies operating on separate blockchains.</p><p>The Lightning Network DEX is only the beginning. As a code-agnostic platform, many dApps can be built on top of Stakenet. The potential applications for this are limitless, as this composability would offer smart contract applications many fascinating and exciting possibilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4edb29267bb6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stakenet/ethereum-scalability-solutions-connext-and-stakenet-xsn-research-4edb29267bb6">Ethereum Scalability Solutions, Connext and Stakenet | XSN Research</a> was originally published in <a href="https://medium.com/stakenet">Stakenet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockchain Scalability Solutions: Lightning Network and Sharding]]></title>
            <link>https://medium.com/stakenet/blockchain-scalability-solutions-lightning-network-and-sharding-efdb9d5c6703?source=rss-c7bbedb4f86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/efdb9d5c6703</guid>
            <category><![CDATA[xsn-new]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[blockchain-sharding]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[xsn-articles]]></category>
            <dc:creator><![CDATA[Shahab Bezadi]]></dc:creator>
            <pubDate>Tue, 24 Sep 2019 12:16:13 GMT</pubDate>
            <atom:updated>2019-09-24T12:17:56.975Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hnfct5qr8rIewYWP-oqg7g.png" /></figure><p><strong>Abstract</strong></p><p>This article will explore Blockchain scalability issues and will review potential solutions, including Lightning Network and Sharding. The first section will outline the importance of scalability for adoption, with a focus on transaction throughput and long confirmation times. Next, there will be in-depth looks at Lightning network and Sharding network, including a compare/contrast section explaining the pros and cons of each. Conclusion will include that Stakenet is exploring the implementation of sharding into their infrastructure.</p><p><strong>Solving Scalability</strong></p><p><strong>Blockchain’s Scalability Issues</strong></p><p>Anyone who has been involved in the crypto space for any amount of time is familiar with blockchain as a technology used for validating transactions. Nearly every crypto from Bitcoin to Stakenet to Doge utilizes different protocols that allow for simple and efficient movement of funds. But why limit this technology to a monetary transaction? Blockchain has the potential to revolutionize much more than finance. Author and college professor Don Tapscott wrote in an <a href="https://hbr.org/2016/05/the-impact-of-the-blockchain-goes-beyond-financial-services">article</a> for the Harvard Business Review, “Blockchain could transform business, government, and society in…profound ways.” He goes on to describe how blockchain could even impact other industries, including the music industry, manufacturing, and more. Check out <a href="https://www.cbinsights.com/research/industries-disrupted-blockchain/">this article</a> by CB Insights, to learn more about how evolving blockchain tech could transform nearly every industry.</p><p>But as blockchains are rolled out in an increasing number of test programs across many different use cases, there is one issue that poses challenges for mass adoption: scalability. The term “scalable” is typically used in one of two ways: the ability to be applied in a range of capacities, and the ability to be changed in size. While we have established that blockchain is extremely scalable in the former sense, it has struggled in the latter.</p><p>In early 2019, an academic paper was published by Evangelos Georgiadis on the theoretical limitations of Bitcoin’s current protocol. Georgiadis concluded that Bitcoin’s theoretical processing capacity tops out around 27 transactions per second. This number is calculated by determining how many transactions are capable of fitting in Bitcoin’s limited block size. To look at all of the math, <a href="https://eprint.iacr.org/2019/416.pdf">here is a link to the academic paper</a>. This theoretical number pales in comparison to Visa’s 65,000 per second (powered by its 119 data centers). This comparison is even worse when considering that Bitcoin’s <em>actual </em>throughput is between 3.3 and 7 transactions per second. If Bitcoin is ever going to reach the “mass adoption” that its holders dream of, the scalability issue is one that must be addressed.</p><p><strong>Addressing Scalability</strong></p><p>One of the main contributors to this issue is Bitcoin’s long block time of 10 minutes, and the block size limit of 1 megabyte. Bitcoin developers have long debated potential solutions to this problem, with proposals ranging from block size increases to “two-layer” protocols. SegWit2x was a popular potential solution, and planned to implement a two-part plan that would utilize witness nodes as well as hard fork the blockchain to support a larger block size. However, the SegWit2x developers announced on November 16, 2017 that the plan would not move forward due to a lack of consensus. (Note: SegWit2x is not to be confused with Segwit, which was successfully implemented on the Bitcoin blockchain on July 21, 2017 via a soft-fork.)</p><p>Another popular solution for the Bitcoin network is the implementation of the “Lightning Network”, a highly scalable second layer protocol that would allow for cheaper and near-instant transfer of funds. While the Beta version of the LN is functional, it is still in testing and its success remains to be seen.</p><p><strong>Sharding</strong></p><p>While Bitcoin and other Proof of Work Cryptocurencies squabble over the best solution to low throughput, many cryptos are innovating behind the scenes through the implementation of sharding. The term “Sharding” is common to the database realm, and is used to increase server-side efficiency. In Databases, a “Shard” is a “slice” of a database, with each respective portion stored in a different server, thus spreading the workload. Now, blockchains function differently than a Database, but the same fundamental principle can still apply. Instead of all data portions being stored in each node, when sharding is implemented each node will only store a portion of the block data, thus spreading the “work” of the blockchain across participating nodes.</p><p>Concerns have been raised about the chain security, if the portions of the chain are partitioned across multiple shards. By nature, blockchains are susceptible to 51% attacks, which can only occur if a user obtains 51% of the chain consensus (or validators). In this scenario the blockchain history could potentially be re-written, effectively giving the attacker total control of the supply. But when a chain’s data is broken into separate shards, the percent of consensus required to conduct such an attack decreases fractionally. For example, if a chain employs ten separate shards, the percentage of the consensus required to conduct such an attack would be 5.1%. However, in order for this to be damaging, all 5.1% of those validators must be working on the same shard.</p><p>The key to maintaining shard security is randomizing which shards a validator node is placed on, so as to prevent these attacks from occurring. Assigning and re-assigning validators to different shards is a complicated process, and requires a lot of computation in order to ensure the action is truly random. Most sharding designs utilize a separate blockchain to accomplish this “random assignment” function, as well as to bridge between the separate shards through taking snapshots and receiving updates. This chain is commonly referred to as the Beacon chain.</p><p><strong>Lightning Network</strong></p><p>In lieu of executing a “hard” or “soft” fork of the Bitcoin blockchain -a move that would be difficult and messy to accomplish- many have proposed implementing a second layer protocol to the Bitcoin blockchain. This is essentially what the lightning network is. The term “second-layer” means that the Lightning Network is built <em>on top of </em>the already existing Bitcoin blockchain, the LN is not a chain in and of itself. This network allows users to send their Bitcoin directly, without going through the slow and cluttered Bitcoin network. Some estimates indicate that if implemented correctly, the Lightning Network could support <a href="https://thenextweb.com/hardfork/2018/11/19/what-is-lightning-network-scalability/">a throughput of 50,000 transactions per second</a>, a number that is comparable to what VISA boasts today. The Lightning Network website boasts that the technology has the potential to support “millions to billions” of transactions per second, blowing away the max throughput of the competition.</p><p>Not only will the implementation of the Lightning Network drastically increase transaction speeds, it will also significantly reduce the traffic on the very congested blockchain. Since transactions will be supported through the second layer protocol, recording them on the chain is not necessary, so long as that payment channel remains open. As soon as the direct peer-to-peer channel is closed, the final balances are recorded on the chain. This will hopefully reduce the 300,000 average daily transactions that clutter the Bitcoin chain.</p><p><strong>Compare/Contrast</strong></p><p>In the simplest possible terms, the lightning network provides an “off-chain” solution to Blockchain’s scalability problem, while Sharding provides a non-traditional “on-chain” solution to the problem. Both of these protocols have the capacity for enormous transaction throughput, and both are viable options, though both are still in the relatively early stages of development in the cryptosphere. However, the most hardcore of crypto purists will likely not find either solution to be satisfactory, since both deviate from the traditional methods of storing the entirety of the blockchain data on each individual node.</p><p><strong>Stakenet and Emerging Crypto Technologies</strong></p><p>While Stakenet has already begun implementation of the Lightning Network into its protocol as a second-layer to power its DEX and Lightning Swap features, the research team is investigating Sharding to incorporate it into the first layer, as it’s still early stages of implementing Sharding technology in a blockchain. These two technologies will integrate seamlessly to create an incredibly fast, lightweight and virtually infinitely scalable network. Incorporating sharding will also allow the easy implementation of Smart Contracts through a dedicated network shard. Considering that these powerful technologies will be paired with the strictest of privacy protocols, the blockchain behind Stakenet is truly on the cutting edge of the industry.</p><p><em>Join us on </em><a href="https://discord.gg/cyF5yCA"><em>Discord</em></a><em> and follow us on </em><a href="https://twitter.com/XSNofficial"><em>Twitter</em></a><em> to stay up-to-date with our latest news and developments.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efdb9d5c6703" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stakenet/blockchain-scalability-solutions-lightning-network-and-sharding-efdb9d5c6703">Blockchain Scalability Solutions: Lightning Network and Sharding</a> was originally published in <a href="https://medium.com/stakenet">Stakenet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>