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
BBc-1 と Ethereum 演習 III / BBc-1 and Ethereum Ex...
Search
Kenji Saito
PRO
October 05, 2022
Technology
0
51
BBc-1 と Ethereum 演習 III / BBc-1 and Ethereum Exercise III
2022年10月5日(水)、ブロックチェーンハブ主催のブロックチェーンアカデミーにて使用したスライドです。
Kenji Saito
PRO
October 05, 2022
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
スマートコントラクトデザイン / Smart Contract Design
ks91
PRO
0
6
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
58
FinTech 5-6 : The World of Apps
ks91
PRO
0
110
生成AI による論文執筆サポート・ワークショップ ─ サーベイ/リサーチクエスチョン編 / Workshop on AI-Assisted Paper Writing Support: Survey/Research Question Edition
ks91
PRO
0
82
ブロックチェーン概論とインストール大会 / Introduction to Blockchain and Installation Workshop
ks91
PRO
0
11
FinTech 3-4 : Internet Technology and Governance
ks91
PRO
0
83
民主主義と博愛(Humanitarianism) / Democracy and Humanitarianism
ks91
PRO
0
19
Other Decks in Technology
See All in Technology
Open Table Format (OTF) が必要になった背景とその機能 (2025.10.28)
simosako
2
480
猫でもわかるAmazon Q Developer CLI 解体新書
kentapapa
1
150
ヘンリー会社紹介資料(エンジニア向け) / company deck for engineer
henryofficial
0
420
激動の時代を爆速リチーミングで乗り越えろ
sansantech
PRO
1
170
AIプロダクトのプロンプト実践テクニック / Practical Techniques for AI Product Prompts
saka2jp
0
120
ViteとTypeScriptのProject Referencesで 大規模モノレポのUIカタログのリリースサイクルを高速化する
shuta13
3
230
生成AI時代のPythonセキュリティとガバナンス
abenben
0
150
DMMの検索システムをSolrからElasticCloudに移行した話
hmaa_ryo
0
260
AIでデータ活用を加速させる取り組み / Leveraging AI to accelerate data utilization
okiyuki99
6
1.4k
プレイドのユニークな技術とインターンのリアル
plaidtech
PRO
1
500
SRE × マネジメントレイヤーが挑戦した組織・会社のオブザーバビリティ改革 ― ビジネス価値と信頼性を両立するリアルな挑戦
coconala_engineer
0
300
進化する大規模言語モデル評価: Swallowプロジェクトにおける実践と知見
chokkan
PRO
1
180
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Six Lessons from altMBA
skipperchong
29
4k
Rails Girls Zürich Keynote
gr2m
95
14k
Designing for humans not robots
tammielis
254
26k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Fireside Chat
paigeccino
41
3.7k
Typedesign – Prime Four
hannesfritz
42
2.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Code Review Best Practice
trishagee
72
19k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Transcript
4 BBc-1 Ethereum III CSO /
[email protected]
— 4 BBc-1
Ethereum III — 2022-10-05 – p.1/26
https://speakerdeck.com/ks91 — 4 BBc-1 Ethereum III — 2022-10-05 – p.2/26
( ) SFC ( ) CSO (Chief Science Officer) 1993
( ) 2006 ( ) SFC 22 P2P (Peer-to-Peer) 2011 ( ) 2018 2019 VR 2021.7 VR 2021.8 “ALL THESE WORLDS ARE YOURS” VR 2021.9 & VR 2021.12 VR 2022.3 VR 2022.8 → ( ) — 4 BBc-1 Ethereum III — 2022-10-05 – p.3/26
BBc-1 Ethereum 4 NFT DAO — 4 BBc-1 Ethereum III
— 2022-10-05 – p.4/26
1. NFT DAO 2. : NFT 3. : DAO 4.
— 4 BBc-1 Ethereum III — 2022-10-05 – p.5/26
NFT DAO DeFi ( ) — 4 BBc-1 Ethereum III
— 2022-10-05 – p.6/26
( ) = = : . . . ( :
) ( ) . . . . . . . . . . . . — 4 BBc-1 Ethereum III — 2022-10-05 – p.7/26
⇒ ( ) . . . . . . —
4 BBc-1 Ethereum III — 2022-10-05 – p.8/26
DeFi ( ) DeFi : Decentralized Finace — 4 BBc-1
Ethereum III — 2022-10-05 – p.9/26
NFT ( ) NFT : Non-Fungible Token ( ) (1
) → fungible token ( ) → NFT — 4 BBc-1 Ethereum III — 2022-10-05 – p.10/26
ERC-721 ERC (Ethereum Request for Comments) 721 (721 ) https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
interface ERC721 { function balanceOf(address _owner) external view returns (uint256); function ownerOf(uint256 _tokenId) external view returns (address); function safeTransferFrom(address _from, address _to, uint256 _tokenId, . . .) external payable; : } interface ERC721TokenReceiver { function onERC721Received(.. ., uint256 _tokenId, . . .) external returns(bytes4); } interface ERC721Metadata { function name() external view returns (string _name); function symbol() external view returns (string _symbol); function tokenURI(uint256 _tokenId) external view returns (string); } tokenURI URL ( ) ( ) — 4 BBc-1 Ethereum III — 2022-10-05 – p.11/26
NFT NFT URL Marlinspike, M.: My first impressions of web3
(2022) Web3 . . . URL ↑ NFT → → NFT NFT ↔ NFT — 4 BBc-1 Ethereum III — 2022-10-05 – p.12/26
DAO ( ) DAO : Decentralized Autonomous Organization Vitalik Buterin
(Ethereum ) https://blog.ethereum.org/2014/05/06/daos-dacs-das-and-more-an-incomplete-terminology-guide/ (1) (2) ( ) (3) DAO . . . / — 4 BBc-1 Ethereum III — 2022-10-05 – p.13/26
: NFT — 4 BBc-1 Ethereum III — 2022-10-05 –
p.14/26
NFT Linux (Ubuntu 22.04) Python3 + eth-brownie 1.19.1 (Python Ethereum
) $ brownie bake nft nft ( ) contracts SimpleCollectible.sol ERC-721 — 4 BBc-1 Ethereum III — 2022-10-05 – p.15/26
NFT (1) NFT NFT $ cd nft # nft $
brownie console # eth-brownie (Python ) # ↓ Python >>> network.disconnect() # ( ) >>> network.connect(’mainnet’) # Ethereum >>> collectible = SimpleCollectible.at(’ ’) # >>> collectible.ownerOf(OpenSea NFT ID) # >>> collectible.tokenURI(OpenSea NFT ID) # URL URL URL ( ) — 4 BBc-1 Ethereum III — 2022-10-05 – p.16/26
NFT (2) NFT(?) NFT >>> collectible.ownerOf( NFT ID) # >>>
collectible.ownerOf( NFT ID) # NFT Ethereum Ethereum NFT NFT Ethereum Lazy Minting (?) ( ) ( ) NFT — 4 BBc-1 Ethereum III — 2022-10-05 – p.17/26
NFT < , ID> ERC-721 OK NFT . . .
ID → NFT ID NFT NFT URL . . . URL . . . →NFT — 4 BBc-1 Ethereum III — 2022-10-05 – p.18/26
NFT NFT . . . NFT ( ) ↑ ID
. . . — 4 BBc-1 Ethereum III — 2022-10-05 – p.19/26
NFT NFT >>> network.disconnect() # >>> network.connect(’goerli’) # Ethereum >>>
accounts.add( ) # >>> collectible = SimpleCollectible.deploy({’from’: accounts[0]}) # NFT >>> collectible.createCollectible( ) # NFT goerli / ( ) “Gas used” Gas Gwei ERC-721a ID 1 — 4 BBc-1 Ethereum III — 2022-10-05 – p.20/26
NFT : ERC-721 NFT NFT (ID) NFT → URI NFT
( NFT ) (ID) (URI) → NFT ( ) URI → ( ) → ( ) NFT NFT NFT — 4 BBc-1 Ethereum III — 2022-10-05 – p.21/26
: DAO — 4 BBc-1 Ethereum III — 2022-10-05 –
p.22/26
DAO (1) ( ) (2) (3) . . . (a)
( ) (b) ( ) https://medium.com/coinmonks/beanstalk-exploit-a-simplified-post-mortem-analysis-92e6cdb17ace — 4 BBc-1 Ethereum III — 2022-10-05 – p.23/26
MakerDAO https://docs.makerdao.com/smart-contract-modules/governance-module plot ( ) drop ( ) plot eta
( ) exec ( ) https://github.com/dapphub/ds-chief/blob/master/src/chief.sol https://github.com/dapphub/ds-auth/blob/master/src/auth.sol https://github.com/dapphub/ds-pause/blob/master/src/pause.sol — 4 BBc-1 Ethereum III — 2022-10-05 – p.24/26
— 4 BBc-1 Ethereum III — 2022-10-05 – p.25/26
— 4 BBc-1 Ethereum III — 2022-10-05 – p.26/26