-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENS support in address field #90
Comments
Give me a few days and I'll pick this up |
Strange times ahead :) |
As a user I would like to be able to enter an ENS address and it will resolve the associated on-chain ethereum address with its source code and metadata. If such an entry already exists in the repository notify the user, otherwise prompt the user to upload said files to IPFS and verify. To achieve this we will need to interact with the ENS resolver contract on a given chain. This mapping could be maintained in the front-end. Once we have the address, check it's runtime bytecode against entries in the A consideration is that this will only work for TLD if my understanding is correct? Furthermore is it necessary to have the user upload these files, or would a better approach is to leverage this EIP, ensuring that the retrieved ABI hash is already pinned to IPFS. I believe the source code would still need to be provided though... I'll get started mocking up the UI, hopefully I'm thinking about this the right way |
ah good that we talked about it ;-) |
I think we are speaking of similar things for the ENS resolution, and agree that's the best place to start. Do you think that verifying the on-chain bytecode against what is already inside the database to be a fruitful check? The reasoning behind this was so that we could prevent duplicate contracts being added to the database i.e two of the same runtime bytecodes would map to a 0x address and ENS name and would be treated as separate entities |
AFAIK duplication cannot happen for exact matches which we only support currently. It might become an issue when partial matches are supported |
Great suggestion on twitter: https://twitter.com/gh1dra/status/1239962423341322241
View in Huly HI-427
The text was updated successfully, but these errors were encountered: