Download - Ethereum - Teory and Practice
![Page 1: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/1.jpg)
ETHEREUMTHEORY AND PRACTICE
![Page 2: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/2.jpg)
EDUARDO NUNES PEREIRA
SOFTWARE ENGINEER
![Page 3: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/3.jpg)
![Page 4: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/4.jpg)
HISTORYCRYPTOCOIN
![Page 5: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/5.jpg)
THEORY • HISTORY • CRYPTOCOIN
E-CASH (1980 - 1990)
▸ Conceived by David Chaum as an anonymous cryptographic electronic money or electronic cash system in 1983.
▸ Cryptography
▸ Centralized
![Page 6: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/6.jpg)
THEORY • HISTORY • CRYPTOCOIN
B-MONEY (1998)
▸ Wei Dai is a computer engineer and cypherpunk best known as creator of b-money and the developer of the Crypto++ library.
▸ Creating money through solving computational puzzles
▸ Decentralized consensus
![Page 7: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/7.jpg)
THEORY • HISTORY • CRYPTOCOIN
BITCOIN (2009)
▸ Created by Satoshi Nakomoto.
▸ Public / private key
▸ Distributed consensus
▸ Proof of work (Hashcash)
![Page 8: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/8.jpg)
THEORY • HISTORY • CRYPTOCOIN
ETHEREUM (2015)
▸ Ethereum was initially proposed in late 2013 by Vitalik Buterin, a cryptocurrency researcher and programmer.
▸ Is a currency, like Bitcoin
▸ Built-in virtual machine and programming language
▸ Alternative protocol for building decentralized apps
▸ Smart contracts
![Page 9: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/9.jpg)
IF AT FIRST AN IDEA DOES NOT SOUND ABSURD, THEN THERE IS NO HOPE FOR ITAlbert Einstein
![Page 10: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/10.jpg)
BLOCKCHAINTHE NEXT INTERNET REVOLUTION
![Page 11: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/11.jpg)
THEORY • THE NEXT REVOLUTION • BLOCKCHAIN
WHAT IS BLOCKCHAIN ?
▸ Simple, is a public and digital ledger or a public database of transactions
▸ Distributed among computers on the internet
▸ Without a central authority
▸ Anyone can participate
![Page 12: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/12.jpg)
BLOCKCHAINA TRANSACTION STEP BY STEP
![Page 13: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/13.jpg)
![Page 14: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/14.jpg)
![Page 15: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/15.jpg)
![Page 16: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/16.jpg)
![Page 17: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/17.jpg)
![Page 18: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/18.jpg)
![Page 19: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/19.jpg)
![Page 20: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/20.jpg)
![Page 21: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/21.jpg)
![Page 22: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/22.jpg)
![Page 23: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/23.jpg)
![Page 24: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/24.jpg)
![Page 25: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/25.jpg)
![Page 26: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/26.jpg)
![Page 27: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/27.jpg)
![Page 28: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/28.jpg)
SMART CONTRACTSDISTRIBUTED COMPUTATION
![Page 29: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/29.jpg)
THEORY • SMART CONTRACTS • HOW IT WORKS
HOW IT WORKS ?
▸ Ethereum Virtual Machine
▸ Global Computer
▸ Gas, “the fuel for the computation”
▸ It has a programming language
![Page 30: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/30.jpg)
THEORY • SMART CONTRACTS • SOLIDITY
SOLIDITY
▸ Compile to Ethereum Virtual Machine
▸ Object oriented programming (OOP)
▸ C-Like and Javascript-Like
▸ Statically typed
▸ The official, but it’s not the only option
![Page 31: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/31.jpg)
THEORY • SMART CONTRACTS • DAPPS
DAPPS (DISTRIBUTED APPLICATIONS)
▸ Frontend to Smart Contracts
▸ Can be deployed anywhere
▸ Use the blockchain as the database
▸ The next generation of apps
![Page 32: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/32.jpg)
THEORY • SMART CONTRACTS • TRUFFLE
TRUFFLE
▸ Uses NodeJS (Javascript)
▸ Compile and deploy Smart Contracts
▸ Unit tests ready
▸ Easy Dapp environment
![Page 33: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/33.jpg)
SMART CONTRACTSTHE FIRST DAPP STEP BY STEP
![Page 34: Ethereum - Teory and Practice](https://reader030.vdocuments.us/reader030/viewer/2022021507/5870582a1a28aba2118b5d65/html5/thumbnails/34.jpg)
THE SCIENCE OF TODAY IS THE TECHNOLOGY OF TOMORROWEdward Teller