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
50
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
市民科学にAI はどう活用できるか / How AI Can Be Used for Citizen Science
ks91
PRO
0
11
グリーンマイニングが Bitcoin プロトコルに及ぼす影響 / Impact of Green Mining on the Bitcoin Protocol
ks91
PRO
0
18
FinTech 13-14 : Ideathon, Presentations and Conclusions
ks91
PRO
0
55
デザイン相談会 / Design Consultation
ks91
PRO
0
13
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
52
メタ自然選択と製品トレーサビリティー / Meta-Natural Selection and Product Traceability
ks91
PRO
0
8
伝統的金融に呑まれる分散型金融 / Decentralised Finance Engulfed by Traditional Finance
ks91
PRO
0
15
ウェブサービスデザイン 2 / Web Service Design 2
ks91
PRO
0
25
生成AI による論文執筆サポートの手引き(ワークショップ) / A guide to supporting dissertation writing with generative AI (workshop)
ks91
PRO
0
250
Other Decks in Technology
See All in Technology
Terraform Stacks入門 #HashiTalks
msato
0
360
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
190
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
TypeScript、上達の瞬間
sadnessojisan
48
14k
複雑なState管理からの脱却
sansantech
PRO
1
160
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
950
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
AGIについてChatGPTに聞いてみた
blueb
0
130
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
100
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
220
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Ruby is Unlike a Banana
tanoku
97
11k
Navigating Team Friction
lara
183
14k
Designing the Hi-DPI Web
ddemaree
280
34k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
A better future with KSS
kneath
238
17k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
GitHub's CSS Performance
jonrohan
1030
460k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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