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
ブロックチェーン概論とインストール大会 / Introduction to Blockchai...
Search
Kenji Saito
PRO
October 10, 2025
Technology
0
10
ブロックチェーン概論とインストール大会 / Introduction to Blockchain and Installation Workshop
慶應義塾大学大学院メディアデザイン研究科「サービスデザインプロジェクトB」2025秋 第2回にて使用したスライドです。
Kenji Saito
PRO
October 10, 2025
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
スマートコントラクトデザイン / Smart Contract Design
ks91
PRO
0
5
FinTech 7-8 : Blockchain
ks91
PRO
0
70
スマートコントラクトプログラミング / Smart Contract Programming
ks91
PRO
0
19
AI が研究する時代に、人はどう育つのか? — GAMER PAT にみる "シリアスゲームとしての知的訓練" / In an era where AI conducts research, how will humans develop? — "Intellectual Training as a Serious Game" Seen in GAMER PAT
ks91
PRO
0
51
FinTech 5-6 : The World of Apps
ks91
PRO
0
100
生成AI による論文執筆サポート・ワークショップ ─ サーベイ/リサーチクエスチョン編 / Workshop on AI-Assisted Paper Writing Support: Survey/Research Question Edition
ks91
PRO
0
81
FinTech 3-4 : Internet Technology and Governance
ks91
PRO
0
83
民主主義と博愛(Humanitarianism) / Democracy and Humanitarianism
ks91
PRO
0
15
ブロックチェーン概論 / Introduction to Blockchain
ks91
PRO
0
19
Other Decks in Technology
See All in Technology
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
150
Dify on AWS 環境構築手順
yosse95ai
0
150
What's new in OpenShift 4.20
redhatlivestreaming
0
330
組織全員で向き合うAI Readyなデータ利活用
gappy50
4
1.4k
Azure Well-Architected Framework入門
tomokusaba
1
140
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
310
re:Inventに行くまでにやっておきたいこと
nagisa53
0
640
GraphRAG グラフDBを使ったLLM生成(自作漫画DBを用いた具体例を用いて)
seaturt1e
1
160
AIエージェントによる業務効率化への飽くなき挑戦-AWS上の実開発事例から学んだ効果、現実そしてギャップ-
nasuvitz
5
1.4k
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
140
入院医療費算定業務をAIで支援する:包括医療費支払い制度とDPCコーディング (公開版)
hagino3000
0
120
知覚とデザイン
rinchoku
1
620
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.7k
Scaling GitHub
holman
463
140k
YesSQL, Process and Tooling at Scale
rocio
173
15k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
How GitHub (no longer) Works
holman
315
140k
Agile that works and the tools we love
rasmusluckow
331
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Visualization
eitanlees
149
16k
Typedesign – Prime Four
hannesfritz
42
2.8k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Music & Morning Musume
bryan
46
6.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Transcript
generated by Stable Image Ultra B 2025 2 ( )
B 2025 — 2 — 2025-10-13 – p.1/58
https://speakerdeck.com/ks91/collections/service-design-project-b-2025-fall ( ) ( ) Discord Discord ( / /
) Zoom URL ( ) B 2025 — 2 — 2025-10-13 – p.2/58
( ) 1 10 6 • 2 10 13 •
3 10 20 4 10 27 2 5 11 10 1 6 11 24 2 7 12 1 8 12 8 ( ) Discord B 2025 — 2 — 2025-10-13 – p.3/58
1. ( ) 2. Ethereum 3. B 2025 — 2
— 2025-10-13 – p.4/58
4 ( ) ( ) ( ; ) ( )
B 2025 — 2 — 2025-10-13 – p.5/58
( ) ೖྗ σδλϧͳΒԿͰΑ͍σʔλͷू߹ ແݶ ग़ྗ CJU ͳͲݻఆͷͷू߹ ༗ݶ ग़ྗʮμΠδΣετʯͱݺΕΔ
খ ͞ ͍ ॱ ʹ ฒ Μ Ͱ ͍ Δ ͱ ͠ ͯ খ ͞ ͍ ॱ ʹ ฒ Μ Ͱ ͍ Δ ͱ ͠ ͯ 4)"ͳͲͷؔ 4)"4FDVSF)BTI"MHPSJUIN Ұ༷ʹ ϋογϡؔͷੑ࣭ ภͬͯ Ϛοϐϯάʹ๏ଇੑ͕ແ͍Α͏ʹݟ͑ɺ ˠͷํʹ҆ՁʹܭࢉͰ͖Δ͕ɺ ٯͷํʹܭࢉͰ͖ͳ͍ Ұํੑ ҉߸ֶతϋογϡؔͷੑ࣭ ແݶΛ༗ݶʹϚοϐϯά͢ΔͷͰɺҟͳΔೖྗ͕ ಉ͡ग़ྗ݁ՌʹͳΔ߹͘͝رʹ͋Δ িಥ িಥ ͤ͞Δํ๏ ͕ݟ͔ͭͬͨ҉߸ֶతϋογϡ ؔ҆શͱݟͳ͞Εͳ͍ B 2025 — 2 — 2025-10-13 – p.6/58
( ) ൿີ伴 伴ϖΞ ͋Β͔͡Ί ੜ ൿີʹӅ࣋ͭ͠ ͋Β͔͡Ί͓͍ͯͯ͠Α͍ ॺ໊Λ࡞ͬͨͷެ։伴ʹ ରԠ͢Δൿີ伴Λ͑Δ୭
͔ ͢ͳΘͪॺ໊ऀ ͩ͠ɺ ݩͷσʔλॺ໊ޙCJU มΘͬ ͍ͯͳ͍ ͜ͷΈ͕ਖ਼͘͠ಈ࡞͢ΔͨΊʹɺ ड͚औͬͨެ։伴͕ຊʹॺ໊ऀͷͷ Ͱ͋Δͱ͍͏ԿΒ͔ͷূ໌͕ඞཁ ʲॺ໊ΞϧΰϦζϜʳ ೖྗݩͷσʔλɺ ൿີ伴 ग़ྗॺ໊ ʲॺ໊ݕূΞϧΰϦζϜʳ ೖྗݩͷσʔλɺ ॺ໊ɺ ެ։伴 ग़ྗ0,·ͨ/( ެ։伴 ॺ໊ऀ ॺ໊ ΞϧΰϦζϜ ॺ໊ݕূ ΞϧΰϦζϜ 0, ·ͨ /( Πϯλʔωοτ ݕূऀ ެ ެ։ ։伴 伴 ެ։ ެ։伴 ެ ެ։ ։伴 伴 ݩͷ σʔλ ݩͷ σʔλ ॺ໊ ॺ໊ B 2025 — 2 — 2025-10-13 – p.7/58
ϒϩοΫ O ࣌ؒ ϒϩοΫϔομʔ ͍ΖΜͳใ͕ೖ͍ͬͯΔ ϒϩοΫ O ͷ μΠδΣετ औҾ
σʔλ ެ։伴 ˍॺ໊ औҾ σʔλ ެ։伴 ˍॺ໊ औҾ σʔλ ެ։伴 ˍॺ໊ ʜʜ ϒϩοΫ O ϒϩοΫϔομʔ ͍ΖΜͳใ͕ೖ͍ͬͯΔ ϒϩοΫ O ͷ μΠδΣετ औҾ σʔλ ެ։伴 ˍॺ໊ औҾ σʔλ ެ։伴 ˍॺ໊ औҾ σʔλ ެ։伴 ˍॺ໊ ʜʜ ϒϩοΫͷμΠδΣετ ͦͷϒϩοΫΛҰҙʹࣔ͢ ࣝผࢠͱͯ͠༻͍ΒΕΔ औҾσʔλͷআͰϒϩοΫͷ ༰͕มΘΕɺͦͷμΠδΣετ มΘΔͷͰɺໃ६͕ੜ͡Δ औҾσʔλʹૹ৴ऀͷσδλϧ ॺ໊͕͍͍ͯΔͷͰվ͟Μ ࠔ͕ͩɺऔҾσʔλΛؙ͝ͱ আ͢Δ͜ͱͰ͖Δ ࣍ͷϒϩοΫʹμΠδΣετ͕ ֨ೲ͞Ε͍ͯΔ͜ͱͰɺखલͷ ϒϩοΫͷ༰ϩοΫ͞Εͯ ͍Δͱݴ͑Δ͕ʜ ܨ͕͍ͬͯΔϒϩοΫͷϔομʔ ͷதͷμΠδΣετΛ࣍ʑͱॻ͖ ͍͚͑ͯໃ६ͳ͘վ͟ΜͰ͖ ΔͷͰɺϒϩοΫΛ࡞Δ͜ͱࣗମ ʹେ͖ͳίετΛඞཁʹͯ͠कΔ Proof of Work ( ) : ( ) Proof of Stake ( ) : B 2025 — 2 — 2025-10-13 – p.8/58
( : ) ( : ) ← NFT 4 ⇒
B 2025 — 2 — 2025-10-13 – p.9/58
(Confidentiality) 4 ( 4 ) ↑ ( = ) (Integrity)
(Availability) B 2025 — 2 — 2025-10-13 – p.10/58
2009 ↑ 16 ( 5 ) B 2025 — 2
— 2025-10-13 – p.11/58
( ) ADR (Active (space) Debris Removal) : https://doi.org/10.1109/TCSS.2018.2890655 1
(11/17 ) (1930 ) ( ) B 2025 — 2 — 2025-10-13 – p.12/58
( ) ( ) ( ) B 2025 — 2
— 2025-10-13 – p.13/58
( ) ( - ) : https://doi.org/10.1016/j.future.2019.05.019 B 2025 —
2 — 2025-10-13 – p.14/58
( ) ( ) ( ) B 2025 — 2
— 2025-10-13 – p.15/58
( ) B 2025 — 2 — 2025-10-13 – p.16/58
/ ( ) ( ) ( ) ( ) B
2025 — 2 — 2025-10-13 – p.17/58
( ) ( ) ( ) B 2025 — 2
— 2025-10-13 – p.18/58
( ) : https://www.lij.jp/html/jli/jli_2017/ 2017summer_p018.pdf B 2025 — 2 —
2025-10-13 – p.19/58
( ) ( ) B 2025 — 2 — 2025-10-13
– p.20/58
B 2025 — 2 — 2025-10-13 – p.21/58
with ( ) ( ) : https://doi.org/10.1016/j.icte.2021.08.012 ( ) B
2025 — 2 — 2025-10-13 – p.22/58
DNS : https://ieeexplore.ieee.org/document/9686409 ( ) IP AS B 2025 —
2 — 2025-10-13 – p.23/58
( ) ( ) : https://ieeexplore.ieee.org/document/9686409 ( ) : https://doi.org/10.1016/j.icte.2021.08.012
(web ) B 2025 — 2 — 2025-10-13 – p.24/58
( ) ( ) ( ) : https://doi.org/10.1016/j.icte.2021.08.012 ( )
( ) ( ) : https://ieeexplore.ieee.org/document/9686409 1 (9/30 ) B 2025 — 2 — 2025-10-13 – p.25/58
( ) ( ) : https://ieeexplore.ieee.org/document/9686409 3D ( ) :
: (9/30 ) HACCP ( ) B 2025 — 2 — 2025-10-13 – p.26/58
— τʔΫϯ ସ՟ฎ εϚʔτίϯτϥΫτ ݕূՄೳͳঢ়ଶϚγϯ ϓϩϏφϯε དྷྺূ໌ ସՄೳ ঈؐෆೳ
ସՄೳ ঈؐՄೳ ସෆೳ ঈؐՄೳ ସෆೳ ঈؐෆೳ ূ໌͢Δ ಉఆ͢Δ ࢧ͍ ࠷ॳͷԠ༻ *%Χʔυ ηΩϡϦςΟ τʔΫϯ ূ݊  ηϯαʔ ྲྀɾ Ҩݴॻ อݥਃ ͢Δ ײ͢Δ தԝۜߦ σδλϧ௨՟ ҭήʔϜ ൿີ伴Λ͑Δ͔Βຊਓʁ ෛ࠴ Ξηοτͷ දݱΛҠసͰ͖Δʁ ొ͞Εͨίʔυͱ ͦͷ࣮ߦϩάͱ݁Ռͷ ਅਖ਼ੑΛ୲อͰ͖Δʁ ݖҖ͕ Կ͔ͷ༰Λূ໌͢Δʁ ࣋ଓ͢Δଘࡏʹ͍ͭͯ هΛΞοϓσʔτՄʁ ओମ͕͍ͳ͘ͳͬͯ աڈͷσʔλ༗ޮʁ /'5 Ұൠతͳ ೝࣝ ػೳͷ ੳ݁Ռ B 2025 — 2 — 2025-10-13 – p.27/58
2. Ethereum macOS (Tahoe 26.0.1) + Homebrew Linux (Ubuntu 24.04)
(x86/AMD64 and ARM) Windows 11 + Windows Subsystem for Linux (Ubuntu ) Ethereum solidity brownie Lima on macOS B 2025 — 2 — 2025-10-13 – p.28/58
macOS : Homebrew (Apple macOS ) UNIX macOS Lima Homebrew
brew Apple brew ( ) brew Rosetta brew brew https://github.com/homebrew/install Path : https://zenn.dev/tet0h/articles/a92651d52bd82460aefb $ which brew /opt/homebrew/bin/brew B 2025 — 2 — 2025-10-13 – p.29/58
macOS : Rosetta 2 Apple x86/AMD64 ( ) $ softwareupdate
--install-rosetta lima Rosetta 2 lima B 2025 — 2 — 2025-10-13 – p.30/58
macOS : Lima macOS Linux ( ) https://github.com/lima-vm/lima QEMU (
) Rosetta 2 Apple x86/AMD64 brew (lima-additional-guestagents ) $ brew install lima Ubuntu 24.04 (x86/AMD64) “kmd.yaml” $ limactl start kmd.yaml B 2025 — 2 — 2025-10-13 – p.31/58
macOS : Lima Linux (Ubuntu) x86_64 $ limactl list Linux
(exit ) $ limactl shell kmd Linux limactl list STATUS Stopped limactl start kmd “.lima” diffdisk 100GB B 2025 — 2 — 2025-10-13 – p.32/58
Solidity Ethereum ( ) http://solidity.readthedocs.io/en/latest/installing-solidity.html Linux (on Windows) “sudo apt”,
macOS “brew” Linux ARM git clone dependencies solc 0.8.30 (10/4 ) $ solc --version brownie py-solc-x solc (dependencies) ( solc py-solc-x ) B 2025 — 2 — 2025-10-13 – p.33/58
Ganache Ethereum RPC npm ( ) macOS https://qiita.com/kyosuke5_20/items/c5f68fc9d89b84c0df09 Linux https://qiita.com/seibe/items/36cef7df85fe2cefa3ea
npm Ganache $ sudo npm install -g ganache B 2025 — 2 — 2025-10-13 – p.34/58
Python3 macOS $ brew install python3 Python 3.8 Homebrew $
brew uninstall --ignore-dependencies
[email protected]
$ brew install
[email protected]
/usr/local/opt/
[email protected]
/bin/python3 Linux ( python3.12.3 OK) $ sudo apt update $ sudo apt install python3-dev python3-venv python3-tk 16.10 python3(.8) apt (PPA ) python3 python3-dev python3-venv python3-tk B 2025 — 2 — 2025-10-13 – p.35/58
macOS : . . . macOS wget brew dyld: Library
not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib $ brew uninstall --force gettext $ brew install gettext B 2025 — 2 — 2025-10-13 – p.36/58
Python (venv) macOS (Linux python3 ) OK Python $ python3
-m venv bbc2env $ source bbc2env/bin/activate (bbc2env) $ pip install -U pip bbc2env ( BBc-2 ) ( ) (bbc2env) $ deactivate B 2025 — 2 — 2025-10-13 – p.37/58
Brownie Python Ethereum https://eth-brownie.readthedocs.io Brownie $ pip install eth-brownie version
1.21.0 (10/4 ) $ pip install setuptools setuptools B 2025 — 2 — 2025-10-13 – p.38/58
$ brownie init ( ERC-20 ) $ brownie bake token
$ cd token B 2025 — 2 — 2025-10-13 – p.39/58
contracts (macOS Linux (x86/AMD64) ) $ brownie compile Linux (ARM)
(AMD64 ) $ python # >>> import solcx >>> solcx.compile_solc(’0.6.12’) # >>> quit() /tmp ∼/.solcx/solc-v0.6.12 ( ) $ pytest tests B 2025 — 2 — 2025-10-13 – p.40/58
Brownie $ brownie console Python >>> len(accounts) 10 >>> accounts[0].balance()
100000000000000000000 >>> quit() B 2025 — 2 — 2025-10-13 – p.41/58
3. Ethereum Sepolia B 2025 — 2 — 2025-10-13 –
p.42/58
infura.io Brownie https://infura.io SIGN UP PROJECT ID infura Ethereum API
infura . . . infura.io PROJECT ID WEB3_INFURA_PROJECT_ID PROJECT ID (∼/.bash_profile ) $ export WEB3_INFURA_PROJECT_ID= PROJECT ID B 2025 — 2 — 2025-10-13 – p.43/58
Sepolia ETH brownie console Sepolia >>> network.disconnect() >>> network.connect(’sepolia’) >>>
len(accounts) 0 >>> accounts.add() <LocalAccount object ’ 16 ’> >>> accounts[0].private_key 16 >>> quit() Sepolia Testnet ETH Faucet ETH https://sepoliafaucet.com ( ) ( ) https://metamask.io/ B 2025 — 2 — 2025-10-13 – p.44/58
Sepolia ETH brownie console Sepolia ETH >>> network.disconnect() >>> network.connect(’sepolia’)
>>> len(accounts) 0 >>> accounts.add( 16 ) <LocalAccount object ’ 16 ’> >>> accounts[0].balace() ETH >>> quit() ETH >>> accounts[0].transfer(accounts[1], "0.01 ether") B 2025 — 2 — 2025-10-13 – p.45/58
: Ethereum B 2025 — 2 — 2025-10-13 – p.46/58
Ethereum Vitalik Buterin, “Ethereum White Paper: A NEXT GENERATION SMART
CONTRACT & DECENTRALIZED APPLICATION PLATFORM” 12 (= ) = ⇒ → Dapps ( / / ) B 2025 — 2 — 2025-10-13 – p.47/58
( ) B 2025 — 2 — 2025-10-13 – p.48/58
. . . B 2025 — 2 — 2025-10-13 –
p.49/58
vs. B 2025 — 2 — 2025-10-13 – p.50/58
= run B 2025 — 2 — 2025-10-13 – p.51/58
Ether Ethereum EOA : Externally-Owned Account ( ) Ether EVM
EVM B 2025 — 2 — 2025-10-13 – p.52/58
EVM : Ethereum Virtual Machine ঢ়ଶ ֎෦ΞΫλʔ ΞΧϯτ &7. ίʔυ
&UIFSˠ(BT ىಈ ίϯτϥΫτ ϝοηʔδ͔ɺ৽͍ࣗ͠ಈΦϒδΣΫτ ΞΧϯτؒͰΓऔΓ͞ΕΔσʔλ&UIFS ετϨʔδ ঢ়ଶ` τϥϯβΫγϣϯ ηοτ σδλϧॺ໊ &7. ਓؒͱ͔ ࣗಈ ΦϒδΣΫτ Gas ( EVM = ( burn)) . . . B 2025 — 2 — 2025-10-13 – p.53/58
EVM : : ← : Solidity — JavaScript LLL —
Lisp Vyper — Python Fe — Vyper Rust ← NEW! Solidity Vyper Python B 2025 — 2 — 2025-10-13 – p.54/58
Solidity ( ) pragma solidityˆ0.7.0; contract IndivisibleAsset { /* */
string public _name; string public _symbol; uint256 public _quantity; address public _owner; constructor(string memory name, string memory symbol, uint256 quantity) public { _name = name; _symbol = symbol; _quantity = quantity; _owner = msg.sender; } function transfer(address to) public returns (bool) { require (_owner == msg.sender); _owner = to; return true; } } B 2025 — 2 — 2025-10-13 – p.55/58
( , ) (constructor) (deploy) = ( ) ( )
ETH Trusted Actor Model B 2025 — 2 — 2025-10-13 – p.56/58
Ethereum B 2025 — 2 — 2025-10-13 – p.57/58
B 2025 — 2 — 2025-10-13 – p.58/58