Customizable URLs
tfelix opened this issue · comments
Issue
The complex URLs that are required to fetch shops contents and bootstrap the client only app are hard to remeber: https://w3shop.eth.limo/#/s/AQAApLEHgctiognx84w8oPxVTBy_j0R-OQ
It would be nice to have subdomains available for shops to register in a self service like fashon, that allows the redirection towards the actual shop. It could look like https://awesome-shop.w3shop.eth
Solution
- A smart contract could handle the creation of w3shop.eth subdomains for shop owners.
- A special field in the name could hold the hashcode of the shop in question. This should be an immutable field for the user. If this can not be done with ENS a lookup contract could hold the link ENS Name -> shop address
- The subdomain should point its IPFS address to a bootstrap shop that will detect it was loaded by a subdomain and then start the bootstrap prozess: 1. fetch contract via either ENS field lookup or via lookup contract, load the regular bootstrap prozess.
Blockers
- Arbitrum ENS Support - So far ENS only operates on mainnet making the interaction complex as the w3shop lives on Arbitrum. The support for L2 Resolvers first must be solid with documentation.