Skip to content

Commit

Permalink
Add more unsupported bridges; adjust warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Oct 25, 2023
1 parent 05d5aeb commit 59365e9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const CHAIN_PLACEHOLDER = '%%chain%%'
const Warnings: Record<string, { severity: AlertColor; message: string }> = {
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',
Expand Down
15 changes: 15 additions & 0 deletions src/services/walletconnect/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59365e9

Please sign in to comment.