SlideShare a Scribd company logo
Blockchain, smart contracts
introduction
© Lukasz Jarmulowicz 2016
TL; DR
- History, background
- Solved problems
- How it works (wallets, transactions, mining)
- Ethereum, Smart contracts
- Profit
Why bitcoin?
Ledger
A general ledger contains all the accounts for
recording transactions relating to a company's
assets, liabilities, owners' equity, revenue, and
expenses.
Purpose: To have financial statement
Double spendingByzantine Generals Problem
More generally, the B.G.P. poses the question
of how to establish trust between otherwise
unrelated parties over an untrusted network
like the Internet.
The problem to be solved is:
● All loyal generals need to decide upon
the same plan of action.
● A small number of traitors cannot cause
the loyal generals to adopt a bad plan.
Bitcoin
In October 2008, “Satoshi Nakamoto” published a paper describing the bitcoin
digital currency. In January 2009, Nakamoto released the first bitcoin software
that launched the network and the first units of the bitcoin cryptocurrency,
called bitcoins.
Distributed ledger - Blockchain
The block chain is a shared public ledger on which the entire Bitcoin network
relies. All confirmed transactions are included in the block chain. This way,
Bitcoin wallets can calculate their spendable balance and new transactions
can be verified to be spending bitcoins that are actually owned by the spender.
A mysterious new technology emerges, seemingly out of nowhere, but actually the
result of two decades of intense research and development by nearly anonymous
researchers.
...
Eventually mainstream products, companies and industries emerge to commercialize
it; its effects become profound; and later, many people wonder why its powerful
promise wasn’t more obvious from the start.
...
What technology am I talking about? Personal computers in 1975, the Internet in 1993,
and – I believe – Bitcoin in 2014
Marc Andreesen, creator of Netscape Navigator
Blockchain, smart contracts - introduction
Davos 2016 - big attention
Even in Russia...
https://www.youtube.com/watch?v=BXlAH2fhyoU
Ok, ok.. but how it works ?
Wallet
Transactions
Transaction signing - scripts inside
Small program inside each transaction that gets
executed to decide if a transaction is valid
Transaction chain gives balance
Confirming transactions - mining
Mining - blocks
Bitcoin mining is the process that puts
transactions into a block, to make sure everyone
has a consistent view of the transaction log.
Mining is also the mechanism for new bitcoins to
enter the system. When a block is successfully
mined, new bitcoins are generated in the block
and paid to the miner.
This mining bounty is large - currently 25
bitcoins per block (~ $14,000).
This is blockchain
Blockchain, smart contracts - introduction
Recap
Wallets
Transactions
Transaction chain > balance
Mining > creating linked blocks
Example?
Ethereum, smart contracts
Ethereum was initially proposed by Vitalik Buterin in late 2013 and in 2014 he described it as
"A Next-Generation Cryptocurrency and Decentralized Application Platform".
Ethereum's live blockchain was launched on 30 July 2015. The Ethereum software project was initially
developed by a Swiss company, Ethereum Switzerland GmbH (EthSuisse) and a Swiss non-profit
foundation, the Ethereum Foundation.
Ethereum Virtual Machine
Programmable blockchain - Rather than give
users a set of pre-defined operations (e.g.
bitcoin transactions), Ethereum allows users to
create their own operations of any complexity
they wish.
Bitcoin blockchain was purely a list of
transactions, Ethereum’s basic unit is the
account. The Ethereum blockchain tracks the
state of every account, and all state transitions
on the Ethereum blockchain are transfers of
value and information between accounts.
Platform for many different types of
decentralized blockchain applications, including
but not limited to cryptocurrencies.
Smart contracts
● Contracts lives on the Ethereum blockchain
● Have own Ethereum address and balance
● Can send and receive transactions
● “Activated” when you send a transaction to it
Smart contracts
● 4 Ethereum high level
languages
○ Solidity (similar to js)
● Compile (Mix IDE)
● Deploy (you pay for
execution gas - > eth)
● Interacting with smart
contracts
● Mining - little different than
bitcoin (few changes)
Plans for smart contracts usage
ETHEREUM AS A ‘WORLD
COMPUTER’
Computation on Ethereum is slow
and expensive.
(currently similar to smartphone?!)
For computation, there are better,
cheaper and faster alternatives that
don’t require blockchains and all
that.
Ethereum can create
various forms of economic
alignment, shared purpose
and coordination between
thousands of anonymous
people, at a fraction of a
cost compared to
alternatives (legal
frameworks).
Sharing economy (ex. uber,
airbnb) will be everywhere.
Decentralized autonomous organizations (“DAO”)
● Best comparable to a digital company, but without an attached legal entity
● The Owner (kind of admin) can add (or remove) voting members to the organization
● Any member can make a proposal (by sending transaction or execute contract)
● People vote on proposals
● Allows people to participate in risks & rewards of digital ventures
Cons
Scalability
Confidentiality
Valuations
No Buyer Protection - real time
Blockchain, smart contracts - introduction
Thank you.
Questions?
© Lukasz Jarmulowicz 2016

More Related Content

PPTX
HGF's usage of smart contracts on the ethereum blockchain
PDF
Blockchain introduction
PDF
Blockchain for Beginners
PPTX
Introduction to blockchain and smart contracts
PDF
Blockchain - Presentacion Betabeers Galicia 10/12/2014
PPTX
Understanding blockchain
PPTX
Blockchain- how it could transform business
PDF
Blockchain; how it works, and why you should care
HGF's usage of smart contracts on the ethereum blockchain
Blockchain introduction
Blockchain for Beginners
Introduction to blockchain and smart contracts
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Understanding blockchain
Blockchain- how it could transform business
Blockchain; how it works, and why you should care

What's hot (20)

PDF
Blockchain-intro (2)
PDF
Block chain 101 what it is, why it matters
PPTX
Blockchain, Ethereum and Business Applications
PPTX
The curious case of Blockchain Technology
PDF
Blockchain, cryptography, and consensus
 
PPT
Bitcoin & Blockchain Basics
PPTX
Blockchain Introduction
PPTX
Bitcoin: What You Need to Know
PDF
Blockchain and Real Estate - IBREA conference
PPTX
Blockchain 101
PDF
How does a blockchain work?
PDF
Paybis.com - high level intro to blockchain for Devclub.lv
PPTX
Block Chain Bitcoin and Crypto Currency
PPTX
Namecoin Primecoin Potcoin
PPTX
Blockchain 101 - public, tokenized blockchains
PDF
Block chain introduction
PPTX
Blockchain, bitcoin, ethereum and ICOs
PPTX
Ethereum Blockchain with Smart contract and ERC20
PDF
Grokking TechTalk #17: Introduction to blockchain
PDF
Blockchain a-new-disruption-in-financial-services - IBM
Blockchain-intro (2)
Block chain 101 what it is, why it matters
Blockchain, Ethereum and Business Applications
The curious case of Blockchain Technology
Blockchain, cryptography, and consensus
 
Bitcoin & Blockchain Basics
Blockchain Introduction
Bitcoin: What You Need to Know
Blockchain and Real Estate - IBREA conference
Blockchain 101
How does a blockchain work?
Paybis.com - high level intro to blockchain for Devclub.lv
Block Chain Bitcoin and Crypto Currency
Namecoin Primecoin Potcoin
Blockchain 101 - public, tokenized blockchains
Block chain introduction
Blockchain, bitcoin, ethereum and ICOs
Ethereum Blockchain with Smart contract and ERC20
Grokking TechTalk #17: Introduction to blockchain
Blockchain a-new-disruption-in-financial-services - IBM
Ad

Viewers also liked (7)

PDF
20171003 blockchain and smart contracts sai 2017 kv
PDF
BlockChain, Bitcoin and Smart Contracts - Oleg Kudrenko
PDF
Blockchain Smart Contracts - getting from hype to reality
PDF
Bitcoin and Blockchain Technology: An Introduction
PDF
Bitcoin and Blockchain Technology: Hayek Money
PPTX
Blockchain: The Information Technology of the Future
ODP
Stefano Maestri - Blockchain and smart contracts, what they are and why you s...
20171003 blockchain and smart contracts sai 2017 kv
BlockChain, Bitcoin and Smart Contracts - Oleg Kudrenko
Blockchain Smart Contracts - getting from hype to reality
Bitcoin and Blockchain Technology: An Introduction
Bitcoin and Blockchain Technology: Hayek Money
Blockchain: The Information Technology of the Future
Stefano Maestri - Blockchain and smart contracts, what they are and why you s...
Ad

Similar to Blockchain, smart contracts - introduction (20)

PPTX
Blockchain and Cryptocurrencies
PDF
Introduction to Bitcoin, Blockchain, and Ethereum by Justin Wu
PDF
The presentation on the Blockchain_Introduction_KR.pdf
PPT
BlockChain_and _cryptocurrency_technology (1).ppt
PPTX
PRESENTATION.pptx
PPTX
Blockchain Technology Unit 4.pptxmmmmmmmmm
PPTX
BlockChain BreakDown
PPTX
An Introduction to Blockchains
PPTX
Blockchain an introduction_n_li
PPTX
Spartan Blockchain - Women in Blockchain Workshop Presentation
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PDF
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
PPTX
Resource slides for blockchain related question
DOCX
Impact of Blockchain on IT AuditBlockchain Techn.docx
PDF
Introduction to Blockchain and Smart Contracts
PDF
Blockchain Explained
PPTX
What is bitcoin?
PPTX
Blockchain
PDF
Blockchain External.pdf
PPTX
Blockchain Fundamentals Quickstart
Blockchain and Cryptocurrencies
Introduction to Bitcoin, Blockchain, and Ethereum by Justin Wu
The presentation on the Blockchain_Introduction_KR.pdf
BlockChain_and _cryptocurrency_technology (1).ppt
PRESENTATION.pptx
Blockchain Technology Unit 4.pptxmmmmmmmmm
BlockChain BreakDown
An Introduction to Blockchains
Blockchain an introduction_n_li
Spartan Blockchain - Women in Blockchain Workshop Presentation
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Resource slides for blockchain related question
Impact of Blockchain on IT AuditBlockchain Techn.docx
Introduction to Blockchain and Smart Contracts
Blockchain Explained
What is bitcoin?
Blockchain
Blockchain External.pdf
Blockchain Fundamentals Quickstart

Recently uploaded (20)

PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Geodesy 1.pptx...............................................
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
composite construction of structures.pdf
PPTX
Sustainable Sites - Green Building Construction
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Welding lecture in detail for understanding
PPT
Project quality management in manufacturing
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Digital Logic Computer Design lecture notes
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Geodesy 1.pptx...............................................
Foundation to blockchain - A guide to Blockchain Tech
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
composite construction of structures.pdf
Sustainable Sites - Green Building Construction
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CH1 Production IntroductoryConcepts.pptx
Welding lecture in detail for understanding
Project quality management in manufacturing
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Lesson 3_Tessellation.pptx finite Mathematics
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Structs to JSON How Go Powers REST APIs.pdf
Internet of Things (IOT) - A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mechanical Engineering MATERIALS Selection
Digital Logic Computer Design lecture notes

Blockchain, smart contracts - introduction

  • 2. TL; DR - History, background - Solved problems - How it works (wallets, transactions, mining) - Ethereum, Smart contracts - Profit
  • 4. Ledger A general ledger contains all the accounts for recording transactions relating to a company's assets, liabilities, owners' equity, revenue, and expenses. Purpose: To have financial statement
  • 5. Double spendingByzantine Generals Problem More generally, the B.G.P. poses the question of how to establish trust between otherwise unrelated parties over an untrusted network like the Internet. The problem to be solved is: ● All loyal generals need to decide upon the same plan of action. ● A small number of traitors cannot cause the loyal generals to adopt a bad plan.
  • 6. Bitcoin In October 2008, “Satoshi Nakamoto” published a paper describing the bitcoin digital currency. In January 2009, Nakamoto released the first bitcoin software that launched the network and the first units of the bitcoin cryptocurrency, called bitcoins.
  • 7. Distributed ledger - Blockchain The block chain is a shared public ledger on which the entire Bitcoin network relies. All confirmed transactions are included in the block chain. This way, Bitcoin wallets can calculate their spendable balance and new transactions can be verified to be spending bitcoins that are actually owned by the spender.
  • 8. A mysterious new technology emerges, seemingly out of nowhere, but actually the result of two decades of intense research and development by nearly anonymous researchers. ... Eventually mainstream products, companies and industries emerge to commercialize it; its effects become profound; and later, many people wonder why its powerful promise wasn’t more obvious from the start. ... What technology am I talking about? Personal computers in 1975, the Internet in 1993, and – I believe – Bitcoin in 2014 Marc Andreesen, creator of Netscape Navigator
  • 10. Davos 2016 - big attention
  • 12. Ok, ok.. but how it works ?
  • 15. Transaction signing - scripts inside Small program inside each transaction that gets executed to decide if a transaction is valid
  • 18. Mining - blocks Bitcoin mining is the process that puts transactions into a block, to make sure everyone has a consistent view of the transaction log. Mining is also the mechanism for new bitcoins to enter the system. When a block is successfully mined, new bitcoins are generated in the block and paid to the miner. This mining bounty is large - currently 25 bitcoins per block (~ $14,000).
  • 21. Recap Wallets Transactions Transaction chain > balance Mining > creating linked blocks Example?
  • 23. Ethereum was initially proposed by Vitalik Buterin in late 2013 and in 2014 he described it as "A Next-Generation Cryptocurrency and Decentralized Application Platform". Ethereum's live blockchain was launched on 30 July 2015. The Ethereum software project was initially developed by a Swiss company, Ethereum Switzerland GmbH (EthSuisse) and a Swiss non-profit foundation, the Ethereum Foundation.
  • 24. Ethereum Virtual Machine Programmable blockchain - Rather than give users a set of pre-defined operations (e.g. bitcoin transactions), Ethereum allows users to create their own operations of any complexity they wish. Bitcoin blockchain was purely a list of transactions, Ethereum’s basic unit is the account. The Ethereum blockchain tracks the state of every account, and all state transitions on the Ethereum blockchain are transfers of value and information between accounts. Platform for many different types of decentralized blockchain applications, including but not limited to cryptocurrencies.
  • 25. Smart contracts ● Contracts lives on the Ethereum blockchain ● Have own Ethereum address and balance ● Can send and receive transactions ● “Activated” when you send a transaction to it
  • 26. Smart contracts ● 4 Ethereum high level languages ○ Solidity (similar to js) ● Compile (Mix IDE) ● Deploy (you pay for execution gas - > eth) ● Interacting with smart contracts ● Mining - little different than bitcoin (few changes)
  • 27. Plans for smart contracts usage
  • 28. ETHEREUM AS A ‘WORLD COMPUTER’ Computation on Ethereum is slow and expensive. (currently similar to smartphone?!) For computation, there are better, cheaper and faster alternatives that don’t require blockchains and all that. Ethereum can create various forms of economic alignment, shared purpose and coordination between thousands of anonymous people, at a fraction of a cost compared to alternatives (legal frameworks). Sharing economy (ex. uber, airbnb) will be everywhere.
  • 29. Decentralized autonomous organizations (“DAO”) ● Best comparable to a digital company, but without an attached legal entity ● The Owner (kind of admin) can add (or remove) voting members to the organization ● Any member can make a proposal (by sending transaction or execute contract) ● People vote on proposals ● Allows people to participate in risks & rewards of digital ventures

Editor's Notes

  • #5: Fra Luca Bartolomeo de Pacioli - XV wiek - wspolpracownik LEO matematyk, uważany za "ojca rachunkowości“ Sprawozdanie finansowe – uporządkowane przedstawienie sytuacji finansowej i finansowych wyników działalności podmiotu gospodarczego Ask Aleksander if it’s important
  • #6: The problem was originally framed in terms of a group of generals camped around an enemy city. - Plan (atak, ucieczka, kiedy atak) but can't ever meet in person. The only means of communication is by messenger sent by foot from one camp to another. Further complicating matters, not every general can be trusted to be loyal to the cause. Jest uogólnieniem problemu dwóch armii[3] albo problemu dwóch generałów.
  • #15: A Bitcoin transaction moves bitcoins between one or more inputs and outputs. Each input is a transaction and address supplying bitcoins. Each output is an address receiving bitcoin, along with the amount of bitcoins going to that address.
  • #22: IBM Blockchain? https://youtu.be/IgNfoQQ5Reg?t=4s