Skip to content

Commit

Permalink
Fix: warn about bridges, not block
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Nov 9, 2023
1 parent e72f222 commit eafd864
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions src/services/walletconnect/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,33 @@ export const SAFE_WALLET_METADATA = {
export const EIP155 = 'eip155' as const

// Bridges enforcing same address on destination chains
export const BlockedBridges = [
export const BlockedBridges = []

// Bridges that initially select the same address on the destination chain but allow changing it
export const WarnedBridges = [
'across.to', // doesn't send their URL in the session proposal
'app.allbridge.io',
'core.allbridge.io',
'bungee.exchange',
'www.carrier.so',
'app.chainport.io',
'bridge.gnosischain.com',
'app.hop.exchange', // doesn't send their URL in the session proposal
'app.interport.fi',
'jumper.exchange',
'www.layerswap.io',
'meson.fi',
'satellite.money',
'stargate.finance',
'app.squidrouter.com',
'app.symbiosis.finance',
'www.synapseprotocol.com',
'app.thevoyager.io',
'portal.txsync.io',
'bridge.wanchain.org',
'app.xy.finance',

// Can't set a recipient address
'app.chainport.io',
'bridge.arbitrum.io',
'bridge.base.org',
Expand Down Expand Up @@ -62,29 +88,4 @@ export const BlockedBridges = [
'ultronswap.com',
]

// Bridges that initially select the same address on the destination chain but allow changing it
export const WarnedBridges = [
'across.to', // doesn't send their URL in the session proposal
'app.allbridge.io',
'core.allbridge.io',
'bungee.exchange',
'www.carrier.so',
'app.chainport.io',
'bridge.gnosischain.com',
'app.hop.exchange', // doesn't send their URL in the session proposal
'app.interport.fi',
'jumper.exchange',
'www.layerswap.io',
'meson.fi',
'satellite.money',
'stargate.finance',
'app.squidrouter.com',
'app.symbiosis.finance',
'www.synapseprotocol.com',
'app.thevoyager.io',
'portal.txsync.io',
'bridge.wanchain.org',
'app.xy.finance',
]

export const WarnedBridgeNames = ['Across Bridge', 'Hop']

0 comments on commit eafd864

Please sign in to comment.