Upgrade to Pro — share decks privately, control downloads, hide ads and more …

イーサリアム (Ethereum) 入門 / Introduction to Ethereum

イーサリアム (Ethereum) 入門 / Introduction to Ethereum

2017年10月25日(水)、ブロックチェーンアカデミー「スマートコントラクトプログラミング講座(2)」にて使用のスライドです。

Kenji Saito

October 25, 2017
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. Vitalik Buterin, “Ethereum White Paper: A NEXT GENERATION SMART CONTRACT

    & DECENTRALIZED APPLICATION PLATFORM” 15 (Ethereum) – (2) – 2017-10-25 – p.5/33
  2. 2. macOS (High Sierra 10.13) + Homebrew Linux (Ubuntu 16.04)

    Windows 10 + Bash on Ubuntu on Windows geth, solidity populus (Ethereum) – (2) – 2017-10-25 – p.6/33
  3. Populus Python http://populus.readthedocs.io/en/latest/quickstart.html Open SSL Populus $ pip install populus

    version 1.10.1 (10/24 ) requirement rlp==0.5.1 ( pip ) $ pip install -U rlp==0.5.1 (Ethereum) – (2) – 2017-10-25 – p.10/33
  4. “run.py” ‘--etherbase’ 0x $ python run.py $ tail -f geth.log

    process id kill (Ethereum) – (2) – 2017-10-25 – p.14/33
  5. EVM : : Solidity — JavaScript LLL — Lisp (Ethereum)

    – (2) – 2017-10-25 – p.23/33
  6. Solidity ( ) pragma solidity ˆ0.4.8; contract IndivisibleAsset { /*

    */ string public _name; string public _symbol; uint256 public _quantity; address public _owner; function IndivisibleAsset(string name, string symbol, uint256 quantity) { _name = name; _symbol = symbol; _quantity = quantity; _owner = msg.sender; } function transfer(address to) { if (_owner != msg.sender) { throw; } _owner = to; } } (Ethereum) – (2) – 2017-10-25 – p.24/33
  7. The DAO ( ) The DAO Split ( ) 360

    ETH (50∼60 ) (2016/6/17) ( ) ( ; ) (2016/7/20 ) (Ethereum) – (2) – 2017-10-25 – p.30/33