Slide 1

Slide 1 text

Ethereum for node.js devs Introduction to Ethereum platform by Raul Pino » NodersJS aka Meetup SantiagoJS: Bojack Horse.js man » Charla remota para GravityHub, Valencia 2018 (NodeConf Argentina 2016) 1

Slide 2

Slide 2 text

Who am I? » Born in Venezuela » Living in Chile » Elementus » uBiome » Groupon » <3 Distributed Systems and AI Github/Twitter: @p1nox 2

Slide 3

Slide 3 text

What is Ethereum? Ethereum FAQ - What is ...? 3

Slide 4

Slide 4 text

What is Ethereum? » Is it Oblivion? 4

Slide 5

Slide 5 text

What is Ethereum? » Is it Oblivion? » No. “Ethereum is a computer.” Dr. Gavin Wood (DevCon1 2015) » Gigawhat? (˽°□°҂˽Ɨ ˍʓˍ 5

Slide 6

Slide 6 text

What is Ethereum? “Is a public blockchain-based distributed computing platform, featuring smart contract functionality.” (Wikipedia) 6

Slide 7

Slide 7 text

What is Ethereum? “It provides a decentralized virtual machine, the Ethereum Virtual Machine (EVM), that can execute peer-to-peer contracts using a cryptocurrency called ether.” (Wikipedia) 7

Slide 8

Slide 8 text

Ethereum concepts: » Ether » Blockchain » Smart Contract » Ethereum Virtual Machine » Decentralized Application (dApp) 8

Slide 9

Slide 9 text

Ether Is the cryptocurrency itself. It is a form of payment made by the clients of the platform to the machines executing the requested operations. Related to Gas, cost of transactions over network. 9

Slide 10

Slide 10 text

Blockchain Is a distributed database. Each record is a block. Each block have a timestamp and a link to a previous block. Entire history of all transactions on the network. 10

Slide 11

Slide 11 text

Smart Contract Is kind of the protocol implemented in the network by a dApp. There are some languages used, but the most popular is Solidity. 11

Slide 12

Slide 12 text

Ethereum Virtual Machine It refers to the blockchain, the miners/clients. "The computer" that executes smart contracts. Backend of dApps. 12

Slide 13

Slide 13 text

Decentralized Application (dApp) UI to decentralized backend (smart contracts, blockchain, EVM). DemocracyEarth Gods Unchained Augur Gitcoin 13

Slide 14

Slide 14 text

So again what is Ethereum? 14

Slide 15

Slide 15 text

Is there something similar? 15

Slide 16

Slide 16 text

Live coding: mode on! Brace yourself a code is coming! :O [Truffle Quickstart] 16

Slide 17

Slide 17 text

Ethereum --properties According to Dr. Wood: » Slow: Code runs 5-100x slower that natively compiled. » Expensive to use: Basic computation, memory and storage costs are ~1950s leves. » Not always immediately decisive: Actions of last 60s may be reorganised. 17

Slide 18

Slide 18 text

Ethereum ++properties According to Dr. Wood: » Truly global singleton: One computer for the entire planet now and forever. » Ubiquitous: Wherever there's internet, there's Ethereum. » Cannot fail, be stopped, be censored: No authority, resistant to attack. 18

Slide 19

Slide 19 text

So Ethereum is like ...Matambre! A blockchain of meat, where is surrounded by peers, which uses a social contract, to get a consensus how to consume it, to... "Kill hunger" for decentralization. 19

Slide 20

Slide 20 text

Takeaways Ultimate goal: “A decentralized web would give power back to the people online” Matthew Hodgson (matrix.org in TC) 20

Slide 21

Slide 21 text

Takeaways “Threats to the Internet, such as companies or governments that interfere with or snoop on Internet traffic, compromise basic human network rights.” Tim Berners-Lee 21

Slide 22

Slide 22 text

Interesting links and resources: State of the dApps Ethereum for Dummies - (DEVCON1) Ethereum FAQ ConsenSys/Ethereum-Development-Best-Practices Ethereum 101 Truffle MetaCoin Example 22