SlideShare a Scribd company logo
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
Introduction to Blockchain Development
Introduction to Blockchain Development
Introduction to Blockchain Development
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.
Introduction to Blockchain Development
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
Introduction to Blockchain Development
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

More Related Content

What's hot (19)

PPTX
bitcoin_presentation
Dmytro Pershyn
 
PDF
Blockchain Deconstructed - by nexxworks
nexxworks
 
PDF
Boolberry reduces blockchain bloat
boolberry
 
PDF
Blockchain - Presentacion Betabeers Galicia 10/12/2014
WeKCo Coworking
 
PPTX
Block chain by harsh biltu agarwal
N V Jagadeesh Kumar
 
PPTX
Introduction to Blockchain and Recordkeeping
Peter Van Garderen
 
PDF
Blockchain
Soichiro Takagi
 
PPTX
5 Core Blockchain Technology Concepts
Blockchain Council
 
PPTX
Blockchain
Mohit Singh
 
PPTX
Blockchain concepts
Murughan Palaniachari
 
PPTX
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Prithwis Mukerjee
 
PDF
Introduction to Blockchain
Malak Abu Hammad
 
PPTX
Blockchain: use cases for the future
Bruno Lowagie
 
PPTX
Introduction to Blockchain
AIMDek Technologies
 
PDF
Blockchain, cryptography and tokens — NYC Bar presentation
Paperchain
 
PPTX
Ppt on blockchain technology
RATAN AGARWALA
 
PDF
Bitcoins Math
Akram El-Korashy
 
PPTX
Introduction to blockchain
Priyab Satoshi
 
PDF
Block chain chronicles
Noah Chen
 
bitcoin_presentation
Dmytro Pershyn
 
Blockchain Deconstructed - by nexxworks
nexxworks
 
Boolberry reduces blockchain bloat
boolberry
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
WeKCo Coworking
 
Block chain by harsh biltu agarwal
N V Jagadeesh Kumar
 
Introduction to Blockchain and Recordkeeping
Peter Van Garderen
 
Blockchain
Soichiro Takagi
 
5 Core Blockchain Technology Concepts
Blockchain Council
 
Blockchain
Mohit Singh
 
Blockchain concepts
Murughan Palaniachari
 
Bitcoin, Blockchain and the Crypto Contracts - Part 2
Prithwis Mukerjee
 
Introduction to Blockchain
Malak Abu Hammad
 
Blockchain: use cases for the future
Bruno Lowagie
 
Introduction to Blockchain
AIMDek Technologies
 
Blockchain, cryptography and tokens — NYC Bar presentation
Paperchain
 
Ppt on blockchain technology
RATAN AGARWALA
 
Bitcoins Math
Akram El-Korashy
 
Introduction to blockchain
Priyab Satoshi
 
Block chain chronicles
Noah Chen
 

Similar to Introduction to Blockchain Development (20)

PPTX
Decentralized App Blockchain
Decentralized applications development
 
PPTX
Ethereum Devcon1 Report (summary writing)
Tomoaki Sato
 
PDF
The Decentralized Developer Toolbox by Petros Ring
Block 16
 
PPTX
Chronicle accelerate building a digital currency
Peter Lawrey
 
PDF
How to run your own blockchain pilot
Simon Wilson
 
PDF
BlockchainLAB Hackathon
Aleksandr Kopnin
 
PDF
Company presentation
Olena Petrashchuk
 
PDF
Alternative Consensus & Enterprise Blockchain
Tobias Disse
 
PDF
Decentralized Application: A Software Engineering Perspective
Bambang Purnomosidi D. P.
 
PDF
tezos_hands-on-training.pdf
Neven6
 
PDF
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Codemotion
 
PDF
Introduction to Ethereum Blockchain & Smart Contract
Thanh Nguyen
 
PDF
Blockchain - Beyond the Hype
Salman Baset
 
PPTX
Blockchain: No Thunder No Wonder
Ali Al-Sherbaz
 
PPTX
Introducing flow the new blockchain for open worlds
Blockchain Council
 
PDF
Ethereum Blockchain and DApps - Workshop at Software University
Open Source University
 
PPTX
What is up with dapps?
All Things Open
 
PDF
10 Best Programming Languages for Blockchain in 2023.pdf
WDP Technologies
 
PDF
Iceic2019 final presented
Heung-No Lee
 
PPTX
Block chain application is explained in detail
santhikala3
 
Decentralized App Blockchain
Decentralized applications development
 
Ethereum Devcon1 Report (summary writing)
Tomoaki Sato
 
The Decentralized Developer Toolbox by Petros Ring
Block 16
 
Chronicle accelerate building a digital currency
Peter Lawrey
 
How to run your own blockchain pilot
Simon Wilson
 
BlockchainLAB Hackathon
Aleksandr Kopnin
 
Company presentation
Olena Petrashchuk
 
Alternative Consensus & Enterprise Blockchain
Tobias Disse
 
Decentralized Application: A Software Engineering Perspective
Bambang Purnomosidi D. P.
 
tezos_hands-on-training.pdf
Neven6
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Codemotion
 
Introduction to Ethereum Blockchain & Smart Contract
Thanh Nguyen
 
Blockchain - Beyond the Hype
Salman Baset
 
Blockchain: No Thunder No Wonder
Ali Al-Sherbaz
 
Introducing flow the new blockchain for open worlds
Blockchain Council
 
Ethereum Blockchain and DApps - Workshop at Software University
Open Source University
 
What is up with dapps?
All Things Open
 
10 Best Programming Languages for Blockchain in 2023.pdf
WDP Technologies
 
Iceic2019 final presented
Heung-No Lee
 
Block chain application is explained in detail
santhikala3
 
Ad

Recently uploaded (20)

PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Design Thinking basics for Engineers.pdf
CMR University
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Ad

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)
  • 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.
  • 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
  • 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 [email protected] [email protected] Give us some feedback !!! https://workshop.lightstreams.io