Skip to content

Commit

Permalink
frontend: Web3Context: Update gnosis config for ambire wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Jul 15, 2023
1 parent 5d0e9dd commit 6d502dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/frontend/src/contexts/Web3Context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,16 @@ function getOnboardChains(): any {

const injected = injectedModule()
const coinbaseWallet = coinbaseWalletModule({ darkMode: false })
const gnosis = gnosisModule()

// https://github.com/blocknative/web3-onboard/pull/1834
const gnosis = gnosisModule({
whitelistedDomains: [
/^https:\/\/gnosis-safe\.io$/,
/^https:\/\/app\.safe\.global$/,
/^https:\/\/safe\.global$/,
/^https:\/\/wallet\.ambire\.com$/
]
})
const walletConnect = walletConnectModule({
version: 2, // NOTE: version v1 will be sunset but MetaMask currently only supports v1
qrcodeModalOptions: {
Expand Down

0 comments on commit 6d502dd

Please sign in to comment.