Dapps for Web Developers Aberdeen Techmeetup

Embed Size (px)

Citation preview

  1. 1. Dapps Web Developers Guide to building a Dapp
  2. 2. Agenda History & terminology Ethereum HTML JS Dapp examples Summary
  3. 3. History History Mathematics & Money Encryption Public Private Key 1970's 90's gold, centralized 2 tonnes - put in prison 2008 https://bitcoin.org/bitcoin.pdf Satoshi Nakamoto Decentralized peer to peer money Price, Altcoins, Payments, Int. Transfers, etc Smart Contracts
  4. 4. Terminology Blockchain Mining Proof of Work Merkle Trees & HASHing Consensus Rewards (bitcoins) Peer to Peer, no central authority, secure
  5. 5. Public Key Encryption Public Keys & large numbers https://www.youtube.com/watch?v=ZloHVKk7DHk Elliptic Curves https://www.youtube.com/watch? v=iB3HcPgm_FI
  6. 6. Proof of Work SPAM - hashcash https://www.youtube.com/watch?v=q6MGcE68-8g Cost high at volume HASHING number of Zeros 00000023
  7. 7. Merkle Tree
  8. 8. Consensus BLOCK TO BLOCKCHAIN Longest chain wins 51% attack CPU of network Maths problem varies difficulty automatically 10min on average to solve Reward reduce by half every 4 years
  9. 9. Ethereum Smart Contracts EVM ethereum Blockchain Solidity Language IPO Ether gas pay for compute on EVM Whisper & Swarm test release Others exist (Maidsafe, Blockstream, creddits etc etc.)
  10. 10. Install Caustion still under test development https://github.com/ethereum/cpp-ethereum/wiki Ubunut 14.04 GO, CPP, Python, Node.js Other Mac, Windows
  11. 11. Dapp Learn concepts - Alethzero HTML Javascript API Send ether Simple smart contract Own Bank
  12. 12. Summary Websites Apps Dapps Thank you for listening Q&A
  13. 13. https://github.com/aboynejames/learnethereum