WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.25k stars 623 forks source link

feat:add eip5792 methods as optional methods #4499

Closed KannuSingh closed 1 month ago

KannuSingh commented 1 month ago

Adding EIP-5792 methods on the list of optional RPC methods. These method will become part of session proposal request to wallet. This will enable wallet supporting EIP-5792 allowing dapps to use it after session is successfully approved by the user.

KannuSingh commented 1 month ago

IMO Yes, it all optional methods. And if made required_methods then wallet need to support all those, else session can't be established.