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 Exercise III
Search
Kenji Saito
PRO
April 27, 2022
Technology
0
140
BBc-1 と Ethereum 演習 III / BBc-1 and Ethereum Exercise III
2022年4月27日(水)、ブロックチェーンハブ主催のブロックチェーンアカデミーにて使用したスライドです。
Kenji Saito
PRO
April 27, 2022
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
120
LLM とプロンプトエンジニアリング/チューターをビルドする / LLM and Prompt Engineering and Building Tutors
ks91
PRO
0
250
講師自己紹介 / Lecturer's Self-Introduction
ks91
PRO
0
82
講師研究紹介 / Lecturer's Research Introduction
ks91
PRO
0
67
Discord とビルダー&チャットボットの使い方 / How to use Discord and Builder & Chatbots
ks91
PRO
0
160
研究って何だっけ / What's Research?
ks91
PRO
0
27
ブロックチェーンと分散ファイナンス概論 / Introduction to Blockchain and Decentralized Finance
ks91
PRO
0
18
招き猫コマロ— ネットワーク贈答経済のエージェント / Manekineko Komaro - Network Gift Economy Agent
ks91
PRO
0
17
Implementation of Blockchain Ecosystems
ks91
PRO
0
12
Other Decks in Technology
See All in Technology
JAWS-UG Bedrock Claude Night
yamahiro
3
610
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
3
200
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.3k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
530
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
2
720
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
120
反実仮想機械学習とは何か
usaito
PRO
11
4.7k
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
ChatGPT for IT Service Management (IT Pro)
dahatake
7
1.6k
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
240
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
Featured
See All Featured
Debugging Ruby Performance
tmm1
70
11k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
A Modern Web Designer's Workflow
chriscoyier
689
190k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Making Projects Easy
brettharned
108
5.5k
Gamification - CAS2011
davidbonilla
76
4.6k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
4 Signs Your Business is Dying
shpigford
175
21k
Music & Morning Musume
bryan
41
5.6k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Transcript
4 BBc-1 Ethereum III CSO /
[email protected]
— 4 BBc-1
Ethereum III — 2022-04-27 – p.1/26
https://speakerdeck.com/ks91 — 4 BBc-1 Ethereum III — 2022-04-27 – p.2/26
( ) SFC ( ) CSO (Chief Science Officer) 1993
( ) 2006 ( ) SFC 21 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) ) → ( ) — 4 BBc-1 Ethereum III — 2022-04-27 – p.3/26
BBc-1 Ethereum 4 NFT DAO — 4 BBc-1 Ethereum III
— 2022-04-27 – p.4/26
1. NFT DAO 2. : NFT 3. : DAO 4.
— 4 BBc-1 Ethereum III — 2022-04-27 – p.5/26
NFT DAO DeFi ( ) — 4 BBc-1 Ethereum III
— 2022-04-27 – p.6/26
( ) = = : . . . ( :
) ( ) . . . . . . . . . . . . — 4 BBc-1 Ethereum III — 2022-04-27 – p.7/26
⇒ ( ) . . . . . . —
4 BBc-1 Ethereum III — 2022-04-27 – p.8/26
DeFi ( ) DeFi : Decentralized Finace — 4 BBc-1
Ethereum III — 2022-04-27 – p.9/26
NFT ( ) NFT : Non-Fungible Token ( ) (1
) → fungible token ( ) → NFT — 4 BBc-1 Ethereum III — 2022-04-27 – 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-04-27 – 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-04-27 – 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-04-27 – p.13/26
: NFT — 4 BBc-1 Ethereum III — 2022-04-27 –
p.14/26
NFT Linux (Ubuntu 20.04.4) Python3 + eth-brownie 1.18.1 (Python Ethereum
) $ brownie bake nft nft ( ) contracts SimpleCollectible.sol ERC-721 — 4 BBc-1 Ethereum III — 2022-04-27 – 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-04-27 – 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-04-27 – p.17/26
NFT < , ID> ERC-721 OK NFT . . .
ID → NFT ID NFT NFT URL . . . URL . . . →NFT — 4 BBc-1 Ethereum III — 2022-04-27 – p.18/26
NFT NFT . . . NFT ( ) ↑ ID
. . . — 4 BBc-1 Ethereum III — 2022-04-27 – p.19/26
NFT NFT >>> network.disconnect() # >>> network.connect(’ropsten’) # Ethereum >>>
accounts.add( ) # >>> collectible = SimpleCollectible.deploy({’from’: accounts[0]}) # NFT >>> collectible.createCollectible( ) # NFT ropsten / ( ) “Gas used” Gas Gwei ERC-721a ID 1 — 4 BBc-1 Ethereum III — 2022-04-27 – p.20/26
NFT : ERC-721 NFT NFT (ID) NFT → URI NFT
(ID) URI → NFT ( ) URI → ( ) → ( ) NFT NFT NFT — 4 BBc-1 Ethereum III — 2022-04-27 – p.21/26
: DAO — 4 BBc-1 Ethereum III — 2022-04-27 –
p.22/26
DAO (1) ( ) (2) (3) . . . (a)
( ) (b) ( ) https://medium.com/@omniscia.io/beanstalk-farms-post-mortem-analysis-a0667ee0ca9d — 4 BBc-1 Ethereum III — 2022-04-27 – 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-04-27 – p.24/26
— 4 BBc-1 Ethereum III — 2022-04-27 – p.25/26
— 4 BBc-1 Ethereum III — 2022-04-27 – p.26/26