WalletConnect / web3modal

A single Web3 provider solution for all Wallets
https://web3modal.com
Apache License 2.0
4.73k stars 1.33k forks source link

[feature] config options for adding safe connector in defaultWagmiConfig #2483

Open ChewySwap opened 5 days ago

ChewySwap commented 5 days ago

What problem does this new feature solve?

Currently as it stands we have to use wagmi's createConfig in order to use safe connector with web3modal. If a developer wants to use embedded wallets in addition to enabling safe connector so their app is Safe App enabled then it's not possible given the current config setup.

Describe the solution you'd like

I propose adding an optional field in defaultWagmiConfig to 'enableSafe' connector as well as another optional RegExp[] field for allowedDomains.

linear[bot] commented 5 days ago

APKT-671 [feature] config options for adding safe connector in defaultWagmiConfig