Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightning Network aneb Bitcoin 2.0, Plzensky Barcamp, 7.4.2018

Lightning Network aneb Bitcoin 2.0, Plzensky Barcamp, 7.4.2018

Ondrej Sika

April 07, 2018
Tweet

More Decks by Ondrej Sika

Other Decks in Technology

Transcript

  1. Lightning Network
    aneb Bitcoin 2.0
    Ondrej Sika
    [email protected]
    Plzensky Barcamp 2018,
    Pilsen, 7. 4. 2018

    View Slide

  2. https://sika.link/ln

    View Slide

  3. Ondrej Sika - Software Engineer @ Slush Pool
    - Bitcoiner since 2013
    - Consultant

    View Slide

  4. What is Bitcoin?
    - Peer to Peer payment network
    - Decentralized currency
    - Digital gold
    - Money of internet
    - Internet of money

    View Slide

  5. Bitcoin
    Advantages
    - Decentralized
    - Distributed
    - Fast
    - Cheap

    View Slide

  6. Fast & Cheap!

    View Slide

  7. View Slide

  8. Bitcoin
    Disadvantages
    - Expensive
    - Slow
    - Limited to few txs per second
    (1MB blocks)

    View Slide

  9. Scaling!

    View Slide

  10. Onchain Scaling
    BBigger blocks - Bitcoin Cash
    Advantages
    - easy to implement
    - easy to use
    - cold storage & HW wallets
    Disadvantages
    - Network centralization
    - No instant transactions
    - Not solving scaling, postpones it
    - High fees

    View Slide

  11. Sidechains
    Another blockchain two-way
    pegged to Bitcoin (eg. rootstock)
    Advantages
    - Any sidechain functionality with
    Bitcoin (eg. smart contract)
    - Cold storage & HW wallets
    Disadvantages
    - 2-way peg is not solved yet
    - No instant transactions
    - Fees

    View Slide

  12. Lightning Network

    View Slide

  13. Advantages
    of Lightning Network
    - Instant transactions
    - Almost no fees

    View Slide

  14. Disadvantages
    of Lightning Network
    - Requires running node with
    money (no cold storage)
    - Requires monitoring network
    for frauds
    - Requires invoice to receiving
    money
    - Payment routing is not been
    solved properly yet

    View Slide

  15. How LN works
    - Two nodes create channel (Bitcoin TX),
    with capacity of x BTC.
    - Updates channel states many times they want
    - Close channel (Bitcoin TX)

    View Slide

  16. Implementation
    of Lightning Network
    - LND (Lightning Labs)
    - C-Lightning (Blockstream)

    View Slide

  17. Demo

    View Slide

  18. Clients
    of Lightning Network
    - Zap (Desktop)
    - Bitcoin + Lightning Wallet
    (Android)

    View Slide

  19. View Slide

  20. Summary
    - LN is still in early stage
    - Many people working on
    - Concept seems to be working
    - Have a fun with LN

    View Slide

  21. Resources
    - github.com/bcongdon/awesome-lightning-network
    - https://ondrej-sika.cz/lightning-network
    - http://lightning.network/
    - https://github.com/lightningnetwork/lnd
    - https://github.com/LN-Zap/zap-desktop

    View Slide

  22. Thank you & Questions
    Ondrej Sika
    email: [email protected]
    web: ondrej-sika.cz
    twitter: @ondrejsika
    linkedin: /in/ondrejsika/
    Slides & materialy na https://sika.link/ln.1

    View Slide