Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add "Contract Name" on the explorer #171

Open
alkindivv opened this issue Feb 14, 2024 · 1 comment
Open

add "Contract Name" on the explorer #171

alkindivv opened this issue Feb 14, 2024 · 1 comment

Comments

@alkindivv
Copy link

🌟 Feature Request

Screenshot 2024-02-14 at 23 21 02

📝 Description

can you please add the name for the contract that we interacted?
let say i swap using Syncswap ETH > USDC.
instead of smart contract code, we will see the name from/to contract name that we interacted

🤔 Rationale

just like etherscan explorer, it would be much better for us to read the transaction goes to

📋 Additional Context

Screenshot 2024-02-14 at 23 26 26
@MexicanAce
Copy link
Contributor

I dug into this feature request a little further, and it appears that other Block Explorers are able to do this because they have custom "name" tags that they manually apply to certain contracts (that's the names that show in the screenshot above).

Without this name tag, we would need to make a lot of API requests to fetch the possibly verified contract's name whenever a transaction address is displayed, and that's a lot of resource overhead for just loading the landing page. There might be another way to display this information, but wanted to at least capture this deep-dive of investigation if anyone else wants to try and implement this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants