LIGHTNING NETWORK: THE REVOLUTIONARY PLATFORM FOR TRANSACTIONS

LET’S START WITH BITCOIN FIRST: SCALABILITY ISSUES (AND MORE)

THE SOLUTION: LIGHTNING NETWORK

LIGHTING NETWORK: SOME FURTHER CONSIDERATIONS

  1. The payment channels are a metaphor to describe a trustless mechanism which doesn’t require trust from the participants. Such mechanism is used for bitcoin transactions between two sides which are outside the Blockchain. The transactions are managed off-chains, as if they were bill of exchanges. They would have had full value if carried out on the Bitcoin ledger. Their strength is to allow transactions to happen in a cheaper and faster way. There are one directional and bidirectional payment channels. Each one has its own features. We will analyse the bi-directional channels.
  2. The Hash Time Lock Contract (HTLC) is fundamental to understand Lightning Network protocol.
    Smart Contracts can be added to the payment channels. These are programmes written using a very specific programming language (Script for Bitcoin) and they work in the exact same way in which they are written. There are no options of censorship nor manipulation.
    Hash Time Lock Contracts (HTLCs) occur when Smart Contracts are programmed to allow participants to earmark funds through a redeemable secret with an expiration date. The beneficiary of such payment creates a secret (S) and subsequently calculates its hash (H). Smart Contract then follows the rule “Whoever knows the secret S can then collect the payment”.
    This obviously exploits the intrinsic functionalities of hash. So for hash it becomes computationally expensive (basically impossible with the current resources) to search the value S that creates H. In this way, only the recipient (and whoever knows S) will be able to redeem it, without any malicious agents discovering the secret. This feature is also known as hashlock whilst timelock allows the payment to be credited back to the sender if it hasn’t been redeemed within a specific timeframe. The timeframe is agreed on the Smart Contract and blocks are mined for a specific amount of time.

OUR IMPLEMENTATION: LN.INTERLOGICA.IT NODE

ALICE, BOB AND ZOE: AN EDUCATIONAL EXAMPLE TO UNDERSTAND HOW TRANSACTIONS WORK ON LIGHTNING NETWORK

--

--

--

We are a company at the crossroad between tech & human evolution. Catch a glimpse of who we are by reading our insights!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Coindelta Review : Why you should never trade Crypto Currency with CoinDelta?

VESTARIN

Why trade on decentralized sports exchanges over traditional sportsbooks?

Binance Labs’ debut! All-Star Team Announces Three Stirring News

CoinLoan Weekly: BTC Hash Rate Recovery, Ripple vs. SEC

Anonymous

Netswap weekly report #1

📈🔴Live on BitMart soon⏳

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Interlogica

Interlogica

We are a company at the crossroad between tech & human evolution. Catch a glimpse of who we are by reading our insights!

More from Medium

Introduction to hardhat-laika

A proposed list of remedies in Adamnite for common errors in smart contracts

Blockchain, Crypto, Web3: An Ideal Space for Creatives to Learn New Tech Skills.

I didn’t know that there was this kind of monster in the blockchain world…