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

explorer: Add token page #3364

Open
HDauven opened this issue Jan 15, 2025 · 0 comments
Open

explorer: Add token page #3364

HDauven opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
module:explorer Issues related to explorer module type:feature implementing a new feature

Comments

@HDauven
Copy link
Member

HDauven commented Jan 15, 2025

Summary

Currently, we do not display third party contracts in our explorer. For the EMT implementation it is required to have an overview page for the token.
This page should display:

  • The current total supply
  • The circulating supply
  • Transfer history for the given token

Possible solution design or implementation

We want something similar to what Etherscan provides: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7

Currently, there's no API to gather the transaction history for a given token contract. We could do this by filtering on the transactions payload -> call -> contract.

Possible endpoint format:
https://apps.dusk.network/explorer/contract/?id=<CONTRACT_ID>
https://apps.dusk.network/explorer/token/?id=<CONTRACT_ID>

@HDauven HDauven added type:feature implementing a new feature module:explorer Issues related to explorer module labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:explorer Issues related to explorer module type:feature implementing a new feature
Projects
None yet
Development

No branches or pull requests

2 participants