From 59365e9acd044b805105abc258073aa3e9919d5d Mon Sep 17 00:00:00 2001 From: katspaugh Date: Wed, 25 Oct 2023 14:15:00 +0200 Subject: [PATCH] Add more unsupported bridges; adjust warning text --- .../WcProposalForm/useCompatibilityWarning.ts | 2 +- src/services/walletconnect/constants.ts | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts b/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts index bb003af567..88062bc566 100644 --- a/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts +++ b/src/components/walletconnect/WcProposalForm/useCompatibilityWarning.ts @@ -13,7 +13,7 @@ const CHAIN_PLACEHOLDER = '%%chain%%' const Warnings: Record = { BLOCKED_BRIDGE: { severity: 'error', - message: `${NAME_PLACEHOLDER} is a bridge that is unusable in Safe{Wallet} due to the current implementation of WalletConnect — the bridged funds will be lost. Consider using a different bridge.`, + message: `${NAME_PLACEHOLDER} is a bridge that is incompatible with Safe{Wallet} — the bridged funds will be lost. Consider using a different bridge.`, }, WARNED_BRIDGE: { severity: 'warning', diff --git a/src/services/walletconnect/constants.ts b/src/services/walletconnect/constants.ts index 29cc0f050b..435b964832 100644 --- a/src/services/walletconnect/constants.ts +++ b/src/services/walletconnect/constants.ts @@ -45,6 +45,21 @@ export const BlockedBridges = [ 'www.portalbridge.com', 'wallet.polygon.technology', 'app.rhino.fi', + + // Unsupported chain bridges + 'bridge.zora.energy', + 'bridge.mantle.xyz', + 'bridge.linea.build', + 'bridge.metis.io', + 'scroll.io', + 'pacific-bridge.manta.network', + 'tokenbridge.rsk.co', + 'canto.io', + 'gateway.boba.network', + 'bttc.bittorrent.com', + 'iotube.org', + 'bridge.telos.net', + 'ultronswap.com', ] // Bridges that initially select the same address on the destination chain but allow changing it