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 MetaMask event subscription support #282

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

stanleyyconsensys
Copy link

This PR is to adding the on and off event support into the MetaMask Virtual Wallet

The change includes:

  • add code comment
  • add on and off support
  • remove the hardcode response for wallet_supportedSpecs and wallet_getPermissions, as it can be return directly from the actual wallet
  • To sync the behaviour of discoverVirtualWallets (it returns the VirtualWallet itself), update loadWallet method to return the virtual wallet, rather than the swo, as the swo has already binded into the virtual wallet

@khanti42 khanti42 force-pushed the feat/add-mm-event-subscription-support branch from 8e1dd66 to 3f030eb Compare December 16, 2024 13:51
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.

3 participants