You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From @3esmit:
Regarding ENS names...
I see that hardcoding the address of ENS Usernames in goerli was needed, but this is wrong. ENS Usernames is a subset of ENS, and ENS will lookup the ENS Usernames contract by looking the controller of stateofus.eth, which is the address that can create subdomains, therefore is ENS Usernames contract with an ABI to register an username.
So, the only thing hardcoded should be ENS address. With that, the app should do it only once at first run a request to find the controller of stateofus.eth and cache this information. The cache needs to be updated only in case estimating gas to registering an username is throwing an exception, than the cache should be updated only once a day until it finds a working address - waku can be used to notify for updates, if coming from an authority (Status devs).
This discussion was converted from issue #13711 on July 14, 2023 10:43.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Bug Report
Problem
Follow up on #13660 (comment)
From @3esmit:
Regarding ENS names...
I see that hardcoding the address of ENS Usernames in goerli was needed, but this is wrong. ENS Usernames is a subset of ENS, and ENS will lookup the ENS Usernames contract by looking the controller of stateofus.eth, which is the address that can create subdomains, therefore is ENS Usernames contract with an ABI to register an username.
So, the only thing hardcoded should be ENS address. With that, the app should do it only once at first run a request to find the controller of stateofus.eth and cache this information. The cache needs to be updated only in case estimating gas to registering an username is throwing an exception, than the cache should be updated only once a day until it finds a working address - waku can be used to notify for updates, if coming from an authority (Status devs).
Beta Was this translation helpful? Give feedback.
All reactions