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 event subscription support on MetaMaskVirtualWallet #19

Merged
merged 17 commits into from
Dec 16, 2024

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Dec 11, 2024

This PR is to adding the on and off event support into the MM 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

@stanleyyconsensys stanleyyconsensys marked this pull request as ready for review December 11, 2024 07:13
@stanleyyconsensys stanleyyconsensys changed the title feat: add event support on MM feat: add event subscription support on MetaMask Vitrual Wallet Dec 11, 2024
@stanleyyconsensys stanleyyconsensys changed the title feat: add event subscription support on MetaMask Vitrual Wallet feat: add event subscription support on MetaMaskVirtualWallet Dec 11, 2024
@stanleyyconsensys stanleyyconsensys changed the title feat: add event subscription support on MetaMaskVirtualWallet feat: add event subscription support on MetaMaskVirtualWallet Dec 11, 2024
@khanti42 khanti42 changed the base branch from develop to feat/e2e-with-event December 16, 2024 13:23
@khanti42 khanti42 merged commit 9894852 into feat/e2e-with-event Dec 16, 2024
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