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

スマートコントラクト / Smart Contracts

スマートコントラクト / Smart Contracts

ブロックチェーンハブ主催で開催している連続講義 (通算第3期) ブロックチェーン基盤技術 第6回「スマートコントラクト」のスライドです。2017年3月8日(水) に使用しました。

Kenji Saito

March 08, 2017
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. CSP CSP : Communicating Sequential Processes : VendingMachine = coin

    → choc → STOP Person = (coin → STOP) [] (card → STOP) . . . VendingMachine |[{coin,card}]| Person ≡ coin → choc → STOP — 6 — 2017-03-08 – p.11/45
  2. 1. ⇒ ( ) ⇒ 2. ⇒ ⇒ 3. ⇒

    — 6 — 2017-03-08 – p.15/45
  3. (by ) 1. 2. ( ) ( ) . .

    . cf. by McLuhan cf. by McLuhan — 6 — 2017-03-08 – p.16/45
  4. Vitalik Buterin, “Ethereum White Paper: A NEXT GENERATION SMART CONTRACT

    & DECENTRALIZED APPLICATION PLATFORM” 15 — 6 — 2017-03-08 – p.20/45
  5. Solidity contract metaCoin { mapping (address => uint) balances; function

    metaCoin() { balances[msg.sender] = 10000; } function sendCoin(address receiver, uint amount) returns(bool sufficient) { if (balances[msg.sender] < amount) return false; balances[msg.sender] -= amount; balances[receiver] += amount; return true; } } by hshimo — 6 — 2017-03-08 – p.25/45
  6. Solidity JavaScript ( , ) (constructor) ( ) ( )

    Ether — 6 — 2017-03-08 – p.26/45
  7. The DAO ( ) The DAO Split ( ) 360

    ETH (50∼60 ) (6/17) ( ) ( ; ) (7/20 ) — 6 — 2017-03-08 – p.32/45
  8. — 1. ( ) 2. ( ) 3. ( )

    — 6 — 2017-03-08 – p.41/45
  9. Communicating Promises in the Air CPA : Communicating Promises in

    the Air etc. — 6 — 2017-03-08 – p.42/45
  10. 10 12 → 120 120 12 12 120 — 6

    — 2017-03-08 – p.43/45