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
24
ブロックチェーン概論とインストール大会 / 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
ウェブサービスデザイン 2 / Web Service Design 2
ks91
PRO
0
7
Learning to Govern the Orbital Commons: A Serious Game on Incentivizing Debris Removal
ks91
PRO
0
3
FinTech 13-14 : FinTech Ideathon and Poster
ks91
PRO
0
90
講師自己紹介 / Lecturer Self-Introduction
ks91
PRO
0
18
講師研究紹介 / Lecturer Research Profile
ks91
PRO
0
12
NPO とは何か (を考えるワールドカフェ) / What is an NPO? (A World Café for Reflection)
ks91
PRO
0
70
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
67
AI 前提社会のキャッチ=22 (または私は如何にして民主主義、文書主義、人道的活動...) / Catch-22 in an AI-Premised Society (or How I Came to Democracy, Documentation, Humanitarian Activities...)
ks91
PRO
0
10
ウェブサービスデザイン 1 / Web Service Design 1
ks91
PRO
0
9
Other Decks in Technology
See All in Technology
プロダクト負債と歩む持続可能なサービスを育てるための挑戦
sansantech
PRO
1
1.1k
セキュリティ対策としての PostgreSQL マイナーバージョンアップ
jri_narita
0
110
The Complete Android UI Testing Landscape: From Journey to Traditional Approaches
alexzhukovich
1
120
都市スケールAR制作で気をつけること
segur
0
200
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
45k
AI自動ペンテスト「RapidPen」ご紹介資料
laysakura
0
110
Bedrock のコスト監視設計
fohte
2
250
AI開発の定着を推進するために揃えるべき前提
suguruooki
1
410
IaC を使いたくないけどポリシー管理をどうにかしたい
kazzpapa3
1
170
"なるべくスケジューリングしない" を実現する "PreferNoSchedule" taint
superbrothers
0
110
マルチドライブアーキテクチャ: 複数の駆動力でプロダクトを前進させる
knih
0
11k
機械学習を「社会実装」するということ 2025年冬版 / Social Implementation of Machine Learning November 2025 Version
moepy_stats
4
580
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.3k
Automating Front-end Workflow
addyosmani
1371
200k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
4 Signs Your Business is Dying
shpigford
186
22k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Building an army of robots
kneath
306
46k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
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