Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
イーサリアム (Ethereum) 入門 / Introduction to Ethereum
Search
Kenji Saito
PRO
July 11, 2018
Technology
0
270
イーサリアム (Ethereum) 入門 / Introduction to Ethereum
2018年7月11日(水)、ブロックチェーンハブ主催で開催されたブロックチェーンアカデミー「イーサリアム入門」(【ハンズオン】スマートコントラクトプログラミング (1)) にて使用したスライドです。
Kenji Saito
PRO
July 11, 2018
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
関連2群のt検定/独立2群のt検定 / Related 2-group t-test and independent 2-group t-test
ks91
PRO
0
22
A Guide to Paper Writing Support with Generative AI - A Joint Zemi
ks91
PRO
0
6
正規分布と簡単な統計理論/t分布と信頼区間 / Normal distribution, simple statistical theory, t-distribution and confidence intervals
ks91
PRO
0
38
じわじわ迫ってきている自動化社会 (その先にメタ・ネイチャー) / The Slowly Approaching Automated Society (and its beyond: Meta-Nature)
ks91
PRO
0
6
起こりうる誤った推論/平均・分散・標準偏差・自由度 / Possible false inferences, means, variances, standard deviations and degrees of freedom
ks91
PRO
0
54
LaTeX と Overleaf によるショートペーパー作成 / Short paper writing with LaTeX and Overleaf
ks91
PRO
0
18
R を用いた検定(補講) (1) — Welch 検定 / Tests using R (supplementary) (1) - Welch test
ks91
PRO
0
11
R を用いた検定(補講) (2) — カイ二乗検定 / Tests using R (supplementary) (2) - Chi-squared test
ks91
PRO
0
10
R を用いた分析(補講) (1) — 重回帰分析 / Analysis using R (supplementary) (1) - Multiple regression analysis
ks91
PRO
0
9
Other Decks in Technology
See All in Technology
生成AIのガバナンスの全体像と現実解
fnifni
1
180
ハイテク休憩
sat
PRO
2
140
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
180
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
300
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
250
CustomCopを使ってMongoidのコーディングルールを整えてみた
jinoketani
0
220
AWS re:Invent 2024 ふりかえり
kongmingstrap
0
130
2024年にチャレンジしたことを振り返るぞ
mitchan
0
130
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
520
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
280
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Into the Great Unknown - MozCon
thekraken
33
1.5k
A Tale of Four Properties
chriscoyier
157
23k
Building Your Own Lightsaber
phodgson
103
6.1k
The Invisible Side of Design
smashingmag
298
50k
Documentation Writing (for coders)
carmenintech
66
4.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Typedesign – Prime Four
hannesfritz
40
2.4k
Transcript
(Ethereum) (1) CSO / SFC ( https://speakerdeck.com/ks91 )
[email protected]
(Ethereum)
— (1) — 2018-07-11 – p.1/39
( ) CSO (Chief Science Officer) SFC ( ) 1993
( ) 2006 ( ) SFC 17 P2P (Peer-to-Peer) 2011 → ( ) (Ethereum) — (1) — 2018-07-11 – p.2/39
(2017) : SF + + SF (2048 ) 2048 (Ethereum)
— (1) — 2018-07-11 – p.3/39
1. 2. 3. 4. 5. (Ethereum) — (1) — 2018-07-11
– p.4/39
1. (Ethereum) — (1) — 2018-07-11 – p.5/39
( ) (1) (2) (3) (4) ( ) state machine
replication (Ethereum) — (1) — 2018-07-11 – p.6/39
1) 2) 3) ⇒ ⇒ · / (dependable ) (Ethereum)
— (1) — 2018-07-11 – p.7/39
/DLT ( ) Bitcoin ( ) Open Assets Protocol (OAP)
( ) Ethereum ( ) ( ) Enterprise Ethereum Alliance (↓ ) (DLT) ( ) Hyperledger (Linux Foundation) Fabric (IBM/DAH), Sawtooth (Intel), Iroha ( ) Corda (R3), Tangle (IOTA), . . . , BBc-1 ( ) (Ethereum) — (1) — 2018-07-11 – p.8/39
/DLT ( ) ( ) ( vs. ) ( )
( ) ( ) ⇒ ( : BBc-1) DLT : : (Ethereum) — (1) — 2018-07-11 – p.9/39
Vitalik Buterin, “Ethereum White Paper: A NEXT GENERATION SMART CONTRACT
& DECENTRALIZED APPLICATION PLATFORM” 15 (Ethereum) — (1) — 2018-07-11 – p.10/39
2. macOS (High Sierra 10.13) + Homebrew Linux (Ubuntu 16.04)
Windows 10 + Windows Subsystem for Linux geth, solidity populus (Ethereum) — (1) — 2018-07-11 – p.11/39
geth GO https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum #installation-instructions geth 1.8.12-stable (7/10 ) $ geth
-help (Ethereum) — (1) — 2018-07-11 – p.12/39
Solidity http://solidity.readthedocs.io/en/latest/installing-solidity.html solc 0.4.24 (7/10 ) $ solc --version (Ethereum)
— (1) — 2018-07-11 – p.13/39
Python3 macOS $ brew install python3 Linux $ sudo add-apt-repository
ppa:deadsnakes/ppa $ sudo apt update $ sudo apt install python3.6 python3.6-dev python3.6-venv 16.10 python3 apt (Ethereum) — (1) — 2018-07-11 – p.14/39
Python (venv) macOS ‘python3.6’ ‘python3’ $ python3.6 -m venv popenv
$ source popenv/bin/activate (popenv) $ pip install -U pip (popenv) $ deactivate (Ethereum) — (1) — 2018-07-11 – p.15/39
Populus Python http://populus.readthedocs.io/en/latest/quickstart.html Open SSL Populus $ pip install populus==2.1.0
$ pip install -U web3==3.16.5 $ pip install -U eth-utils==0.7.4 version 2.1.0 (Ethereum) — (1) — 2018-07-11 – p.16/39
$ populus init contracts/Greeter.sol tests/test_greeter.py $ populus compile $ py.test
. (Ethereum) — (1) — 2018-07-11 – p.17/39
(1) http://beyond-blockchain.org/public/BcH-smart-contract-programming.zip Python (init.py, run.py, deploy.py) project.json genesis.json $ python
init.py $ touch MyToken.sol (Ethereum) — (1) — 2018-07-11 – p.18/39
(2) $ geth init genesis.json $ geth account new 16
(Ethereum) — (1) — 2018-07-11 – p.19/39
“run.py” ‘--etherbase’ 0x ( run.py): http://beyond-blockchain.org/public/modified_run_py.zip $ python run.py $
tail -f geth.log process id kill (Ethereum) — (1) — 2018-07-11 – p.20/39
DAG (Directed Acyclic Graph) Ether (Ethereum) — (1) — 2018-07-11
– p.21/39
3. (Ethereum) — (1) — 2018-07-11 – p.22/39
(Ethereum) — (1) — 2018-07-11 – p.23/39
. . . (Ethereum) — (1) — 2018-07-11 – p.24/39
vs. (Ethereum) — (1) — 2018-07-11 – p.25/39
= run (Ethereum) — (1) — 2018-07-11 – p.26/39
Ether Ethereum EOA : Externally-Owned Account Ether EVM EVM (Ethereum)
— (1) — 2018-07-11 – p.27/39
EVM : Ethereum Virtual Machine Gas (Ethereum) — (1) —
2018-07-11 – p.28/39
EVM : : Solidity — JavaScript LLL — Lisp (Ethereum)
— (1) — 2018-07-11 – p.29/39
Solidity ( ) pragma solidity ˆ0.4.24; contract IndivisibleAsset { /*
*/ string public _name; string public _symbol; uint256 public _quantity; address public _owner; constructor (string name, string symbol, uint256 quantity) public { _name = name; _symbol = symbol; _quantity = quantity; _owner = msg.sender; } function transfer(address to) external returns (bool) { require(_owner == msg.sender); _owner = to; return true; } } (Ethereum) — (1) — 2018-07-11 – p.30/39
(Ethereum) — (1) — 2018-07-11 – p.31/39
4. (Ethereum) — (1) — 2018-07-11 – p.32/39
ADEPT ADEPT : IBM IoT (Ethereum) — (1) — 2018-07-11
– p.33/39
(Ethereum) — (1) — 2018-07-11 – p.34/39
⇒ (Ethereum) — (1) — 2018-07-11 – p.35/39
The DAO ( ) The DAO Split ( ) 360
ETH (50∼60 ) (2016/6/17) ( ) ( ; ) (2016/7/20 ) (Ethereum) — (1) — 2018-07-11 – p.36/39
5. (Ethereum) — (1) — 2018-07-11 – p.37/39
Greeter.sol “deploy.py” __main__ Greeter 0x & $ python deploy.py (Ethereum)
— (1) — 2018-07-11 – p.38/39
I : ERC20 ∼ ∼ (Ethereum) — (1) — 2018-07-11
– p.39/39