Building on Ethereum



Building on Ethereum

0 0


hongkong-talk

https://metamask.github.io/hongkong-talk/

On Github MetaMask / hongkong-talk

Building on Ethereum

What is Ethereum? a general progammable blockchain

What is a Blockchain?

network consensus structure state
Bitcoin Ethereum network decentralized p2p decentralized p2p consensus PoW (ASIC) PoW (memory-hard) structure satoshi blockchain satoshi blockchain state balances balances + code + storage
Bitcoin Ethereum tx fee tx fee gasCost * gasPrice block size requires fork auto-adjusts monetary policy grows to 21 million grows at constant rate mining pools yes yes energy economics yes yes

A look at evm state

Anatomy of Ethereum tx from address (via signature) to address nonce data
user accounts and contracts
send ether
call method on contract
contract reacts
chain reaction
multi sig via proxy contracts
assembly of contracts
where do contracts come from?
special tx (empty 'to' field)

Building Dapps

Traditional WebDev Ethereum as a Platform html/css/js html/css/js + web3 api CDN IPFS biz logic + db smart contract

Problem: my users wont download a special browser

  • what? a browser plugin
  • status? 90%
  • requires install by user
  • seperates keys from dapp
  • keys stored locally, encrypted

Building Dapps

Time for Truffle Demo

dapps on the "standard" internet

Problem: my users wont download a special plugin

requirements:

  • blockchain data source
  • id mgmt, tx signer

Problem: risk of key exposure

cross-origin id mgmt feels like an OAuth-flow

  • what? a library for dapp devs
  • status? research
  • zero-install for user
  • seperates keys from dapp
  • keys available across dapps that use this lib
  • keys stored locally, encrypted

MetaMask

Ethereum in your browser

Built by Kumavis * Powered by ConsenSys + Ethereum DEV Grants

Thanks

aaron@kumavis.megithub.com/kumavistwitter.com/kumavis_

join the mailing list on metamask.io

Building on Ethereum