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
52
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
42
Tokyo ENS Meetup 2023 June
makoto_inoue
0
40
ENS for your community
makoto_inoue
0
180
ENS for the multi chain world @ EthPorto 2023
makoto_inoue
0
160
ENS on Starknet at StarkWare Session
makoto_inoue
0
48
Ethcc: The State of ENS 2022
makoto_inoue
0
150
EthShanghai ENS integration workshop - May 2022
makoto_inoue
0
130
ENS Integration workshop @ nfthack
makoto_inoue
0
44
ENS as your web3 username
makoto_inoue
0
340
Other Decks in Technology
See All in Technology
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
200
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
350
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
2
460
本当のAWS基礎
toru_kubota
0
510
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
MapLibreとAmazon Location Service
dayjournal
1
150
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
160
Janus
bkuhlmann
1
490
日本におけるデータエンジニアリングのこれまでとこれから
foursue
16
4.2k
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
900
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
Done Done
chrislema
178
15k
Typedesign – Prime Four
hannesfritz
36
2.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
How to Ace a Technical Interview
jacobian
272
22k
Visualization
eitanlees
136
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
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://