Categories
Crypto Daily Topic

Altcoins with Lightning Network Support

Satoshi Nakamoto’s vision was for Bitcoin to be a digital currency that could be transferred between users in a fast and secure manner. However, if he intended for the network to one day compete with established payment systems, then he probably did not take into account the scalability level that Bitcoin would need for that to be possible.

As it is now, Bitcoin can muster only seven transactions per second, which pales in comparison to, let’s say, Visa’s 1700. And as more users troop to the network, waiting times and transaction fees continue to increase.

If Bitcoin hopes to ever compete with existing payment models, some adjustments may need to be made to its fabric.

The Lightning Network

Lightning network_Forex Academy

Over the years, Bitcoin developers have come up with several solutions to this problem, from Plasma to Segregated Witness, to sharding, to the Lightning Network (LN).

Proposed by Thaddeus Dryja and Joseph Poon in 2015, LN is an extra layer for the Bitcoin blockchain that uses two-way payment channels to allow users to transact with each other with very nominal fees. Once the parties close the channel, only the initial and final transactions are recorded on the Bitcoin blockchain. Users in a payment channel conduct as many transactions as they want – which happens within seconds and with minuscule fees.

The idea is to reduce congestion in the Bitcoin blockchain and to achieve fast transactions since users do not have to wait for transactions to be processed. On LN, participants can engage in transactions without the need to know or trust each other.

LN is designed for Bitcoin’s scalability problem, but several other cryptocurrencies are looking to adopt the technology to enhance their scalability. Cryptocurrencies that use a different model from Bitcoin, and are hence incompatible with the technology, are working on a similar solution. This article is a look at various cryptocurrencies’ take on the Lightning Network.

Bitcoin and Lightning Network

Bitcoin Lightning_Forex Academy

Lightning Labs, a company dedicated to developing scalability solutions for Bitcoin, released a beta version of the technology for the blockchain in December of 2017. This year, the team announced that they had developed a v0.10 beta version, which is an upgraded version of the first release. This version comes with improvements such as bug fixes, architectural improvements, better security and privacy, and more.

Lightning Labs is not the only startup that’s working on an implementation of the Lightning Network. Other companies such as C-Lightning, Blockstream, and ACINQ are also working on their version of the tech.

Also, several developers have already worked on Lightning Network wallets. Some available options include:

  • Eclair – a mobile wallet for Android designed by ACINQ
  • Munn Wallet – A non-custodial wallet that enables you to make instant payments without configuration procedures
  • Zap – A free Lightning Network wallet that’s simple to use and user-experience-focused.
  • Nayuta Wallet – This a non-custodial wallet for Bitcoin and the Lightning Network
  • Phoenix – This is a non-custodial wallet Lightning Network wallet with a user-friendly and intuitive interface
  • SATs App – SATS App allows you to send Bitcoin like you would a text message, via the Lightning Network

Litecoin and Lightning Network 

Litecoin is modeled after Bitcoin, and is often referred to as ‘the silver to Bitcoin’s gold’. As such, you would expect that the two cryptocurrencies are in direct competition.

Indeed, Lightning Labs’ initial debut implementation of the technology went live on both Litecoin and Bitcoin’s blockchains. Also, the company’s cross-atomic swaps function (the direct swapping of tokens between respective blockchains- bypassing crypto exchanges) was first tested on both Bitcoin and Litecoin.

Though the technology is yet to be implemented on Litecoin, when it does, it will give the network a much-needed push towards wide adoption.

Ethereum and Raiden

The Ethereum network can process transactions two times faster than Bitcoin. Ethereum can currently process 15 transactions per second, while Bitcoin can process 7.

However, Ethereum’s blockchain has more users and is busier than Bitcoin’s since it also runs decentralized applications (DApps) and facilitates initial coin offerings (ICOs). This means the network handles a lot of traffic as it processes token sales and smart contracts. As such, Ethereum needs a different scaling solution, but one uniquely suited to its needs. Several proposals are in the works, but a notable one is Raiden.

Raiden’s concept is much like that of the Lightning Network: providing an extra layer aside from the main blockchain through which individuals can use two-way payment channels to conduct instant and secure transactions with very nominal fees. The difference lies in that Raiden is ERC20 compatible, meaning all tokens issued on Ethereum can use Raiden.

ZCash and BOLT 

The Lightning Network will make transactions on transparent blockchains like Bitcoin a bit more private since payments on the two-way channel will not be broadcasted on the main blockchain. However, the initial and final transactions will be added to the main chain.

ZCash is a privacy crypto network that seeks to provide users with enhanced privacy and anonymity. The Lightning Network’s incomplete privacy state will obviously not mesh well with ZCash – necessitating the need for its own scaling solution.

The network’s proposed solution for this end is called ‘BOLT’ (Blind Off-chain Lightweight Transactions). Created by Ian Miers and Matthew Green, BOLT is inspired by the Lightning Network, only that its approach involves ensuring payments on the same channel cannot be linked to each other, even by transacting parties. Also, transactions occur in milliseconds – without requiring block confirmation.

It will achieve this by utilizing two pieces of technology: blind signatures and commitments. Commitments allow users to hide the value of transactions. Signatures convince users to sign for transactions without recognizing which one they are signing for exactly.

Ripple and Lightning Network

Ripple_ Forex Academy

In August of 2017, Ripple, together with blockchain company BitFury, released a code that integrated the Lightning Network with Interledger. Interledger is a protocol by Ripple that enables transactions between different blockchains. This means not just blockchains like Bitcoin and Ethereum, but also private blockchains and traditional payment models like PayPal.

Ripple doesn’t really need a scalability solution – it can already process an impressive 1500 transactions per second. The network hopes to integrate LN technology for its atomic swaps function and to achieve compatibility between cryptocurrencies.

Ripple’s CTO Stefan Thomas illuminated on this while speaking to Coindesk, saying: “I shouldn’t have to care which particular coin you use or like. If you’re on PayPal and I’m on Alipay or if I’m on Bitcoin and you’re using a bank account, I’ll still be able to send you money and not worry about it. That’s the long term goal.”

Monero and Lightning Network

Just like ZCash, Monero is a privacy-oriented coin, meaning if it needs to use LN for scaling purposes, it will need to put in place some privacy features.

Still, it looks like Monero intends to utilize the Lightning Network for its atomic swaps technology and not so much for its scaling solution. There are also plans to work with Litecoin in a bid to use the Lightning Network into Monero and enable atomic swaps between the two blockchains.

The idea is to ultimately enable Monero users to swap their coins for any other cryptocurrency via LN in the future.

Neo and Trinity

The NEO platform is much like Ethereum in the sense that it provides a platform for developers to create DApps and for users to create smart contracts. As such, it needs a scaling solution to handle the massive traffic and take the strain off the main chain. This solution is called ‘Trinity’ and is still in the works. The solution will see the NEO network scale to new heights of scalability, seeing as it can already handle 1,000 transactions per second.

Stellar and Lightning Network

Stellar is a payment protocol for making fast, secure, and cheap transactions. As it is, the Stellar network can process up to 1,000 transactions per second.

Still, Stellar has announced plans to integrate the Lightning Network. Co-founder and CTO Jed McCaleb stated that this technology has the potential to improve scalability, privacy, and interoperability for the network.

Speaking to Bitcoin Magazine, McCaleb said: “We’re super excited about Lightning,” adding, “In order to keep the network efficient and stable, we need something like Lightning.”

Final Thoughts

The Lightning Network is a great solution for cryptocurrency networks to achieve scalability, more privacy, and cheaper transactions. When these blockchain networks finally roll out their LN solutions, they can go toe to toe with traditional payment systems, and users can expect a better experience.

Categories
Cryptocurrencies

Zilliqa Blockchain: What Is Ziliqa And How Is It Turning Blockchain Upside Down

Anyone that’s transacted on the Bitcoin blockchain is aware of how long transactions take to be confirmed. In fact, Bitcoin transactions can take anything from 10 minutes to one day, depending on traffic. One of the things a digital currency is supposed to accomplish is speed. This is one goal that’s yet to manifest for Bitcoin and, indeed, the majority of blockchains.

Many blockchains are remodeled after Bitcoin’s blockchain, one way or another. The result is the same, slow transactions and waiting times. Zilliqa changes this by deconstructing the current blockchain concept.

Let’s delve into the interesting way that it does this.

What’s Zilliqa?

Zilliqa is a scalable blockchain with the ability to process thousands of crypto transactions every second. This is made possible by its adoption of the sharding technique. Sharding is by no means a new concept, nor was it invented for blockchain. The technique has been around for a while and is majorly used to partition databases to make workloads more manageable.

Blockchain’s Scalability Problem

The current blockchain, as we know it, uses the consensus mode of transaction confirmation that has faced scalability issues since its inception. This is due to thousands of nodes in any blockchain network that makes it harder to reach consensus. The speed of a network is inversely related to how large it is. The bigger the network, the more nodes that have to reach a consensus on transactions, slowing their confirmation.

Consider Bitcoin’s blockchain. As more users use the network, confirmation time is slower, and the transaction fee increases. Moreover, those who want faster confirmation are forced to pay more in order to get first priority. This is not only expensive, but it also goes against the democratic nature and accessibility-for-all of cryptocurrency.

The Ethereum blockchain, the second most popular, also has an inherent scalability problem. This is best illustrated by the Cryptokitties fiasco, whereby the game’s developers had to increase the transaction fees in order to at least reduce network congestion. This demonstrated how the network couldn’t handle massive amounts of traffic.

Right now, both Bitcoin and Ethereum, with their transaction throughput of 7 and 15 transactions per second respectively, are unable to compete with traditional payment systems such as Visa, which handles as much as 1,700 transactions per second.

The problem with proposed scalability solutions

Now, solutions that have been proposed for the blockchain scalability issue are not sustainable for the long haul. One of these is moving part of the transaction data off the chain. Others are increasing the block size so that consensus can be established for each round of transactions.

These are band-aid solutions that don’t fix the fundamental problem. The ideal solution would be overhauling the entire architecture so that the rate of nodes giving consensus is positively correlated with the network size.

Zilliqa’s Scalability Answer

Zilliqa proposes to solve this problem by re-imagining the entire blockchain from the ground up. This new model involves implementing a hybrid consensus that will grow the network’s throughput with every 600 new nodes that join.

Theoretically, for every 600 new nodes, Zilliqa’s throughput increases by dividing the work. In practice, an ever-increasing network (let’s say 1 million nodes) can present broadcast issues.

However, no network as yet has reached 1 million nodes. Both Bitcoin and Ethereum currently have tens of thousands of nodes. Even with that number, they’re still only able to process an average of 3-15 transactions per second (TPS). By contrast, with only 1800 nodes, Zilliqa has a throughput of 1218 TPS. When this number is doubled to 3,600 nodes, Zilliqa can handle up to 2, 488 TPS.

Zilliqa’s Sharding Protocol

So, what’s Zilliqa’s plan to achieve this scalability? It does this by utilizing a process known as sharding. The Zilliqa protocol divides the nodes on the network into groups of 600 each. Each group is called a shard. For instance, if a network has 2400 nodes, the nodes will be divided four times, with each group getting 600 shards.

Zilliqa Sharding_Forex Academy

So, as more nodes join the network, they are automatically distributed to create shards. Each shard will process a small part of each transaction. For instance, if there are ten shards on the network, each processes a tenth of the total transaction. Thus, the more shards you get, the more work you have, the faster the workload, and the faster the transaction throughput.

Every shard processes the transaction the parallel shard is working on. A parallel process is known as a ‘DS epoch.’ After every epoch, the blocks will come together and form a full block.

The DS Committee

Zilliqa has a “DS committee” that manages shard allocation. For each DS epoch, nodes are randomly selected to manage the shards. These nodes are the ones known as the DS committee, and they decide which shards the nodes are allocated to.

Finding Consensus: Proof-of-work and Byzantine Fault Tolerant Mechanism

Zilliqa utilizes a hybrid consensus mechanism that works as follows:

The first stage of the mining process involves proof-of-work (PoW). The PoW involves completing a hash to prove and establish identity, making it impossible for a bad actor to create multiple identities and overwhelm the network. After a node’s identity is proven, it’s assigned to a shard.

In the shards, Zilliqa applies a Practical Byzantine Fault Tolerance consensus (PBFT). Now, this mechanism has a finality, meaning the majority of the nodes in a shard must reach consensus on a mini-block. Once a block is verified by the shards and the DS committee, it becomes the only block that can be linked to the one before it.

Zilliqa’s Scilla

The Zilliqa team has developed a new programming language known as Scilla. Scilla is an intermediate-level language that separates the programming and communication aspects of smart contracts. It helps to differentiate between functional contracts compatible with Zilliqa’s blockchain, and state-dependent contracts that are not yet supported by Zilliqa.

Zilliqa Token

Zilliqa has a native token known as ZIL. ZIL token acts as an incentive for miners, gas for fueling smart contracts, and for covering transaction fees.

As of May 8, 2020, Zilliqa is trading at $0.006985 and ranks at #75. It has a market cap of $101,107,215, and a 24-hour trade volume of $23, 583, 984. A total of 10 billion ZIL tokens are in circulation. The coin has a total supply of 13 billion and a maximum supply of 21 billion. ZIL’s all-time high was 0.231489 on May 19, 2018, and its all-time low was $0. 002477 on March 13, 2020.

Who’s the Team Behind Zilliqa?

The Zilliqa team mainly comprises of people with a computer science background. CEO Xinshu holds a Ph.D. in Computer Science from the National University of Singapore. Chief Scientific Advisor Prateek Saxena holds a Ph.D. in the same field form the University of California, Berkeley. Head of Research Amrit Kumar has a Ph.D. from Université Grenoble-Alpes, France, as well as an Engineer’s diploma from Ecole Polytechnique, France.

The project’s advisory board comprises of notable figures in the blockchain sphere. These are Loi Luu, co-founder of Kyber Network; Vincent Zhou, founding partner of digital asset management firm FBG Capital; Nicolai Oster of Bitcoin Suisse AG, and Strong Hold Labs CEO – Alexander Lipton.

Where to Buy and Store Zilliqa

You can find Zilliqa at any popular exchanges, including Binance, Huobi, Coinbase Pro, Gate.io, Kucoin, BitFinex, Coinswitch, OKEx, and YoBitNet.

Zilliqa recommends the following trusted wallets for storing your ZIL: Ledger, Trust Wallet, Zillet, ZilPay Wallet, Infinito Wallet, Math Wallet, Atomic Wallet, Zil Cli, and the Zil Wallet. Different wallets exist in different forms, such as iOs, Android, web browsers, and hardware.

Final Thoughts

Despite the current proliferation of blockchains, Zilliqa managed to come up with a unique solution for a persistent problem in the blockchain. While many existing blockchains scramble to integrate sharding, Zilliqa has the headstart of implementing it from scratch. We can expect to see many more blockchains being launched with this technology in the future.

Categories
Cryptocurrencies

Breaking Down SegWit – A step by step guide

SegWit is one admittedly complex concept in the blockchain world. Most crypto veterans probably still have no idea what it is or what it’s really about. And for those just now entering the blockchain sphere – it can be confusing even to begin wrapping your head around it.

Whichever the case, it’s essential to get it right – especially if you’re planning to interact with Bitcoin and other cryptocurrencies such as Litecoin.

The good thing is we help you take care of this in this article. So let’s discover what SegWit is, how it came to be, what it holds for the crypto market place, and more.

What is SegWit?

Segwit is the name given to a Bitcoin protocol upgrade developed in 2015 and implemented in August. 23, 2017. It was designed as a solution to the scalability of Bitcoin and other cryptocurrencies with a similar model, like Litecoin.

Bitcoin confirms a new block every 10 minutes, with each block only able to hold a certain number of transactions. Bitcoin’s block size is only 1MB – and this limits the number of transactions that can be confirmed for every block. As a result, the Bitcoin blockchain only processes an average of about seven transactions per second (TPS). This pales in comparison to other payment systems like Visa and PayPal, which handles 1700 TPS and 193 TPS, respectively.

SegWit’s bright idea is to increase the block size on the blockchain by removing digital signatures from transactions. When certain parts of a transaction are removed, it frees up space for more transaction throughput on the chain.

Segregate here means to separate, and witnesses are the signatures. So, SegWit is shorthand for “segregated witness,” which means to separate signatures from transaction data.

The SegWit idea originated with Bitcoin developer Pieter Wuille and was developed by him together with other developers, resulting in it being implemented as a soft fork in 2017 on the Bitcoin network. This upgrade brought a number of benefits for the blockchain network – including improving transaction speeds and increasing block capacity. It also solves the so-called transaction malleability issue – which we’ll discuss below, right after we deconstruct the ‘soft fork.’

What Is A Soft Fork?

Any software needs updates to improve its functionality or fix performance issues. In the cryptocurrency world, such updates or changes are known as forks.

A soft fork is a blockchain update that doesn’t split the chain into two.

In other words, a soft fork is an upgrade that is backward compatible with the previous software. A soft fork does not need nodes in the network to upgrade so as to follow the same network since all blocks on the ‘new’ blockchain follows the same consensus rules (a set of rules that all nodes usually enforce to validate a block and its transactions). In other words, a soft fork is backward compatible because old nodes will still recognize the new blocks on the upgraded blockchain.

A soft fork requires a majority of miners (nodes) to activate it so that it becomes operational. SegWit is one such type of a soft fork – it’s compatible with the old version of the Bitcoin blockchain.

What is Transaction Malleability, and Why is Fixing it Important?

Transaction malleability is a flaw in Bitcoin’s code that allowed bad actors to potentially change transaction signatures. Changing here means altering the unique ID of every Bitcoin transaction before it’s verified on the network. 

If someone tampers with a transaction signature, it could cause a transaction between two parties to be corrupted. Now, we know records on the Bitcoin blockchain are immutable, i.e., they can never be changed or altered. This resulted in invalid transactions being stored forever on the blockchain.

Signatures are the only way a transactions’ unique ID can be modified. SegWit came along and removed the need for a signature to be on a transaction. Even if someone alters the signature, the unique ID remains the same. The signature will still be checked, but this time not when calculating a transaction’s fingerprint, or identifier.  

SegWit’s Implementation Issues

After SegWit went live, its implementation was anything but immediate. Even today, the protocol is yet to be fully adopted by network participants. This is due to several reasons – including the different motivations of different users on the network. It’s also because it’s not mandatory, and some participants are okay with the original Bitcoin protocol.

Another reason is that there are different participants in the Bitcoin ecosystem playing various roles – so implementation of any new protocol is not exactly automatic. For example, the Bitcoin network relies heavily on wallets in which users will store their private and public addresses.

There are also crypto exchanges and other players in the ecosystem who need to upgrade their systems and hence ‘facilitate’ any changes in the network. For an upgrade to be adopted, all these organizations need to embrace it, and this doesn’t always pan out favorably.

A new software update would change the way transactions are carried out on the network. This might be good news for Bitcoin believers – but not necessarily for corporate interests. Consider, for example, the investment in billions of some of these companies. There is high motivation to maintain the status quo and not ‘rock the boat.’

There is also the question of wallets that were not able to support the protocol immediately. It took a while before some of the most widely used wallets – like Trezor and Wallet, could enable it.

There’s also the issue of miners. SegWit was designed to go live if a supermajority of miners signaled support for it. However, the larger portion of the miner community refused to activate the protocol. This is because SegWit was incompatible with a mining optimization software known as AsicBoost that they were using.

The miners’ refusal led to an interesting showdown. Bitcoin enthusiasts rallied around an idea called User Activated Soft Fork (UASF) – which meant they would activate the protocol on their own Bitcoin nodes if miners did not. The UASF would have split the Bitcoin network into two – one with SegWit and another without. The resulting outcome was not going to be favorable for anyone – which is probably why a few days before the UASF ‘deadline’, miners caved in and activated the protocol.

SegWit’s Adoption Challenges and Current Status

SegWit’s “backward-compatible” status, i.e., ensuring network participants who haven’t upgraded to it can coexist with those who have, means some participants have not been in too much of a hurry to adopt it.

Most Bitcoin-businesses, as well, would rather focus on customer acquisition than implementing not such necessary technologies. Rusty Russell, a blockchain developer at the blockchain company Blockstream, echoed this to the crypto news website Coindesk in 2018. He said that the priority for startups was “optimizing for growth and not implementing cool new tech.”

Implementing SegWit is also quite an involving task – both time-wise and financially. Founder of the crypto exchange Gemini, Tyler Winklevoss owned to this in a Reddit Q&A earlier this year. He said retrofitting wallets to accommodate SegWit was a “very tricky procedure” that required designing “a new hot wallet from the ground up.”

Nevertheless, SegWit has, over time, gained traction, thanks to Bitcoin increasing in value and a subsequent increase in transaction fees. For this, users are more inclined to use efficient, SegWit-enabled solutions. Businesses have noticed this shift and are now being forced to adapt.

For instance, in October of 2019, Bitcoin Segwit had reached usage rates of 56.82%, and Litecoin Segwit had hit 75%. These are encouraging figures that point to increased adoption of the protocol in the future.

Pros of SegWit

Solves the issue of transaction malleability

Facilitates faster transactions on the blockchain since waiting time is reduced 

Makes bitcoin transactions cheaper – faster transactions mean lower transaction fees

Helps Bitcoin and other cryptocurrencies achieve better scalability

Reduces the size of each individual transaction 

Helps new and exciting developments like the lightning network

Cons of SegWit

SegWit’s idea relies on eliminating some data off the blockchain. Some Bitcoiners believe keeping data off the blockchain is in itself a failure – like admitting the bitcoin model can’t stand on its ‘own feet.’

Miners now get lesser transaction fees for every individual transaction

SegWit’s implementation is a complex process that wallets have to do on their own. Some may not have enough resources to do it or may not get it right the first time

The implementation means more resources being used overall – owing to the increase in block capacity, transactions, bandwidth, and so on

The off-chain containing signature data will need to be maintained by miners as well. Unlike the blockchain where they get block rewards and a fraction of transaction fees, there is no reward for maintaining SegWit

Some in the Bitcoin community believe it’s a short term fix to a long term problem. They argue that it doesn’t really solve the scalability problem and that only changes to the blockchain size and changing how transactions are processed on the blockchain will really help Bitcoin to scale

The protocol has caused divisions in the Bitcoin community, leading to ‘forking wars,’ with the hard fork Bitcoin Cash resulting out of this

Conclusion

SegWit is a fundamental change to the Bitcoin ecosystem and one that sets the stage for further upgrades down the road. Removing the need to include identifying information on transactions on-chain brings several benefits such as more and faster transactions, fixing the thorny malleable transactions issue, and more.

But despite it being a promising, innovative solution – its adoption has been rather slow. Some people welcome it as an improvement to the world’s most popular cryptocurrency, while others think it highlights Bitcoin’s shortcomings. However, recent statistics show a marked improvement – something encouraging for its proponents. And from the current trend – its adoption looks set to go only forward. Let’s wait for what the future holds for both camps.

Categories
Cryptocurrencies

Is The Lightning Network Bitcoin’s Cure-All?

Scalability was always a thorny issue for Bitcoin since day one. When Satoshi Nakamoto first proposed the cryptocurrency, the very first comment by James MacDonald featured this comment “We very much need such a system, but it does not seem to scale to the required size.” A decade later, scalability is a concern that the Bitcoin and other mainstream cryptocurrencies have to grapple with.

What exactly is scalability? Well, Bitcoin has only ever been capable of processing an average of 7 transactions per second (TPS). This was okay at the beginning, but as the cryptocurrency gained more use and acceptance, congestion on the network increased. As a result, transactions took longer to be processed, and transaction fees went up.

If Bitcoin has any hopes of becoming a fully viable alternative to current payment systems – let alone the ‘world’s currency’ – as many Bitcoin believers envision, it will need to solve the current salability issues it faces.

To put this into perspective, compare Bitcoin’s current meager 7 TPS and Visa’s average of 1700. In the face of this dismal scalability potential for Bitcoin, the cryptocurrency’s enthusiasts have been hard at work reimagining the system and how it can be improved. There is one proposal that has caught the attention of the Bitcoin community and one which holds potential. This is the Lightning Network.

What is the Lightning Network?

The Lightning Network (LN) is based on this premise: there’s really no need to record every single transaction on the blockchain. As such, LN is a second layer technology on Bitcoin’s blockchain that allows two users to use a micropayment channel between each other – with the hopes to scale Bitcoin’s transaction processing.

By removing transactions from the main blockchain, LN is expected to remove the backlog of transactions and reduce or get rid of transaction fees altogether. It will drastically speed up transactions, positioning Bitcoin for everyday use.

How Does the Lightning Network Work?

The Lightning Network comprises an off-chain layer on Bitcoin’s blockchain. It features multiple payment channels that allow two parties to open a payment channel and conduct transactions between them. Two users can open a payment channel that will allow them to shift funds back and forth between their wallets.

These transactions are processed differently from the standard transactions on the main blockchain, being only updated there once the two parties open and close a channel.

To open a payment channel, the two users need to set up a multi-signature wallet and deposit some funds into it. This is the first transaction, and it’s called the funding transaction. Funds stored in the multi-signature wallet can only be accessed upon both (or more) parties providing their private keys. This means a party can only access and/or spend the funds with the consent of the other.  

The two users can conduct unlimited transactions between themselves without having to let in the main blockchain on their activities. This approach considerably scales up transactions’ speed since they don’t need to be approved by all nodes on the blockchain network.

The private channels between parties combine to form a web of lightning nodes that can channel activity among themselves. This web, or network, is the Lightning network.

The ingenuity of the Lightning Network is that once it achieves mainstream acceptance, users will not have to open a new channel to interact with others. They will be able to transact with ‘new’ users via existing channels – that is, channels with users with whom they already have a relationship. The network will execute this by automatically finding the shortest path.

Finally, the Lightning Network is being tested for another exciting feature – the ability to conduct cross-chain transactions of crypto swaps – that is, being able to exchange one crypto to another. This may render crypto exchanges – as we know them, obsolete.

Will You Pay Fees for Using the Lightning Network?

Yes, users will be required to pay fees on the Lightning Network. The fees will comprise routing charges for routing transaction details between lightning nodes, plus Bitcoin’s transaction fees to open and close payment channels.

At the moment, there are zero fees on the network owing to very few lightning nodes. However, if the project succeeds, charges are set to increase, but only slightly. In any case, if the fees became too expensive, a user has the option to move back to the main blockchain.

Implementations of the Lightning Network

The concept of LN was first proposed by Joseph Poon and Thaddeus Dryja in 2015. Currently, there are four major teams developing the concept.

Each is operating on the BOLT specification – which allows them to connect with each other as a unified network rather than separate groups competing with each other. The BOLT specification has been developed by the blockchain technology companies Block stream, ACINQ, and Lightning Labs – to allow each company’s products to interact with the others. These are the implementations and groups behind LN’s current exploration:

1. C-Lightning

C-Lightning is being developed by Blockstream. It’s coded in the C programming language and is created to only operate on Linux, with the possibility to run on Mac if you modify some coding and parameters.

This implementation supports lightweight nodes that you can run from the computer chip Raspberry Pi, allowing you to connect with other users without necessarily being online. As such, people can more conveniently adopt and contribute to the LN.

C-Lightning also features a wallet that lets you manage funds, whether online or offline.

Another exciting feature of C-Lightning is you can transact anonymously over the TOR network, so you don’t have to worry about privacy issues.

2. Éclair

Éclair is being developed by ACINQ, a French company. It’s very much like C-Lightning, with the only differences being in the coding and user interface. You can operate Éclair on Windows and also with the Raspberry Pi acting as the network node.

Éclair also has a mobile wallet for Android that you can use as a regular Bitcoin wallet and the Lightning Network for cheap and instant transactions. However, it’s advisable to not send large amounts of crypto on the wallet as its development, just like the Lightning Network, is yet to go mainstream.

Éclair is also compatible with C-lightning and Ind, another LN implementation that we’ll look at next. This means users can connect with another user(s) on either network.

3. Lightning Network Daemon (LND)

LND is under development by Lightning Labs. It’s written in the Golang programming language and can run on Linux and Windows. It’s compatible with both C-Lightning and Éclair as well as the Litecoin Lightning Network.

LND also features a desktop wallet that allows users to open a payment channel and shift funds between each other.

4.Lit

Lit is being developed by the Massachusetts University of Technology under their Digital Currency Initiative. Lit functions fairly the same as the other LN implementations, except it’s designed to support all SegWit coins as well, including those that may be developed in the future.

However, Lit does not support interoperability with the other LN implementations since it supports more coins than indicated by the BOLT specification.

MIT is currently developing a solution known as LitBox that will allow users to conduct transactions without needing to be connected to the internet.

Lit is also currently developing a multi-hop routing channel, the lack of which has made it lag behind other LN implementations. Since Lit is being developed by a small, non-commercial-driven team, its progress is slow, and at the moment, it has little real-world utility.

Benefits of the Lightning Network ;

The Lightning Network is still actively in development. The concept looks great on paper, but whether it will work as envisioned remains speculative at this point. If the network were to succeed, Bitcoin users can expect several upsides coming with it. Here are some of them:

Faster transaction speed. You can expect transactions to be much faster, thanks to the elimination of the need for validation of all nodes in the network. Also, this will be a massive step for cryptocurrencies’ ability to compete with the current financial set up in payment processing.

Transaction fees. LN developers and enthusiasts are banking on the network to contribute to the reduction or elimination of transaction fees, as transactions will be chiefly taking place outside of the main blockchain.

LN may prove suitable for micropayments – like paying for coffee, drinks, shopping, and so on. This is because it has an ideal environ for the transfer of small currency values. Also, it will allow for transactions to take place between devices without the need for human intervention, which reduces error and saves time.

Scalability. This is the most anticipated solution of the LN – which is touted to potentially facilitate at least 1 million transactions per second.

Atomic swaps. Provided that two blockchains feature the same cryptographic hash function (and most do), users will be able to send funds from one blockchain to another without the need for an intermediary. This is not just cheaper, but faster.

Security and Anonymity. The LN technology might be the thing to finally bring true anonymity to cryptocurrency. The majority of cryptocurrencies, including Bitcoin itself, are pseudonymous – meaning you can conduct transactions without revealing your identity, but transactions can still be traced back to you. LN will enable transactions to take place off-chain, making them impossible to trace.

Problems with the Lightning Network

The lightning network is a technology that’s still being explored. As such, it still experiencing ‘teething’ problems. The following are some of them.

Lightning networks are meant to be decentralized, like the blockchains, they aim to improve. However, they could instead lead to a centralized network that characterizes the traditional banking system in which banks and other financial organizations regulate transactions. Influential businesses will have more open connections than other users, resulting in their lightning nodes being centralized hubs on the network. And failure at such a hub could feasibly crash the network.

LN does not really solve the transaction fee problem. Bitcoin fees will undoubtedly rise in the future, Lightning Network or not. If these fees increase, LN will be rendered obsolete as it would become cheaper to transact on the main blockchain. Thaddeus Dryja admits as much: “Bitcoin’s transaction fees could go up again and hinder the lightning network’s adoption among merchants.”

Lightning network nodes are required to be connected to the internet at all times to facilitate transactions. This renders them vulnerable to hacks and thefts. Also, offline storage, which is the safest for cryptocurrencies, is not possible on a lightning network.

Going offline would present a new set of problems for the Lightning Network, like the Fraudulent Channel Close. The fraudulent channel close means one party could easily close a payment channel and take crypto funds for themselves when the other is away. Although there’s a given window of time when the other party could contest the closing of a channel, it could expire if either party is offline too long.

The “centralized” inclination of the lightning network means funds are concentrated in specific nodes within the network. In a scenario when such a node went offline, it could lead to a downtime of the entire network, cutting off user’s access to their funds.

To open and close a payment channel, you need to do so on the main Bitcoin blockchain. This requires manual work and yet more fees.

When is the Lightning Network Coming?

The cryptoverse is eagerly awaiting this groundbreaking technology to fully come into form. It’s worth noting the concept targeted Bitcoin at first, but it’s currently being explored for more cryptocurrencies, including Zcash, Litecoin, Stellar, Ether, Ripple, and more.

So far, Bitcoin has been tested on Éclair and LND networks with success. It’s also a good sign that the Lightning Network’s specifications have been published. This means developers can apply the rules and implement LN in their preferred programming languages.

Still, the technology is very much in its nascent stages. As of now, the average user cannot really send and receive payments via the network. Moreover, the implementations are still being dogged by bugs – leading developers to warn users not to send real money over the network – yet.

It’s important to note that the technology’s code is very complex and requires rigorous proofing. If the Bitcoin community, and indeed the whole world, is to adopt the technology, it must prove to be safe, reliable, and a veritable upgrade from the blockchain.

Currently, there is no official launch date for the Lightning Network, with each implementation taking a different approach. With that, experts predict that the network may take from several months to two years before going live.

Conclusion

The Lightning Network sounds exciting. It has the potential to improve Bitcoin and the entire cryptocurrency market as we know it. Think instant payments, anonymity, and reduced fees – LN could herald a new beginning for the crypto ecosystem.

However, Bitcoin and crypto fans have a while to wait before the technology can really live up to its promise. It also remains to be seen whether it will live to the promise, to begin with. We can only wait to see what exciting developments and updates the implementations have in store.