SlideShare una empresa de Scribd logo
1 de 39
Descargar para leer sin conexión
Blockchain Introduction
By Lightstreams
ETSIIT (UGR) , 13 March, Gabriel Garrido, Lukas Lukac
Follow us on Twitter
@lightstreams_io
Index
1. History (Español) - 10m
2. What is Blockchain (English) - 20m
3. Consensus (English) - 10m
4. Ethereum (English) - 20m
5. DApps (Español) - 20m
6. Lightstreams Tech Stack (Español) - 20m
7. Q/A (English/Español) - 15m
About us
Lightstreams is a small start-up of the blockchain industry.
● Started at 2017
● Won the “Consensys NYC Hackathon” by a demonstration of the
permissioned blockchain protocol
● 6 people working in two locations: Palma (Spain) - Düsseldorf (Germany)
● Permissioned blockchain protocol to empower content creators to
monetise their intellectual property data
History
Cryptocurrencies (tokens)
Utility Token
- Only good for spending at the issuer’s “store” (cassino tokens)
Currency Token
- Are meant to be spent on the daily transactions of life (coins)
Security Token
- Acts as a holder of value, sort of like a digital stock (company stocks)
What is Blockchain?
Blockchain is a public DATABASE with hell of a good backup.
- replicates (optimally) with each new user (hence p2p)
- mathematically, cryptographically ensures the rows can't be edited or
removed once inserted
“append only log of events”
Blockchain is made of blocks
Block = Header (info) + Payload (an
array of transactions, TXs)
Chain:
Block 1 +
Block 2 +
…
Block N.
What is a Transaction?
Change of state.
Example of a payment TX:
Transaction is like an Event
NEW_USER,
NEW_STATUS,
NEW_PURCHASE,
NEW_TRANSFER,
NEW_LIKE,
NEW_UNLIKE
Immutability
blockchain := event-sourcing - deletes
PERFECT AUDIT.
The magic
behind
immutability
Immutability Visualised
Image Source: dummyprogramming.com
How blocks are exchanged between peers?
Node := One blockchain instance, a device with a unique identity (peer with its
own Private Key)
Consensus := An algorithm deciding what transactions, blocks are valid and
what peers are trustworthy
Proof of Work Consensus
sha256(Block{TXs...}) => 000000dfs5d4f56sd4f56s4fd56
Consensus Rule:
IF block hash starts with 6 zero then is VALID and the block is added to the
chain.
Proof Of Work - PROs
Pros:
- Anyone can become a miner but that's also not really true due to
hardware requirements
Proof Of Work - CONs
- Majority of Mining done from China
Proof Of Work - CONs
- Majority of Mining done from China
- The transaction speed is between 10 mins to 1 hour
Proof Of Work - CONs
- Majority of Mining done from China
- The transaction speed is between 10 mins to 1 hour
- Very hard to scale as the core design is based on mathematical difficulty
Proof Of Work - CONs
- Majority of Mining done from China
- The transaction speed is between 10 mins to 1 hour
- Very hard to scale as the core design is based on mathematical difficulty
- Waste of resources
Who uses Proof of Work?
Most famous blockchains:
- Bitcoin
- Ethereum
Who uses Proof of Work and suffers scalability
issues?
Most famous blockchains:
- Bitcoin
- Ethereum
Ethereum
Ethereum is a decentralized platform, blockchain that runs smart contracts
(programs)
Smart Contracts
Deterministic programs deployed in EVM.
- code functions, typical programs but written in special language, Solidity
- can interact with other contracts
- make decisions
- store data
- transfer funds (send Ether)
CAN NOT COMMUNICATE WITH PROGRAMS OUTSIDE BLOCKCHAIN WORLD.
Wallets
Software for managing your account, its private key and therefore your virtual
funds, Ether/Bitcoin/XRP.
Solidity
Solidity is a high-level language for implementing smart contracts. It was
influenced by C++, Python and JavaScript and is designed to target the
Ethereum Virtual Machine (EVM).
- Statically typed
- Supports inheritance
- Importing libraries
- User defined types (classes)
Remix
Writing smart contracts in cloud
Decentralized Applications (Dapps)
● Centralized application
● Server-based
● Netflix
● Decentralized application
● Peer to Peer
● Popcorn (Bit-torrent)
DApps in Blockchain
Type 1
Blockchain
Type 2
Protocol
Type 3
Application
DApps need to be built around logics which involves token exchanges and
those tokens need to bind to a real value.
The application must be completely open-source and it must operate
autonomously with no single entity controlling.
Quick DApp Example
Goal: A company wants to adapt an open-source project to its own company
requirements.
Description: Company forked original repository and created the list of task
to be develop.
Requirements: Limited funds to accomplish this development. It wants to
encourage open-source community to work on this project.
DApps, everything is good?
PROs
Transparency Code is
open-sourced
Reliability Every node is a
backup. No require central
entity
Security Every transaction is
signed and immutable
CONs
Speed Tx finality ~6 minutes. 15
TPS
Expensive ~0.02 USD/tx, ~3.15
USD/Smart Contract
Complexity Limited data
storage, upgrades are hard,
mistakes are expensive
Lightstreams Tech Stack
Lightchain: Lightstreams implementation of a proof-of-authority (PoA)
blockchain. It is an ethereum-compatible blockchain which uses Byzantine
consensus to replace the original proof-of-work (PoW) from Ethereum.
Leth: Ethereum Smart Vault. Leth is permissioned blockchain protocol to
empower content creators to monetise their intellectual property data. It can
be used a CLI or HTTP server.
SHOWCASE Video
Presenting lightstreams tech stack in a showcase video
https://vimeo.com/322754506
Useful links
● Lightchain
● Block Explorer (sirius)
● Leth documentation
● Leth HTTP API
● Javascript Leth SDK
Lightstreams DApp Challenge
Description Developer a DApp using Lightstreams tech stack
Prize 500-1000 USD (in PHT)
Conditions
● Register your project request at discuss.lightstreams.network
● Deliver a running version of the project
● Documentation
● Open-source project
Q/A
¡ Gracias por su atención !
More questions? Email us
gabriel@lightstreams.io
lukas@lightstreams.io
Give us some feedback !!!
https://workshop.lightstreams.io

Más contenido relacionado

La actualidad más candente

Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssHoward Anglin
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks nexxworks
 
Boolberry reduces blockchain bloat
Boolberry reduces blockchain bloatBoolberry reduces blockchain bloat
Boolberry reduces blockchain bloatboolberry
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014WeKCo Coworking
 
Block chain by harsh biltu agarwal
Block chain by harsh biltu agarwalBlock chain by harsh biltu agarwal
Block chain by harsh biltu agarwalN V Jagadeesh Kumar
 
Introduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingIntroduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingPeter Van Garderen
 
5 Core Blockchain Technology Concepts
5 Core Blockchain Technology Concepts 5 Core Blockchain Technology Concepts
5 Core Blockchain Technology Concepts Blockchain Council
 
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Prithwis Mukerjee
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainMalak Abu Hammad
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the futureBruno Lowagie
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationPaperchain
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technologyRATAN AGARWALA
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchainPriyab Satoshi
 
Block chain chronicles
Block chain chroniclesBlock chain chronicles
Block chain chroniclesNoah Chen
 

La actualidad más candente (20)

Tutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ssTutorial blockchain technical overview-ss
Tutorial blockchain technical overview-ss
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks
 
Boolberry reduces blockchain bloat
Boolberry reduces blockchain bloatBoolberry reduces blockchain bloat
Boolberry reduces blockchain bloat
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014
 
Block chain by harsh biltu agarwal
Block chain by harsh biltu agarwalBlock chain by harsh biltu agarwal
Block chain by harsh biltu agarwal
 
Introduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingIntroduction to Blockchain and Recordkeeping
Introduction to Blockchain and Recordkeeping
 
Blockchain
BlockchainBlockchain
Blockchain
 
5 Core Blockchain Technology Concepts
5 Core Blockchain Technology Concepts 5 Core Blockchain Technology Concepts
5 Core Blockchain Technology Concepts
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the future
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentationBlockchain, cryptography and tokens — NYC Bar presentation
Blockchain, cryptography and tokens — NYC Bar presentation
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
 
Bitcoins Math
Bitcoins MathBitcoins Math
Bitcoins Math
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Block chain chronicles
Block chain chroniclesBlock chain chronicles
Block chain chronicles
 

Similar a Introduction to Blockchain Development

Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Tomoaki Sato
 
The Decentralized Developer Toolbox by Petros Ring
The Decentralized Developer Toolbox by Petros RingThe Decentralized Developer Toolbox by Petros Ring
The Decentralized Developer Toolbox by Petros RingBlock 16
 
Chronicle accelerate building a digital currency
Chronicle accelerate   building a digital currencyChronicle accelerate   building a digital currency
Chronicle accelerate building a digital currencyPeter Lawrey
 
How to run your own blockchain pilot
How to run your own blockchain pilotHow to run your own blockchain pilot
How to run your own blockchain pilotSimon Wilson
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainTobias Disse
 
Decentralized Application: A Software Engineering Perspective
Decentralized Application: A Software Engineering PerspectiveDecentralized Application: A Software Engineering Perspective
Decentralized Application: A Software Engineering PerspectiveBambang Purnomosidi D. P.
 
tezos_hands-on-training.pdf
tezos_hands-on-training.pdftezos_hands-on-training.pdf
tezos_hands-on-training.pdfNeven6
 
Encode x Tezos Hack: Hands-on dApp Training
Encode x Tezos Hack: Hands-on dApp Training Encode x Tezos Hack: Hands-on dApp Training
Encode x Tezos Hack: Hands-on dApp Training KlaraOrban
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Codemotion
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractThanh Nguyen
 
Blockchain - Beyond the Hype
Blockchain - Beyond the HypeBlockchain - Beyond the Hype
Blockchain - Beyond the HypeSalman Baset
 
Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder  Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder Ali Al-Sherbaz
 
Introducing flow the new blockchain for open worlds
Introducing flow  the new blockchain for open worldsIntroducing flow  the new blockchain for open worlds
Introducing flow the new blockchain for open worldsBlockchain Council
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software UniversityOpen Source University
 
10 Best Programming Languages for Blockchain in 2023.pdf
10 Best Programming Languages for Blockchain in 2023.pdf10 Best Programming Languages for Blockchain in 2023.pdf
10 Best Programming Languages for Blockchain in 2023.pdfWDP Technologies
 
Iceic2019 final presented
Iceic2019 final presentedIceic2019 final presented
Iceic2019 final presentedHeung-No Lee
 

Similar a Introduction to Blockchain Development (20)

Decentralized App Blockchain
Decentralized App BlockchainDecentralized App Blockchain
Decentralized App Blockchain
 
Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)
 
The Decentralized Developer Toolbox by Petros Ring
The Decentralized Developer Toolbox by Petros RingThe Decentralized Developer Toolbox by Petros Ring
The Decentralized Developer Toolbox by Petros Ring
 
Chronicle accelerate building a digital currency
Chronicle accelerate   building a digital currencyChronicle accelerate   building a digital currency
Chronicle accelerate building a digital currency
 
How to run your own blockchain pilot
How to run your own blockchain pilotHow to run your own blockchain pilot
How to run your own blockchain pilot
 
BlockchainLAB Hackathon
BlockchainLAB HackathonBlockchainLAB Hackathon
BlockchainLAB Hackathon
 
Company presentation
Company presentationCompany presentation
Company presentation
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise Blockchain
 
Decentralized Application: A Software Engineering Perspective
Decentralized Application: A Software Engineering PerspectiveDecentralized Application: A Software Engineering Perspective
Decentralized Application: A Software Engineering Perspective
 
tezos_hands-on-training.pdf
tezos_hands-on-training.pdftezos_hands-on-training.pdf
tezos_hands-on-training.pdf
 
Encode x Tezos Hack: Hands-on dApp Training
Encode x Tezos Hack: Hands-on dApp Training Encode x Tezos Hack: Hands-on dApp Training
Encode x Tezos Hack: Hands-on dApp Training
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
Blockchain - Beyond the Hype
Blockchain - Beyond the HypeBlockchain - Beyond the Hype
Blockchain - Beyond the Hype
 
Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder  Blockchain: No Thunder No Wonder
Blockchain: No Thunder No Wonder
 
Introducing flow the new blockchain for open worlds
Introducing flow  the new blockchain for open worldsIntroducing flow  the new blockchain for open worlds
Introducing flow the new blockchain for open worlds
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software University
 
What is up with dapps?
What is up with dapps?What is up with dapps?
What is up with dapps?
 
10 Best Programming Languages for Blockchain in 2023.pdf
10 Best Programming Languages for Blockchain in 2023.pdf10 Best Programming Languages for Blockchain in 2023.pdf
10 Best Programming Languages for Blockchain in 2023.pdf
 
Iceic2019 final presented
Iceic2019 final presentedIceic2019 final presented
Iceic2019 final presented
 

Último

Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 

Último (20)

Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 

Introduction to Blockchain Development

  • 1. Blockchain Introduction By Lightstreams ETSIIT (UGR) , 13 March, Gabriel Garrido, Lukas Lukac Follow us on Twitter @lightstreams_io
  • 2. Index 1. History (Español) - 10m 2. What is Blockchain (English) - 20m 3. Consensus (English) - 10m 4. Ethereum (English) - 20m 5. DApps (Español) - 20m 6. Lightstreams Tech Stack (Español) - 20m 7. Q/A (English/Español) - 15m
  • 3. About us Lightstreams is a small start-up of the blockchain industry. ● Started at 2017 ● Won the “Consensys NYC Hackathon” by a demonstration of the permissioned blockchain protocol ● 6 people working in two locations: Palma (Spain) - Düsseldorf (Germany) ● Permissioned blockchain protocol to empower content creators to monetise their intellectual property data
  • 5. Cryptocurrencies (tokens) Utility Token - Only good for spending at the issuer’s “store” (cassino tokens) Currency Token - Are meant to be spent on the daily transactions of life (coins) Security Token - Acts as a holder of value, sort of like a digital stock (company stocks)
  • 6. What is Blockchain? Blockchain is a public DATABASE with hell of a good backup. - replicates (optimally) with each new user (hence p2p) - mathematically, cryptographically ensures the rows can't be edited or removed once inserted “append only log of events”
  • 7. Blockchain is made of blocks Block = Header (info) + Payload (an array of transactions, TXs) Chain: Block 1 + Block 2 + … Block N.
  • 8. What is a Transaction? Change of state. Example of a payment TX:
  • 9. Transaction is like an Event NEW_USER, NEW_STATUS, NEW_PURCHASE, NEW_TRANSFER, NEW_LIKE, NEW_UNLIKE
  • 10. Immutability blockchain := event-sourcing - deletes PERFECT AUDIT.
  • 13. How blocks are exchanged between peers? Node := One blockchain instance, a device with a unique identity (peer with its own Private Key) Consensus := An algorithm deciding what transactions, blocks are valid and what peers are trustworthy
  • 14. Proof of Work Consensus sha256(Block{TXs...}) => 000000dfs5d4f56sd4f56s4fd56 Consensus Rule: IF block hash starts with 6 zero then is VALID and the block is added to the chain.
  • 15. Proof Of Work - PROs Pros: - Anyone can become a miner but that's also not really true due to hardware requirements
  • 16. Proof Of Work - CONs - Majority of Mining done from China
  • 17. Proof Of Work - CONs - Majority of Mining done from China - The transaction speed is between 10 mins to 1 hour
  • 18. Proof Of Work - CONs - Majority of Mining done from China - The transaction speed is between 10 mins to 1 hour - Very hard to scale as the core design is based on mathematical difficulty
  • 19. Proof Of Work - CONs - Majority of Mining done from China - The transaction speed is between 10 mins to 1 hour - Very hard to scale as the core design is based on mathematical difficulty - Waste of resources
  • 20. Who uses Proof of Work? Most famous blockchains: - Bitcoin - Ethereum
  • 21. Who uses Proof of Work and suffers scalability issues? Most famous blockchains: - Bitcoin - Ethereum
  • 22. Ethereum Ethereum is a decentralized platform, blockchain that runs smart contracts (programs)
  • 23. Smart Contracts Deterministic programs deployed in EVM. - code functions, typical programs but written in special language, Solidity - can interact with other contracts - make decisions - store data - transfer funds (send Ether) CAN NOT COMMUNICATE WITH PROGRAMS OUTSIDE BLOCKCHAIN WORLD.
  • 24. Wallets Software for managing your account, its private key and therefore your virtual funds, Ether/Bitcoin/XRP.
  • 25. Solidity Solidity is a high-level language for implementing smart contracts. It was influenced by C++, Python and JavaScript and is designed to target the Ethereum Virtual Machine (EVM). - Statically typed - Supports inheritance - Importing libraries - User defined types (classes)
  • 27.
  • 28.
  • 29.
  • 30. Decentralized Applications (Dapps) ● Centralized application ● Server-based ● Netflix ● Decentralized application ● Peer to Peer ● Popcorn (Bit-torrent)
  • 31. DApps in Blockchain Type 1 Blockchain Type 2 Protocol Type 3 Application DApps need to be built around logics which involves token exchanges and those tokens need to bind to a real value. The application must be completely open-source and it must operate autonomously with no single entity controlling.
  • 32. Quick DApp Example Goal: A company wants to adapt an open-source project to its own company requirements. Description: Company forked original repository and created the list of task to be develop. Requirements: Limited funds to accomplish this development. It wants to encourage open-source community to work on this project.
  • 33.
  • 34. DApps, everything is good? PROs Transparency Code is open-sourced Reliability Every node is a backup. No require central entity Security Every transaction is signed and immutable CONs Speed Tx finality ~6 minutes. 15 TPS Expensive ~0.02 USD/tx, ~3.15 USD/Smart Contract Complexity Limited data storage, upgrades are hard, mistakes are expensive
  • 35.
  • 36. Lightstreams Tech Stack Lightchain: Lightstreams implementation of a proof-of-authority (PoA) blockchain. It is an ethereum-compatible blockchain which uses Byzantine consensus to replace the original proof-of-work (PoW) from Ethereum. Leth: Ethereum Smart Vault. Leth is permissioned blockchain protocol to empower content creators to monetise their intellectual property data. It can be used a CLI or HTTP server.
  • 37. SHOWCASE Video Presenting lightstreams tech stack in a showcase video https://vimeo.com/322754506 Useful links ● Lightchain ● Block Explorer (sirius) ● Leth documentation ● Leth HTTP API ● Javascript Leth SDK
  • 38. Lightstreams DApp Challenge Description Developer a DApp using Lightstreams tech stack Prize 500-1000 USD (in PHT) Conditions ● Register your project request at discuss.lightstreams.network ● Deliver a running version of the project ● Documentation ● Open-source project
  • 39. Q/A ¡ Gracias por su atención ! More questions? Email us gabriel@lightstreams.io lukas@lightstreams.io Give us some feedback !!! https://workshop.lightstreams.io