Session Proposal Namespace Acceptance #30
-
Hi, I was wondering if it should be possible for a wallet to decline specific networks or methods within a namespace? ie. If the dApp requests Polygon, Optimism and Ethereum, does the user need to accept all of these networks to connect, or can they accept some and decline the others? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @chrislang1 So, as it stands now you need to satisfy / approve Same applies to We'll also work on more docs around namespaces and will be adding more granular errors that should make it super easy to understand these behaviours 👍 |
Beta Was this translation helpful? Give feedback.
Hey @chrislang1
So, as it stands now you need to satisfy / approve
requiredNamespaces
proposed by dapp, assumption here is that they will only request what's needed for core functionality and if it's not met there might be unexpected side-effects. You can allow "more" than what's required, but never less.Same applies to
update
method. You can always add more to namespace, but never less than what was in originalrequiredNamespaces
.We'll also work on more docs around namespaces and will be adding more granular errors that should make it super easy to understand these behaviours 👍