d e v • Ditched the Eiffel Tower for Karluv Most • Self-taught web developer @ Showmax • Passionate about building performant UIs • Also, a decentralisation nerd Ahoj! I’m Alexandre Gomes • Also, it’s my first talk
d e v • Sharing files in a P2P network is easy: I share the file, we both have it • Building P2P money is fundamentally different • I give you cash, you have it, I don’t have it anymore • Seemingly impossible to do digitally before Bitcoin Money !== Files The context
d e v Merkle Trees • Specific form of binary trees • Verifying a hash = easy, don’t need to go through all the leaves • Actually calculating it = hard (Hashing)
d e v “Ethereum is a change in the way we interact with each other. Bitcoin was for money, Ethereum for digitally enforceable agreements” “ Vitalik Buterin
d e v Ethereum, the “world computer” • Invented by Vitalik Buterin, went live in 2015 • “Consensus, but not just for money” • Decentralised, just like Bitcoin • Has a native currency to pay for the computational power • Part of a stack called “web3” • Uses Blockchain to run “smart contracts” on the EVM
d e v Smart contracts • On a higher level: Digitally enforceable contracts to perform transactions, with no third party • Code running on the Ethereum Virtual Machine (Bytecode compiled from solidity/vyper or maybe another language someday because of ewasm)
d e v Smart Contract - Usages • Usages : • Building DAOs (Aragon, The DAO) • Creating supply chains (Carrefour tracks their chicken this way) • Identity verification (uPort, Civic, Estonia e-residency..) • Trading cute unique kittens (CryptoKitties) • Trading digital assets (DEXs powered by 0x) • Voting, and much more !
d e v Just the consensus layer • Computation on the blockchain is ~1M x slower than typical systems • Soon to be “only” 1000x slower • Extremely expensive to run code - Put on the blockchain what absolutely needs to be there - Leave you business logic for your “classical” FE and BE
d e v The web3 • The idea of a decentralised web • Data is in the hands of users • Change of paradigm : Fully decentralised apps Whisper Messaging Ethereum Consensus Swarm Storage + Additional services e.g ENS
d e v Browser magic web3.js - Client to interact with the Ethereum blockchain - Can be used on the browser, or with Node.JS - Async (promise-based), fits perfectly with react, vue, or any modern SPA framework
d e v - Status.im, Cipher, Trust wallet … - Most popular Implementation of web3 - Can be installed on Chrome - Installed by default on Brave Metamask Browser magic Mobile browsers
d e v Explore further • Vitalik Buterin talks/interviews • Blockgeeks - Blockchain courses (Subscription) • Stephen Grider’s course on Udemy • Solidity docs • Gitcoin - Work on open-source blockchain projects, get paid with crypto