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

feat: add a way to get the capabilities of a built account #1163

Open
tomyrd opened this issue Feb 17, 2025 · 2 comments
Open

feat: add a way to get the capabilities of a built account #1163

tomyrd opened this issue Feb 17, 2025 · 2 comments

Comments

@tomyrd
Copy link
Collaborator

tomyrd commented Feb 17, 2025

We should add an object that represents the capabilities of an account. It would be useful if we could somehow check what components were used to build an Account, meybe even expose the relevant storage for those components.

Some example usage:

  • Getting the authentication scheme used, if any.
  • Getting the public key from said authentication component.
  • Getting the metadata of the faucet (i.e. decimals, symbol, etc.) if it includes that component.

Some comments for context:

  • Case where we need the auth scheme. > comment
  • Case where we need the storage of a specific component > comment
@bobbinth
Copy link
Contributor

This may be relevant for the work @Fumuran is doing.

@Fumuran
Copy link
Contributor

Fumuran commented Feb 18, 2025

I'm implementing the ability to check whether the note could be consumed by some account with specified procedures, so it will for sure help to understand the capabilities of the account. Let me see how can I implement the capabilities you requested.

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

3 participants