hashgraph / hedera-mirror-node-explorer

Hedera Mirror Node Explorer for the Hedera Hashgraph DLT.
Apache License 2.0
15 stars 12 forks source link

Search for entities using the name of the entities #927

Open quiet-node opened 5 months ago

quiet-node commented 5 months ago

Problem

Currently, Hashscan only allows users to searching for transactions, contracts, blocks, or other items solely by their hexadecimal address. An improvement could involve enabling users to search for entities using their names. For instance, if a verified contract is named "SecretVault," users should be able to search for it using keywords like "SecretVault" or "secret vault." Hashscan would then present a list of relevant items with associated content, allowing users to select from the results. This enhancement would offer a more user-friendly and intuitive search experience on the platform.

Maybe later on we can support searching using event signature and/or event sighash, function signature and/or function sighash, error, etc.

Solution

Improve search mechanism to accept entities' names

Alternatives

No response

ericleponner commented 5 months ago

solely by their hexadecimal address

In fact, HashScan enables to search:

So this request is primarily searching by contract name. This will certainly implies some new capabilities at sourcify level (ie a search api).

It might be interesting to rephrase the issue and capture feature request in a sourcify issue.