Open moijia opened 1 year ago
There is a setting for active TokenPocket or Metamask.
If I have tokenpoket extension enable then metamask will not work as tokenpocket is taking over the provider, this approach should be changed as will force the users to keep this extension disabled
This can be easy tested with the 2 wallets extension installed and enabled on https://www.sushi.com/swap
Hi, @octavioamu @moijia, here is some update about this:
With the TokenPocket extension, you can access window.tokenpocket.ethereum
as the provider (mobile wallet will support in the next release).
We have supported EIP-6963 to solve the multi providers's problems (TokenPocket extension and mobile wallets).
https://www.sushi.com/swap
Once tockenpocket extension installed it disable Metamask Wallet