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

xUDT List support displaying holders #795

Open
Keith-CY opened this issue Nov 15, 2024 · 3 comments
Open

xUDT List support displaying holders #795

Keith-CY opened this issue Nov 15, 2024 · 3 comments
Assignees
Labels

Comments

@Keith-CY
Copy link
Member

Is your feature request related to a problem? Please describe.
It's quite confusing for RGB++ users that there are unique ckb address and holder for an xUDT and they are different due to different data dimensions.

So the DevRel team suggests we provide the holder field on the list. However, it's indeed a concept of RGB++ but not of CKB. So it will not be displayed by default.

Describe the solution you'd like

Support the holder field but it's invisible by default. when visiting the URL includes a query view=rgbpp, the unique ckb address will be replaced by holder so all rgbpp products can lead users to the rgbpp view.

The technical updates are as follows:

  1. backend: add holder field in the xudt list response, which equals the one in the xudt detail response
  2. frontend: support view=rgbpp URL query, when matched, ckb unique address will be replaced by holder

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Keith-CY
Copy link
Member Author

It's highly prioritized, so we'd better support it ASAP.

@rabbitz
Copy link

rabbitz commented Nov 15, 2024

@Keith-CY
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📌CurrentWeek
Development

No branches or pull requests

2 participants