Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Intro into blockchain

780 views

Published on

This slidedeck was used at the second Blockchain Vlaanderen meetup in Antwerp. It was given as a general introduction into Blockchain to enable newcomers to follow the presentations that followed.

Published in: Technology
  • Login to see the comments

Intro into blockchain

  1. 1. Introduction to the Blockchain technology Blockchain Vlaanderen Meetup #2 April, 18th 2016 - KBC Boerentoren Antwerpen
  2. 2. 1. What is Blockchain? 2. How does Blockchain work? 3. And what are smart contracts?
  3. 3. How does Blockchain work, explained using the Bitcoin blockchain
  4. 4. Meet Peter and Mary Peter Mary
  5. 5. Only identified by their private key Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Private key: MHQCAQEEIMxR…jHiHBI JyuCtGkdJzw== Peter Mary
  6. 6. And the public address of their wallet Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Private key: MHQCAQEEIMxR…jHiHBI JyuCtGkdJzw== Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDQ5BJfRC … 27SsKfUrgdaG Peter Mary
  7. 7. Since the blockchain is a ledger, it knows the balance of those wallets Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Private key: MHQCAQEEIMxR…jHiHBI JyuCtGkdJzw== Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDQ5BJfRC … 27SsKfUrgdaG Peter Mary
  8. 8. Mary constructs a transaction to send 10BTC to Peter Peter Mary send 10 BTC from 1VDQ5BJfRC…27SsKfUrgdaG to 19jgcudmDT…vXfJd47yjLev Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDQ5BJfRC … 27SsKfUrgdaG
  9. 9. And signs it with her private key Peter Mary send 10 BTC from 1VDQ5BJfRC…27SsKfUrgdaG to 19jgcudmDT…vXfJd47yjLev Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDQ5BJfRC … 27SsKfUrgdaG Private key: MHQCAQEEIMxR…jHiHBI JyuCtGkdJzw==
  10. 10. The transaction is sent to the network and propagates into the transaction pool of each node
  11. 11. Miners start to create a candidate block Candidate Block Transaction Pool Validate and sort the transactions into a candidate block, no larger than the maximum blocksize
  12. 12. A block contains the transactions, plus the Merkle root Candidate Block Transaction Pool Merkle root ~ hash of all transactions in the block
  13. 13. And includes the hash of the previous block to chain them together Candidate Block Transaction Pool Merkle root ~ hash of all transactions in the block Hash of the previous block
  14. 14. Solving the proof of work puzzle, finding the nonce Transaction Pool Proof of work Candidate Block
  15. 15. After solving the puzzle, the result is sent back to the network Transaction Pool Proof of work Transmit the block to the network Candidate Block
  16. 16. And start again… Transaction Pool Proof of work Transmit the block to the network Candidate Block
  17. 17. Challenges of a distributed network: forking Blockchain
  18. 18. 19:15:10 - New block found on top of “green”! A fork in the making 19:15:11 - New block found on top of “green”! Blockchain
  19. 19. The chain has forked!Blockchain
  20. 20. Some miners are mining on top of “red”, some on top of “yellow”Blockchain
  21. 21. 19:25:13 - New block found on top of “yellow”! BlockchainA new block has been mined
  22. 22. Order has been restored, all is well… Blockchain Forking over one/two blocks is extremely rare. Transactions are considered secure after 6 blocks
  23. 23. And what are smart contracts?
  24. 24. Peter, now using a wallet with Ether… Address: 19jgcudmDT… vXfJd47yjLev Peter
  25. 25. … interacts with a “living” piece of software in the blockchain Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDFGSJfRC … 27SsKfDhdiF Peter Turing complete programming language e.g. car lease
  26. 26. And pays for the processing power using “gas” Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Address: 19jgcudmDT… vXfJd47yjLev Address: 1VDFGSJfRC … 27SsKfDhdiF Peter Turing complete programming language Gas
  27. 27. Not just human to smart contract, but also between contracts Private key: MHQCAQEEIDlbC…dPiE Laz5K4+PO4w== Address: 19jgcudmDT… vXfJd47yjLev Peter
  28. 28. Questions?

×