The Lightning Network

The existing cryptocurrencies’ exchange systems are extremely tedious owing to their million steps that serve the same purpose. Even the smallest transactions are recorded on the blockchain that are not really needed. Lightning network provides the most efficient solution to this drawback by adding an extra layer to the blockchain. This layer permits users to carry out transactions between two parties outside the main chain. For example, John and James are roommates and best friends; they exchange money in small amount and rather quickly. For them to carry out small transactions over the main blockchain is significantly time consuming. Therefore, they set up a channel over the lightning network between them where they could execute their minor transactions.

To establish a transaction/payment channel, one has to create a multi-signature wallet. As the name suggests, multi-signature wallet could be accessed by two parties having private keys. Then, they would have to deposit their cryptocurrency assets into the wallet and start performing unlimited transactions between them. All of these transactions are basically the shifting of the assets within the wallet by exchanging ownership rights. The final and real allocation of funds occur when the channel gets closed and the last owner of what has been signed on the balance sheet gets their share.

Lightning Network Architecture:

The lightning network architecture contains a root blockchain that is fastened to plasma blockchain bounded by a smart contract. It holds the balances for all the UTXO occupying plasma chain. Lightning protocol resides on the top of plasma chain allowing the users to send or receive tokens to/from anyone that exists on Plasma chain or root chain. The payment channel can exist between two parties even if they are on two different Plasma chains. It is designed to make the integration of Lightning implementations easy for Java developers. It contains simple to use APIs and converters between JSON and XML.

Implementations of Lightning network:

Lightning network was initially tested on Bitcoin Core by the end of 2017 and was adopted by Bitcoin as a layer 2 payment protocol. It operates over bitcoin cryptocurrency while enabling faster transactions and provides a reasonable solution to Bitcoin’s scalability problem.

While Bitcoin may be its first, it’s not the only implementation. Below are the some of the major implementations of Lightning Network.

Lightning Network Daemon:

As of its information from Github, it is a complete implementation of the Lightning Network node and is now implemented in testnet3- Bitcoin Test Network. LND has several connectable back-end network services that include btcd (full node), bitcoind, and neutrino (new experimental light client). In its current form, it can create and close channels, fully manage all channel states, maintain a fully authentic and valid channel graph, path finding, update fee schedules and manage channels automatically.

https://github.com/lightningnetwork/lnd

Lightning network Installation Process

Prerequisites:

Lnd is written in Golang so to work with it, the system should have a support of Go 1.11. To install it on Mac OS X, use the following command:

brew install go@1.11

Installing lnd:

With the prerequisites completed, install lnd, lncli, and all related dependencies. For that purpose, run the following commands:

go get -d github.com/lightningnetwork/lnd

cd $GOPATH/src/github.com/lightningnetwork/lnd

make && make install

To check whether, lnd was installed properly, run the following commands:

make check

Tool kit:

These are the developer tools available:

  • LND Explorer:

It provides demo for a web interface for LND.

  • Light-weight LND Dashboard

A web client for LND.

  • WooCommerce Plugin:

This gateway plugin is available for WooCommerce stores to accept Lightning payments and is built on LND.

Tippin.me:

It is another implementation of lightning network in its early stages. It makes the usage of lightning network easier as it will give its users a simple web custodial wallet. This service will enable its users to manage Bitcoins faster and simpler. It will ensure micropayments and will give tips. Tippin.me is still in its beta phase. Currently, it allows to receive and cash out lightning payments though it has much more to come. In future, it will enable merchant integration and more wallet functionality. It is also accepting donations.

https://tippin.me/help-tippin

Kriptode:

It uses lightning network to earn bitcoins by playing games and availing services. It has multiple games to choose from. Three card monte,Scratch and Win, LN hunt and Backgammon are the available games. Services that they offer are Receive SMS and MicroMine. Receive SMS is a service where users receive a SMS online with a temporary number. MicroMine is a bitcoin faucet for browser CPU Mining where users can mine through their browsers and earn.

https://kriptode.com/

Y'alls:

Developed by Alex Bosworth, it is a test case for the Lightning Network. Y'alls is a forum for writing articles and stories that are published. Y’alls is something like Medium, a platform for reading and writing articles, where the trending stories are shown on the front page. It uses Ind and Go implementation of the lightning network protocol. It is still in early testing phase so it may have alot of bugs and system based issues. It uses Bitcoin Core for chain-sync.

https://yalls.org/

ZigZag:

It is a lightning network based cryptocurrency exchange which exchanges top cryptos in seconds at very low fee. It requires a lightning network enabled wallet as a prerequisite for exchange. They currently offer exchanges for BTC, ETH, LTC, DASH and BCH. Lightning network wallets used here have functionalities similar to other crypto wallets. The only difference is that it allows instant payments through lightning network.

https://zigzag.bitlum.io/#/











要查看或添加评论,请登录

Muhammad Shakil, PhD的更多文章

  • DECENTRALIZED EXCHANGE (DEX) Challenges & Opportunities

    DECENTRALIZED EXCHANGE (DEX) Challenges & Opportunities

    There are more than 6198 cryptocurrencies (listed on CoinGecko) existing in the exchange ecosystem and every…

    1 条评论
  • What is Validator in a POS Blockchain?

    What is Validator in a POS Blockchain?

    A ‘Validator’ on a Blockchain is like a banker who verifies every incoming transaction. A transaction will only be…

    4 条评论
  • STORICHAIN Valuing the story industry through Blockchain

    STORICHAIN Valuing the story industry through Blockchain

    Story telling and story writing have a vast history but it was not very long ago when stories started generating…

  • State of Blockchian Buidl: Do’s and Don’ts

    State of Blockchian Buidl: Do’s and Don’ts

    Introduction In recent years, the blockchian technology has flourished three folds leading to many novice programmers…

  • PLEDGECAMP A Decentralized Crowdfunding Platform

    PLEDGECAMP A Decentralized Crowdfunding Platform

    Pledgecamp is a blockchain based decentralized crowdfunding platform. It focuses on ensuring and enhancing funding…

  • TRON- Aspiring the Best!

    TRON- Aspiring the Best!

    INTRODUCTION TRON is an ambitious blockchain based operating system whose main objective is to set up an infrastructure…

  • Battle of Consensus Protocols

    Battle of Consensus Protocols

    In the recent years, blockchain community has been bombarded with new projects every day. No matter how much you think…

  • EOS- Architecting a new era of blockchain

    EOS- Architecting a new era of blockchain

    With the increasing number of blockchain based technologies coming everyday, there are few things that make EOS stand…

  • Blockchain- A solution to the curse of poverty - Last updated on 30th Sept 2019

    Blockchain- A solution to the curse of poverty - Last updated on 30th Sept 2019

    Blockchain is the next industrial revolution that will solely or partly remove poverty and be used purely as a good…

  • DAG (Directed Acyclic Graph) - A competitor to Blockchain!

    DAG (Directed Acyclic Graph) - A competitor to Blockchain!

    DAG: Directed Acyclic Graph (DAG) is an outline which is more expressive than an absolutely linear model. A DAG is an…

    2 条评论

社区洞察

其他会员也浏览了