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
ENS at WindingTree hackathon
Search
Makoto Inoue
November 05, 2019
Technology
0
56
ENS at WindingTree hackathon
Makoto Inoue
November 05, 2019
Tweet
Share
More Decks by Makoto Inoue
See All by Makoto Inoue
ENS beyond Web3
makoto_inoue
0
120
Tokyo ENS Meetup 2023 June
makoto_inoue
0
87
ENS for your community
makoto_inoue
0
310
ENS for the multi chain world @ EthPorto 2023
makoto_inoue
0
200
ENS on Starknet at StarkWare Session
makoto_inoue
0
120
Ethcc: The State of ENS 2022
makoto_inoue
0
290
EthShanghai ENS integration workshop - May 2022
makoto_inoue
0
170
ENS Integration workshop @ nfthack
makoto_inoue
0
86
ENS as your web3 username
makoto_inoue
0
400
Other Decks in Technology
See All in Technology
Rustから学ぶ 非同期処理の仕組み
skanehira
1
150
Claude Code でアプリ開発をオートパイロットにするためのTips集 Zennの場合 / Claude Code Tips in Zenn
wadayusuke
5
1.8k
IoT x エッジAI - リアルタイ ムAI活用のPoCを今すぐ始め る方法 -
niizawat
0
120
「その開発、認知負荷高すぎませんか?」Platform Engineeringで始める開発者体験カイゼン術
sansantech
PRO
2
860
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
350
まずはマネコンでちゃちゃっと作ってから、それをCDKにしてみよか。
yamada_r
2
120
AIエージェントで90秒の広告動画を制作!台本・音声・映像・編集をつなぐAWS最新アーキテクチャの実践
nasuvitz
3
360
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
270
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.3k
LLM時代のパフォーマンスチューニング:MongoDB運用で試したコンテキスト活用の工夫
ishikawa_pro
0
170
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
490
AIがコード書きすぎ問題にはAIで立ち向かえ
jyoshise
1
210
Featured
See All Featured
Gamification - CAS2011
davidbonilla
81
5.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Why Our Code Smells
bkeepers
PRO
339
57k
YesSQL, Process and Tooling at Scale
rocio
173
14k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Transcript
None
- Dev at @ensdomains - Organiser @ London Ethereum Codeup
- C-founder @wearekickback
Show us what you hacked !! https://kickback.events/events
Agenda - 1. What can you do with ENS? -
2. ENS contracts and API overview - 3. ENS + IPFS = Decentralised Web!
1: What can you do with ENS?
0x5a384227b65fa093dec...
matoken.eth
ENS is your identity!
ENS is your brand! https://medium.com/the-ethereum-name-service/ens-domain-rankings-the-most-subdomains-3b4fc8afe35b
ENS is Asset (Non Fungible Token) https://opensea.io/rankings
ENS is NFT https://opensea.io/rankings
ENS has lots of data https://thegraph.com/explorer/subgraph/ensdomains/ens
More than Ethereum Address
More than Blockchain Address
2. ENS contract and API overview
Read the doc! (https://docs.ens.domains )
ENS Architecture
Contract MyResolver { address me; function MyResolver() { me =
msg.sender; } function addr(bytes32 node) constant returns (address) { return me; } } ENS by example: Resolvers
Resolving a name
Looking up names const address = await ens.resolver(‘arachnid.eth’).addr();
Reverse resolution const addr = ‘0x112234455...’ const name = await
ens.reverse(‘0x112234455...’).name() //for security const forward = await ens.resolver(name) if(addr === forward){ …. }
Setting up reverse resolution reverseRegistrar.setName(‘jefflau.eth’)
Putting them altogether
3: ENS + IPFS = Decentralised Web!
FAQ: Can you host website on ENS?
A: Ish...
At ENS workshop 7/10: 13:45
At ENS workshop 7/10: 13:45
At ENS workshop 7/10: 13:45
Dapp + ENS - Donation to a multisig account -
Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
Dapp + ENS + IPFS - Donation to a multisig
account - Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
Dapp + ENS + IPFS + DNS - Donation to
a multisig account - Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS! https://medium.com/the-ethereum-name-service/ethdns-9d56298fa38a
- Deploying your Dapp/Dweb to IPFS - Assigning ENS to
IPFS - Setting URL with EthDNS
1. Deploying your Dapp/Dweb to IPFS
yarn build
Ipfs add -r build
Pin the hash
2. Assigning ENS to IPFS
- $5 / y - Commit & Reveal Buy a
domain At app.ens.domains
- Free - On Rinkeby/Ropsten/Goerli Claim a test domain At
app.ens.domains
Configure - Registrant - Controller - Resolver
Setting up Ethereum Address
Not just for Ethereum hex addresses
Setting text
Setting ipfs content
Setting ipfs content
Contenthash support (EIP1577) http://eips.ethereum.org/EIPS/eip-1577 • • •
EIP1577
Multicodec
Accessing ipfs content
Accessing ipfs content
Accessing ipfs content
None
None
Add message
Query via graphQL
Wedding message on the blockchain!
How does it work?
• • • Why EthDNS?
None
Automatic dnslink support • • •
Public IPFS gateways • • •
ifps.io/ipns/matoken.eth.link • • •
ifps.jes.xxx/ipns/matoken.eth.link • • •
eu.siderus.io/ipns/matoken.eth.link • • •
ifps.ethereum.io/ipns/matoken.eth.link • • •
For more info • https://www.wealdtech.com/articles/ethdns-an-ethereum-backend-for-the-domain-name-system/ • https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1577.md • https://github.com/mcdee/coredns •
http://ensmanager.matoken.eth.link • https://medium.com/the-ethereum-name-service/how-to-host-your-dapp-with-ipfs-ens-and-access-it-via-ethdns-c96046059d87 • https://medium.com/the-ethereum-name-service/ethdns-9d56298fa38a • http://discuss.ens.domains • https://app.ens.domains/
Show us what you hacked !!
http://