Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Get ENS domain and icon of orchestrators #38

Closed
stronk-dev opened this issue Mar 5, 2022 · 4 comments
Closed

Get ENS domain and icon of orchestrators #38

stronk-dev opened this issue Mar 5, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@stronk-dev
Copy link
Owner

We can do this separately in each src/OrchAddressViewer.js
Wait for ENS and/or Ceramic support to be implemented first, since 3box is deprecated

@stronk-dev stronk-dev added the on hold is currently being blocked from being worked on label Mar 6, 2022
@stronk-dev
Copy link
Owner Author

Waiting for livepeer/explorer#55

@stronk-dev stronk-dev self-assigned this Mar 14, 2022
@stronk-dev stronk-dev added enhancement New feature or request and removed on hold is currently being blocked from being worked on labels Mar 14, 2022
@stronk-dev
Copy link
Owner Author

We should keep an eye on ensdomains/ens-metadata-service#50 in order to display avatars for ENS domains with emoji's

@stronk-dev stronk-dev pinned this issue Mar 16, 2022
@stronk-dev stronk-dev changed the title Get name and icon of orchestrators Get ENS domain and icon of orchestrators Mar 16, 2022
@stronk-dev
Copy link
Owner Author

Plan of action:

Add /getENS endpoint to API:
  for now only return the ENS domain name of a given eth address
  dont forget to add a timestamp to the data
  cache it as UNSET if there is no associated ENS data

Since there is a tiny set of Orchestrators, have the loadingscreen preload all cached ENS data
  It should throw away any results which are more than X minutes old, maybe once a day?

Edit src/components/eventButtonAddress.js:
  Initially just render the original address like now
  If there is no (recent) associated ENS data, request ENS info of this O
  If we have one in the redux store, set the ENS domain name as the name
    Still display the first X chars of the actual address
    Display an ENS icon as default avatar
      Make it link to app.ens info page of the website
      Also try to get an avatar from https://metadata.ens.domains/mainnet/avatar/<ENS URL>/meta
        Maybe try a separate resolver (like 1inch is doing) while above function is borked for emoticon urls

Expand txt search to also filter by name, rather than only the O address

@stronk-dev
Copy link
Owner Author

done

@stronk-dev stronk-dev unpinned this issue Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant