jorgenbuilder / ic-inspector

⭐⭐⭐⭐⭐ Chrome extension for decoding responses from the Internet Computer blockchain
https://chromewebstore.google.com/detail/ic-inspector/meaadkenfkhjakkkdapaallimhbdofck?hl=en&authuser=0
MIT License
52 stars 9 forks source link

Get canister name from metadata? #35

Closed bitdivine closed 1 year ago

bitdivine commented 1 year ago

Motivation

When working with multi-canister apps, the random-looking canister IDs are not very helpful. It is super-nice the way well-known canisters are shown by name rather than ID. Would it be possible to expand on this?

The focus here is on developers, not on some general domain name system.

Proposed change

Next steps

bitdivine commented 1 year ago

Note: A metadata key such as dfx_canister_name is probably pretty clear about what the data is and how much it can be trusted. It is similar in format to the git_commit_id already in use.

jorgenbuilder commented 1 year ago

There are a few projects that have approached this. Notable, DAB, which is integrated with this project already. Unfortunately, while DAB is still maintained to some degree, it's clear that their database of canister metadata has not received much attention from the maintainers or the developer ecosystem.

Integrating IC Inspector with a metadata standard that has significant adoption is a definite yes, however developing a metadata standard is a definite no. If you're entertaining such a project, I would add DAB to the list of projects to reach out to in the research phase.