-
Notifications
You must be signed in to change notification settings - Fork 541
Description
Is your request related to a problem?
As a dapp, there's no way to get the required namespace methods that the wallet is supporting with walletconnect.
Feature Description
The feature would support reading the requiredNamespace for methods so that dapp can adjust its interface based on the supported methods.
Usecase:
If dapps know that a wallet supports wallet_sendFunctionCallBundle, it can adjust its interface to send a bundle call to allow for a one-click interface. This is highly relevant to smart wallets.
Alternative Solutions
The dapp can communicate additional optional methods during session initialization to ask certain methods. That is unfortunately not very useful since the dapp have no means of knowing if the wallet supports the optional methods or not.
The dapp can also communicate required methods during session initialization, but that forces the dapp to not accommodate its interface with all wallets. Also at the moment, popular wallets (metamask) bypass this checks as if it is non-existent. The reason why they do it is to not break any connections with dapps.
Anything else?
No response