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 new CIP30 functions and missing paramters #39

Open
marcuspuchalla opened this issue Mar 28, 2023 · 0 comments
Open

Add new CIP30 functions and missing paramters #39

marcuspuchalla opened this issue Mar 28, 2023 · 0 comments

Comments

@marcuspuchalla
Copy link
Collaborator

marcuspuchalla commented Mar 28, 2023

With the new extensions being added, we must keep the API on par with the CIP30 spec.

This means we need to add:

  • cardano.{walletName}.extensions - extensions that the wallet has enabled
  • cardano.{walletName}.supportedExtensions - extensions the wallet supports and can be used
  • api.getExtensions() : Promise<Extension[]> - Retrieves the list of extensions enabled by the wallet.
  • cardano.{walletName}.enable({ extensions: Extension[] } = {}) - new Extension parameter for enabling a wallet

In addition, the getUsedAddresses is missing the paginate parameter as defined in the spec.

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