This tutorial is how to post website/application on IPFS and link with ENS domains(.eth).
- Try it: http://portalnetwork.eth
If you have any question please contact us for help:
IPFS is a peer-to-peer hypermedia protocol to make the web faster, safer, and more open.
- Manual Install: https://ipfs.io/docs/install/
- IPFS api library(JavaScript): https://github.com/ipfs/js-ipfs-api
ENS is the Ethereum Name Service, a distributed, open, and extensible naming system based on the Ethereum blockchain.
ENS can be used to resolve a wide variety of resources. The initial standard for ENS defines resolution for Ethereum addresses, but the system is extensible by design, allowing more resource types to be resolved in future without the core components of ENS requiring upgrades.
- ENS Document: https://docs.ens.domains/
Using https://manager.ens.domains to set ENS Public Resolver and content with Public Resolver.
Step 1. Link to https://manager.ens.domains, and search ENS which you want to bind with IPFS hash
This is a simple convert tool for convert IPFS hash to hex, link here.
@rhlsthrm I agree, this is unclear.
They are using
0x1da022710df5002339274aadee8d58218e9d6ab5
in the screenshot.That is the same ENS resolver that was set if you set up your domain via the legacy registrar.ens.domains interface.
Hitting the "Use default resolver" button populates
0x5ffc014343cd971b7eb70732021e26c35b744cc4
There is no explanation of what the "default" is - or why it would be preferred to the "default" set via the legacy registrar - or if the new "default" even works for the purposes here.
Briefly comparing the two resolver contracts, the new default is simple a clone of the old default - with the addition of a TEXT record and requisite methods to facilitate that addition.
So, I think either resolver contract would work for the functionality discussed here. This is, however, an unnecessary point of confusion for this exciting new feature. A little additional clarity would go a long way.