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

Ledger App - New Functionality: API to get supported ledgers #254

Open
lmuntaner opened this issue Nov 27, 2024 · 0 comments
Open

Ledger App - New Functionality: API to get supported ledgers #254

lmuntaner opened this issue Nov 27, 2024 · 0 comments

Comments

@lmuntaner
Copy link

lmuntaner commented Nov 27, 2024

In #248, we introduce a new functionality where we might show some tokens as raw integers instead of a user-friendly token amount.

If a dapp is interacting with a non-supported ledger, it should probably tell the user to expect such a number instead of the token amount.

To accomplish this, we would like to add an API in the Ledger device to return the list of supported ledgers.

The API can return the same data structure as passed in #248 with a ledger canister id, token symbol and decimals count.

🔗 zboto Link

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

1 participant