-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect Adjust WalletConnected Safes #134
Conversation
|
||
const peerName = wc?.peerMeta?.name | ||
|
||
if (peerName === 'Safe Multisig WalletConnect' || peerName?.startsWith?.('Gnosis Safe')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change this to startsWith('Safe')
... just to be on the safe side (no pun intended)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw the multisig identifies itself as Gnosis Safe Multisig
so the current logic should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah, maybe, though German just merged it with the stricter check, so I guess that's going to stay for now 😅
Do you know any open sourced Dapp that I can use to test this (updating its CPK version with this branch locally)?
|
Forget about my previous comment. Web3Modal has an issue when using web3 1.3.0 (thanks Richard!) I downgraded the version in the CPK Dapp to test it and this PR works |
Related #127