Handle Connection of an Additional Account
peetzweg opened this issue · 2 comments
peetzweg commented
Scenario:
- You are connected to a dapp with 2 accounts of your wallet of choice
- You enable inside the wallet to allow a third account to interact with the dapp.
=> As of now nothing happens for the "useWallet" hook. Is there a way to observe new accounts getting enabled in the users wallet and refresh the useWallet hook?
DoubleOTheven commented
talisman-connect has a wallet subscription function. It looks like we could use that.
DoubleOTheven commented
This was solved here #56 via subscriptions