{"id":132,"date":"2017-12-04T09:44:40","date_gmt":"2017-12-04T09:44:40","guid":{"rendered":"https:\/\/abhashstempblog.wordpress.com\/2017\/12\/04\/lightning-protocol-the-raiden-network-a-beginners-guide\/"},"modified":"2024-02-07T16:00:15","modified_gmt":"2024-02-07T10:30:15","slug":"lightning-protocol-the-raiden-network-a-beginners-guide","status":"publish","type":"post","link":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/","title":{"rendered":"Lightning Protocol &#038; The Raiden Network: A Beginner\u2019s Guide"},"content":{"rendered":"<p>With the rise in their popularity, both Bitcoin and Ethereum were both forced to acknowledge a very fundamental flaw in their design i.e. the lack of scalability.<\/p>\n<p>Recently a lot of innovations have been done, which has addressed the scalability issues. Bitcoin has activated Segwit, and Ethereum has solved some of the issues via the recent Byzantium hardfork.<\/p>\n<p>However, both of these cryptocurrency heavyweights are planning to implement something soon which can, well and truly, solve this problem for good. They are both planning to implement their own version of \u201cPayment Channels\u201d.<\/p>\n<p>So, before we understand what they are, let\u2019s see why they are necessary.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_77 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"#\" data-href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#The_Problem_With_Transactions\" >The Problem With Transactions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"#\" data-href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#What_Are_State_Channels\" >What Are State Channels?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"#\" data-href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#What_Is_The_Lightning_Network\" >What Is The Lightning Network?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"#\" data-href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#What_Is_The_Raiden_Network\" >What Is The Raiden\u00a0Network?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"#\" data-href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"The_Problem_With_Transactions\"><\/span><strong>The Problem With Transactions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The real problem is the way the whole mechanism has been designed. Each and every transaction goes through because of one reason alone:<\/p>\n<p>The miners verify the validity of the sender and then add the said transaction to the block that they have mined.<\/p>\n<p>Inevitably, the miners become the bottleneck to this transaction process. This was doable when bitcoin first started out but it is not the most practical method anymore.<\/p>\n<p>Let\u2019s see why that is so.<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*YMVMkDqUwC0uPARArA9i_g.png\" data-width=\"1432\" data-height=\"568\" \/><\/p>\n<figcaption class=\"wp-caption-text\">This is a graph that shows the number of confirmed bitcoin transactions per day. In this extract the least amount of transactions happened on August 1: 131,875. Image Credit: <a href=\"https:\/\/blockchain.info\/charts\/n-transactions\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Blockchain.info<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>So, over the last 11 months (as of writing), 131,875 is the least amount of transactions per day!<\/p>\n<p>Because the miners simply can\u2019t handle these amounts of transactions, the waiting period for each transaction has skyrocketed.<\/p>\n<p>Checkout this graph:<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*9xYxgvbzhu7ifXffQsnPew.png\" data-width=\"1424\" data-height=\"563\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Credit: <a href=\"https:\/\/blockchain.info\/charts\/median-confirmation-time\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Blockchain.info<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>As you can see, people have had to wait upto 29 mins to get their transactions confirmed.<\/p>\n<p>This means that more often than not, people would have to wait for a new block to be mined (one block is mined every 10 mins in Bitcoin), in order to see their transactions through.<\/p>\n<p>Unfortunately, Ethereum isn\u2019t doing any better in this regard either.<\/p>\n<p>Theoretically speaking, Ethereum is supposed to process 1000 transactions per second. However, in practice, Ethereum is limited by 6.7 million gas limit on each block.<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*wEcaTGBU-VBCxi90LODZvg.png\" data-width=\"1158\" data-height=\"519\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Credit:<a href=\"https:\/\/etherscan.io\/chart\/gaslimit\" target=\"_blank\" rel=\"noopener noreferrer\"><strong> Etherscan<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>So, the miners are once again handicapped with the number of transactions they can add to the block.<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*3JvEwl4l5CwRf_Xlp5oV4g.png\" data-width=\"800\" data-height=\"511\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image courtesy: <a href=\"https:\/\/hackernoon.com\/blockchains-dont-scale-not-today-at-least-but-there-s-hope-2cb43946551a\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Hackernoon<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>Obviously, a solution was needed, and that\u2019s when people looked to payment channels.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_Are_State_Channels\"><\/span><strong>What Are State Channels?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A state channel is a two-way communication channel between participants which enables them to conduct interactions, which would normally occur on the blockchain, off the blockchain.<\/p>\n<p>Doing this greatly helps cutting down the waiting time since you are no longer dependent on a third party like a miner.<\/p>\n<p>So, how does a state channel work?<\/p>\n<ul>\n<li>A portion of the blockchain is sealed off via multi-signature or some sort of smart contract which is pre-agreed by the participants.<\/li>\n<li>The participants interact by signing transactions among each other without submitting anything to the miners.<\/li>\n<li>The entire transaction set is then added to the blockchain.<\/li>\n<\/ul>\n<p>The state channels can be closed at a point which is predetermined by the participants according to <a href=\"https:\/\/blog.stephantual.com\/what-are-state-channels-32a81f7accab\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Slock.it founder Stephan Tual<\/strong><\/a> it could either be:<\/p>\n<ul>\n<li>Time lapsed eg the participants can agree beforehand to close the channel in 1 hour. The parameter \u201cnLocktime\u201d is used to measure this.<\/li>\n<li>The total amount of transactions done eg. close the chain after $50 worth of transactions have been done.<\/li>\n<\/ul>\n<p>A state channel which exclusively deals with payments is called a \u201cpayment channel\u201d. Some of the more popular form of payment channels are:<\/p>\n<ul>\n<li>Nakamoto High-Frequency Transactions.<\/li>\n<li>Spillman-Style Payment Channel.<\/li>\n<li>CLTV-Style Payment Channels.<\/li>\n<li>Hashed Timelock Contracts (HTLC)<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"What_Is_The_Lightning_Network\"><\/span><strong>What Is The Lightning Network?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*bePlYJoUcOrnDUnkAKYVXg.png\" data-width=\"800\" data-height=\"600\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Credit: <a href=\"https:\/\/news.bitcoin.com\/lightning-network-alpha-release\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Bitcoin.com<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>The lightning network is an off-chain, HTLC style, micropayment system which is designed to make transactions work faster in the blockchain. It was conceptualized by Joseph Poon and Tadge Dryja and is often referred to as \u201cLayer 2\u201d.<\/p>\n<p>Hashed timelock contracts or \u201cHTLCs\u201d are the most popular form of payment channels.<\/p>\n<p>Let\u2019s see how it works. (The values that we are using in the examples i.e. the 0.1 BTC and 2 days of nLocktime are all arbitrary. They are being chosen for ease of explanation).<\/p>\n<p>Imagine Alice has to send 0.1 BTC to Charlie via Bob.<\/p>\n<figure>\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*p4DZ9D0oft27zfc7SgXrYw.png\" data-width=\"2600\" data-height=\"4000\" \/><\/p>\n<\/figure>\n<p>So, what is going in this infographic?<\/p>\n<ul>\n<li>Alice opens a channel with Bob and Bob opens a channel with Charlie.<\/li>\n<li>Alice declares that she wants to pay Charlie 0.1 BTC.<\/li>\n<li>Charlie declares a random string S and generates its hash H and hands it to Alice.<\/li>\n<li>Alice sends Bob the hash H and they open a multi-sig channel between them. The conditions of the channel are:\n<p>\u00a0a) Bob gets the 0.1 BTC if and only if he can show Alice the string S from which the H is derived.<\/p>\n<p>\u00a0b) There is an nLocktime of 2 days wherein, if Bob cannot produce the string then Alice gets a refund of 0.1 BTC.<\/p>\n<\/li>\n<li>Bob then shows the hash H to Charlie, proving that he has interacted with Alice and they proceed to open a multi-sig channel between them with the following conditions:\n<p>\u00a0a) Charlie gets 0.1 BTC if and only he shows Bob the String S from which the hash H has been derived.<\/p>\n<p>\u00a0b) There is an nLocktime of 1 day (less than the locktime of the Bob-Alice channel) wherein if Charlie can\u2019t produce the string then Bob gets a refund of 0.1 BTC.<\/p>\n<\/li>\n<li>If Charlie produces the string S then Bob sends him the 0.1 BTC.<\/li>\n<li>Similarly, Bob shows Alice the string S and gets the 0.1 BTC from her.<\/li>\n<\/ul>\n<p>So, what are the benefits of the lightning network?<\/p>\n<ul>\n<li>Instantaneous payments.<\/li>\n<li>Not dependent on third parties like miners.<\/li>\n<li>Micropayment friendly.<\/li>\n<li>Reduces blockchain load since the transactions are happening off-chain.<\/li>\n<li>Decreases transaction waiting time.<\/li>\n<li>Helps in blockchain scalability.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"What_Is_The_Raiden_Network\"><\/span><strong>What Is The Raiden\u00a0Network?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*JlwhBZPmaJhezYEr_EAEgQ.jpeg\" data-width=\"2000\" data-height=\"1125\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Credit:\u00a0<a href=\"https:\/\/medium.com\/@raiden_network\/the-raiden-network-token-model-9b6ef8d0b64\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Medium.<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>Ethereum\u2019s version of the lightning network is called \u201cRaiden\u201d.<\/p>\n<p>Ethereum, quite like Bitcoin, is highly impractical for micro transactions. There is a huge waiting line for transactions anyway and more often than not, miners tend to prefer transactions with higher transaction fees\/gas fees.<\/p>\n<p>Ethereum, as of writing, <strong>can handle 15 transactions per second.<\/strong> While that is better than Bitcoin\u2019s 7\/second, it is still pretty abysmal.<\/p>\n<p>It should ideally take <strong>a standard Ethereum transaction less than 20 seconds<\/strong> to be accepted into the blockchain. The most common and simplest of Ethereum transactions, an account transfer, costs around 21,000 gas.<\/p>\n<p>However, it usually takes more time than that. There are a lot of <a href=\"https:\/\/medium.com\/@ethgasstation\/current-dynamics-of-transaction-inclusion-on-ethereum-ae8912edc960\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>reasons why transaction time gets delayed<\/strong><\/a> in Ethereum (data taken from Eth Gas Station):<\/p>\n<ul>\n<li><strong>Block Interval Time<\/strong>: A new block is mined every 15 seconds in Ethereum.<\/li>\n<li><strong>Mining Delay<\/strong>: Your transaction won\u2019t be included in the next block after declaring itself to the network. Meaning if the transaction declaration happens at block 100, it won\u2019t be included in block 101.\n<p>\u00a0<\/p>\n<p>\u00a0Miners aren\u2019t comfortable changing the data of their blocks in the middle of the block interval to accommodate newly submitted transactions to the mempool. What this effectively means is that you will have to wait for the next to next block to get your transactions validated. Which means 15 + 15 = 30 seconds at least.<\/p>\n<\/li>\n<li><strong>Gas Price: <\/strong>Whether your transaction gets included in the block or not is also directly related to the gas price of each and every transaction. Usually miners accept transactions with higher gas prices and give them special preference by allowing them to \u201ccut in line\u201d so to speak.<\/li>\n<li><strong>Empty Block Penalty: <\/strong>Sometimes the miners mine blocks which are empty no matter what transactions are there in the mempool. Even the best mining pools currently have a <a href=\"https:\/\/medium.com\/@ethgasstation\/current-dynamics-of-transaction-inclusion-on-ethereum-ae8912edc960\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>1\u20132% empty block rate.<\/strong><\/a>\n<p>\u00a0<\/p>\n<p><strong>\u00a0<\/strong>So we need to factor in these times as well whilst calculating the average waiting time for each transactions.<\/p>\n<\/li>\n<\/ul>\n<p>So, if we were to make a graph of all these factors that delay a standard transaction, it would look like this:<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*Iaqj0glnpWWwA4mWmONhqg.png\" data-width=\"448\" data-height=\"240\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Courtesy: <a href=\"https:\/\/medium.com\/@ethgasstation\/current-dynamics-of-transaction-inclusion-on-ethereum-ae8912edc960\" target=\"_blank\" rel=\"noopener noreferrer\">Eth Gas\u00a0Station.<\/a><\/figcaption>\n<\/figure>\n<p>In order to make these transactions faster and more pocket-friendly, the Raiden network was introduced.<\/p>\n<p>How does Raiden circumvent all these possible transaction delays?<\/p>\n<p>Like the lightning network, it takes these transactions off the blockchain and removes any third party whatsoever. All of the factors happen because:<\/p>\n<ul>\n<li>Either a third party i.e. the miner, has to approve and validate the transaction.<\/li>\n<li>The transaction needs to be put inside the blockchain.<\/li>\n<\/ul>\n<p>Raiden, will allow two users to transact between them, as many times as they want, <em>without <\/em>having to interact with a miner or the blockchain.<\/p>\n<p>Raiden will be structured like a mesh type structure running on top of the ethereum main chain:<\/p>\n<figure class=\"wp-caption\">\n<p><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*VqSv94aCphmaEbJ9-s7Wrw.png\" data-width=\"422\" data-height=\"282\" \/><\/p>\n<figcaption class=\"wp-caption-text\">Image Courtesy: <a href=\"https:\/\/raiden.network\/101.html\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Raiden.Network<\/strong><\/a><\/figcaption>\n<\/figure>\n<p>Raiden was conceptualized by Brainbot technology.<\/p>\n<blockquote>\n<p>\u201cBasically all blockchain based applications that want to scale to real world usage will benefit from Raiden. It can be used for applications like asset <a href=\"https:\/\/www.modestmoney.com\/best-algorithmic-trading-software\/\">trading software<\/a> in gaming or finance, retail payments, micropayments for content (think the next YouTube or Spotify where creators are directly paid for every second consumed). But it\u2019s also suitable as an infrastructure for cheaper, faster and more secure correspondent banking.\u201d\u200a\u2014\u200aHeiko Hees, founder\/CEO Brainbot technology.<\/p>\n<\/blockquote>\n<p>So, how does Raiden work?<\/p>\n<p>Suppose Alice and Bob want to interact with each other using Raiden. This is how they will go about it<\/p>\n<ul>\n<li>Alice and Bob open an off-chain payment channel via deploying a smart contract.<\/li>\n<li>Both parties invest some form of security deposit in the smart contract.<\/li>\n<li>Suppose Alice wants to send 2 tokens to Bob, she signs the message \u201c2\u201d and sends it to Bob. Bob now has proof of Alice sending him 2 tokens.<\/li>\n<li>Now, suppose Alice wants to send Bob 3 more tokens. She will update the state of the message to \u201c5\u201d. This shows that the message is conveying the previous and the latest transaction as well.<\/li>\n<li>The moment Bob wants to redeem the 5 tokens, he will go the blockchain and close the channel. He will get the 5 tokens from the deposit that was initially made in the channel.<\/li>\n<li>The information will be relayed to the blockchain and the only record that will be stored is the final 5 token deposit made to Bob.<\/li>\n<\/ul>\n<p>Raiden\u2019s ICO got done on 1st November and <a href=\"https:\/\/icodrops.com\/raiden\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>they raised ~$33 million<\/strong><\/a>.<\/p>\n<p>The features of the Raiden Network are:<\/p>\n<ul>\n<li>Easy to use API.<\/li>\n<li>Helps Ethereum to scale up.<\/li>\n<li>Can be operated by an ERC20 token i.e. the RDN token.<\/li>\n<li>Enables fast and simple transfer of money.<\/li>\n<li>Decreases load on the Ethereum blockchain.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As you can see, both Lightning and Raiden Network will go a long way in easing up the load on the main blockchain and increasing the rate of the transactions. If Bitcoin and Ethereum want to scale up, they will have to implement these payment channels properly.<\/p>\n<hr \/>\n<p>Join our <a href=\"http:\/\/t.me\/springrole\" target=\"_blank\" rel=\"noopener noreferrer\">#telegram<\/a>, #<a href=\"http:\/\/twitter.com\/springroleinc\" target=\"_blank\" rel=\"noopener noreferrer\">twitter<\/a>, and #<a href=\"http:\/\/facebook.com\/springrole\" target=\"_blank\" rel=\"noopener noreferrer\">facebook<\/a> communities.<\/p>\n<p>Draft White paper: <a href=\"https:\/\/docsend.com\/view\/k5nghff\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>here<\/strong><\/a><\/p>\n\n\n<p class=\"has-medium-font-size\"><strong><a href=\"https:\/\/blog.springworks.in\/category\/blockchain-technology\/\">Read all our articles related to Blockchain Technology<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the rise in their popularity, both Bitcoin and Ethereum were both forced to acknowledge a very fundamental flaw in their design i.e. the lack of scalability. Recently a lot of innovations have been done, which has addressed the scalability issues. Bitcoin has activated Segwit, and Ethereum has solved some of the issues via the<\/p>\n","protected":false},"author":1,"featured_media":1136,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1439],"tags":[18,106],"class_list":["post-132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain-technology","tag-blockchain","tag-raiden-network","disable-dropcap","disable-2-columns"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Lightning Protocol &amp; The Raiden Network: A Beginner\u2019s Guide - Springworks Blog<\/title>\n<meta name=\"description\" content=\"Lightning and Raiden Network will go a long way in easing up the load on the main blockchain and increasing the rate of the transactions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lightning Protocol &amp; The Raiden Network: A Beginner\u2019s Guide\" \/>\n<meta property=\"og:description\" content=\"With the rise in their popularity, both Bitcoin and Ethereum were both forced to acknowledge a very fundamental flaw in their design i.e. the lack of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Springworks Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-04T09:44:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-07T10:30:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"608\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"wpx_blogspri\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@springroleinc\" \/>\n<meta name=\"twitter:site\" content=\"@springroleinc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wpx_blogspri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/\"},\"author\":{\"name\":\"wpx_blogspri\",\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#\\\/schema\\\/person\\\/bcca0568526b569054230f49ace9af63\"},\"headline\":\"Lightning Protocol &#038; The Raiden Network: A Beginner\u2019s Guide\",\"datePublished\":\"2017-12-04T09:44:40+00:00\",\"dateModified\":\"2024-02-07T10:30:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/\"},\"wordCount\":1787,\"publisher\":{\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/1_8qb7aqdLku_8jYJ31kthPg.jpeg\",\"keywords\":[\"Blockchain\",\"Raiden Network\"],\"articleSection\":[\"Blockchain Technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/\",\"url\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/\",\"name\":\"Lightning Protocol & The Raiden Network: A Beginner\u2019s Guide - Springworks Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/1_8qb7aqdLku_8jYJ31kthPg.jpeg\",\"datePublished\":\"2017-12-04T09:44:40+00:00\",\"dateModified\":\"2024-02-07T10:30:15+00:00\",\"description\":\"Lightning and Raiden Network will go a long way in easing up the load on the main blockchain and increasing the rate of the transactions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/1_8qb7aqdLku_8jYJ31kthPg.jpeg\",\"contentUrl\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/uploads\\\/2017\\\/12\\\/1_8qb7aqdLku_8jYJ31kthPg.jpeg\",\"width\":1080,\"height\":608,\"caption\":\"Lightning Protocol & The Raiden Network\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/lightning-protocol-the-raiden-network-a-beginners-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.blog.springworks.in\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lightning Protocol &#038; The Raiden Network: A Beginner\u2019s Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#website\",\"url\":\"https:\\\/\\\/www.blog.springworks.in\\\/\",\"name\":\"Springworks Blog\",\"description\":\"Everything about the Future of Hiring and Recruiting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.blog.springworks.in\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#organization\",\"name\":\"Springworks\",\"url\":\"https:\\\/\\\/www.blog.springworks.in\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Springworks-Blog-1.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/Springworks-Blog-1.png\",\"width\":548,\"height\":79,\"caption\":\"Springworks\"},\"image\":{\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/springroleinc\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.blog.springworks.in\\\/#\\\/schema\\\/person\\\/bcca0568526b569054230f49ace9af63\",\"name\":\"wpx_blogspri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/litespeed\\\/avatar\\\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989\",\"url\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/litespeed\\\/avatar\\\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989\",\"contentUrl\":\"https:\\\/\\\/blog.springworks.in\\\/wp-content\\\/litespeed\\\/avatar\\\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989\",\"caption\":\"wpx_blogspri\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Lightning Protocol & The Raiden Network: A Beginner\u2019s Guide - Springworks Blog","description":"Lightning and Raiden Network will go a long way in easing up the load on the main blockchain and increasing the rate of the transactions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/","og_locale":"en_US","og_type":"article","og_title":"Lightning Protocol & The Raiden Network: A Beginner\u2019s Guide","og_description":"With the rise in their popularity, both Bitcoin and Ethereum were both forced to acknowledge a very fundamental flaw in their design i.e. the lack of","og_url":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/","og_site_name":"Springworks Blog","article_published_time":"2017-12-04T09:44:40+00:00","article_modified_time":"2024-02-07T10:30:15+00:00","og_image":[{"width":1080,"height":608,"url":"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg","type":"image\/jpeg"}],"author":"wpx_blogspri","twitter_card":"summary_large_image","twitter_creator":"@springroleinc","twitter_site":"@springroleinc","twitter_misc":{"Written by":"wpx_blogspri","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#article","isPartOf":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/"},"author":{"name":"wpx_blogspri","@id":"https:\/\/www.blog.springworks.in\/#\/schema\/person\/bcca0568526b569054230f49ace9af63"},"headline":"Lightning Protocol &#038; The Raiden Network: A Beginner\u2019s Guide","datePublished":"2017-12-04T09:44:40+00:00","dateModified":"2024-02-07T10:30:15+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/"},"wordCount":1787,"publisher":{"@id":"https:\/\/www.blog.springworks.in\/#organization"},"image":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg","keywords":["Blockchain","Raiden Network"],"articleSection":["Blockchain Technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/","url":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/","name":"Lightning Protocol & The Raiden Network: A Beginner\u2019s Guide - Springworks Blog","isPartOf":{"@id":"https:\/\/www.blog.springworks.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#primaryimage"},"image":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg","datePublished":"2017-12-04T09:44:40+00:00","dateModified":"2024-02-07T10:30:15+00:00","description":"Lightning and Raiden Network will go a long way in easing up the load on the main blockchain and increasing the rate of the transactions.","breadcrumb":{"@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#primaryimage","url":"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg","contentUrl":"https:\/\/blog.springworks.in\/wp-content\/uploads\/2017\/12\/1_8qb7aqdLku_8jYJ31kthPg.jpeg","width":1080,"height":608,"caption":"Lightning Protocol & The Raiden Network"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.springworks.in\/lightning-protocol-the-raiden-network-a-beginners-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.blog.springworks.in\/"},{"@type":"ListItem","position":2,"name":"Lightning Protocol &#038; The Raiden Network: A Beginner\u2019s Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.blog.springworks.in\/#website","url":"https:\/\/www.blog.springworks.in\/","name":"Springworks Blog","description":"Everything about the Future of Hiring and Recruiting","publisher":{"@id":"https:\/\/www.blog.springworks.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.blog.springworks.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.blog.springworks.in\/#organization","name":"Springworks","url":"https:\/\/www.blog.springworks.in\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.blog.springworks.in\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2021\/09\/Springworks-Blog-1.png","contentUrl":"\/wp-content\/uploads\/2021\/09\/Springworks-Blog-1.png","width":548,"height":79,"caption":"Springworks"},"image":{"@id":"https:\/\/www.blog.springworks.in\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/springroleinc"]},{"@type":"Person","@id":"https:\/\/www.blog.springworks.in\/#\/schema\/person\/bcca0568526b569054230f49ace9af63","name":"wpx_blogspri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.springworks.in\/wp-content\/litespeed\/avatar\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989","url":"https:\/\/blog.springworks.in\/wp-content\/litespeed\/avatar\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989","contentUrl":"https:\/\/blog.springworks.in\/wp-content\/litespeed\/avatar\/e4a8c05b4b8574393eb77ee62952d5f0.jpg?ver=1778036989","caption":"wpx_blogspri"}}]}},"_links":{"self":[{"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":4,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":514876,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/posts\/132\/revisions\/514876"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/media\/1136"}],"wp:attachment":[{"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.springworks.in\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}