Skip to content

Feat/preferred features #348

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mois-ilya
Copy link
Contributor

@mois-ilya mois-ilya commented May 6, 2025

This PR introduces Preferred Features, an extension of the existing requiredFeatures mechanism.

While requiredFeatures prevents connection to wallets that do not support specified capabilities, preferredFeatures provides a softer alternative:

  • Wallets that support the preferred features are prioritized in the UI.
  • Wallets that do not support the preferred features can still be selected and connected by the user.

Additionally, if the user later initiates an action that is unsupported by the connected wallet, the SDK will now suggest reconnecting to a compatible wallet, instead of failing silently.

@mois-ilya mois-ilya mentioned this pull request May 6, 2025
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

Successfully merging this pull request may close these issues.

1 participant