Consensys / linea-attestation-registry

Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
https://ver.ax
MIT License
142 stars 71 forks source link

[US] As a developer, I want to have a consistent ID and URL for Issuers across chains #776

Open alainncls opened 1 month ago

alainncls commented 1 month ago

[!NOTE]
This needs to be merged into the feat/multichain branch.

As a developer,
I want to have a consistent ID and URL for Issuers across chains,
so that it's easier to find and refer to them.


Problem

The Issuer page URL is currently formatted as explorer.ver.ax/[CHAIN_NAME]/issuers/[ISSUER_ADDRESS].
However, there are multiple cases where Issuers don’t use the same address on every chain. Since there is a single Issuer address currently hardcoded in the configuration file, this leads to an issue where no information is displayed when certain networks are selected.

Solution to implement

Instead of relying on the EVM address as an identifier for the Issuer (Issuer's slug name), we could use a human-readable name.
The URL would then be formatted as explorer.ver.ax/issuers/[ISSUER_SLUG].

In addition to solving this problem, this approach has the added benefit of providing more user-friendly, human-readable URLs.

[!WARNING]
This ID/slug name should also be used for the filtered view of Attestations by Issuer, instead of the current URL (e.g., 0xScore).