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
2
ブロックチェーン概論とインストール大会 / 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
FinTech 3-4 : Internet Technology and Governance
ks91
PRO
0
46
民主主義と博愛(Humanitarianism) / Democracy and Humanitarianism
ks91
PRO
0
2
ブロックチェーン概論 / Introduction to Blockchain
ks91
PRO
0
6
ブロックチェーンと分散ファイナンス概論 / Introduction to Blockchain and Decentralized Finance
ks91
PRO
0
53
Proof of Authenticity of General IoT Information with Tamper-Evident Sensors and Blockchain
ks91
PRO
0
5
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
15
デジタルトランスフォーメーションと民主主義 / Digital Transformation and Democracy
ks91
PRO
0
19
We Never Took the Kobayashi Maru Test Until Now. What Do You Think of Our Solutions? — Journeys of the Mind Through a No-Win Game
ks91
PRO
0
24
思いつきが武器になる:研究というゲームを始めよう / Ideas Are Your Equipments : Let the Game of Research Begin!
ks91
PRO
0
79
Other Decks in Technology
See All in Technology
How to achieve interoperable digital identity across Asian countries
fujie
0
120
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
0
130
SREとソフトウェア開発者の合同チームはどのようにS3のコストを削減したか?
muziyoshiz
1
100
バイブコーディングと継続的デプロイメント
nwiizo
2
440
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
6
3.7k
PLaMo2シリーズのvLLM実装 / PFN LLM セミナー
pfn
PRO
2
1k
AI駆動開発を推進するためにサービス開発チームで 取り組んでいること
noayaoshiro
0
220
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
11
78k
Access-what? why and how, A11Y for All - Nordic.js 2025
gdomiciano
1
120
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
5.5k
20250929_QaaS_vol20
mura_shin
0
130
実装で解き明かす並行処理の歴史
zozotech
PRO
1
530
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Side Projects
sachag
455
43k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
It's Worth the Effort
3n
187
28k
The World Runs on Bad Software
bkeepers
PRO
71
11k
Become a Pro
speakerdeck
PRO
29
5.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Documentation Writing (for coders)
carmenintech
75
5k
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