ethereum - teory and practice

35
ETHEREUM THEORY AND PRACTICE

Upload: eduardo-nunes-pereira

Post on 16-Apr-2017

227 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Ethereum - Teory and Practice

ETHEREUMTHEORY AND PRACTICE

Page 2: Ethereum - Teory and Practice

EDUARDO NUNES PEREIRA

SOFTWARE ENGINEER

Page 3: Ethereum - Teory and Practice
Page 4: Ethereum - Teory and Practice

HISTORYCRYPTOCOIN

Page 5: Ethereum - Teory and Practice

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

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

THEORY • HISTORY • CRYPTOCOIN

BITCOIN (2009)

▸ Created by Satoshi Nakomoto.

▸ Public / private key

▸ Distributed consensus

▸ Proof of work (Hashcash)

Page 8: Ethereum - Teory and Practice

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

IF AT FIRST AN IDEA DOES NOT SOUND ABSURD, THEN THERE IS NO HOPE FOR ITAlbert Einstein

Page 10: Ethereum - Teory and Practice

BLOCKCHAINTHE NEXT INTERNET REVOLUTION

Page 11: Ethereum - Teory and Practice

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

BLOCKCHAINA TRANSACTION STEP BY STEP

Page 13: Ethereum - Teory and Practice
Page 14: Ethereum - Teory and Practice
Page 15: Ethereum - Teory and Practice
Page 16: Ethereum - Teory and Practice
Page 17: Ethereum - Teory and Practice
Page 18: Ethereum - Teory and Practice
Page 19: Ethereum - Teory and Practice
Page 20: Ethereum - Teory and Practice
Page 21: Ethereum - Teory and Practice
Page 22: Ethereum - Teory and Practice
Page 23: Ethereum - Teory and Practice
Page 24: Ethereum - Teory and Practice
Page 25: Ethereum - Teory and Practice
Page 26: Ethereum - Teory and Practice
Page 27: Ethereum - Teory and Practice
Page 28: Ethereum - Teory and Practice

SMART CONTRACTSDISTRIBUTED COMPUTATION

Page 29: Ethereum - Teory and Practice

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

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

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

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

SMART CONTRACTSTHE FIRST DAPP STEP BY STEP

Page 34: Ethereum - Teory and Practice

THE SCIENCE OF TODAY IS THE TECHNOLOGY OF TOMORROWEdward Teller

Page 35: Ethereum - Teory and Practice

THANK YOUEDUARDO NUNES PEREIRA

[email protected]