From c9d1432ec845535d935fbb9e258096c584715261 Mon Sep 17 00:00:00 2001 From: vrtnd Date: Thu, 27 Jun 2024 21:46:57 +0300 Subject: [PATCH] Stargate: Add scroll --- src/adapters/stargate/index.ts | 1 + src/data/bridgeNetworkData.ts | 22 ++++++---------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/adapters/stargate/index.ts b/src/adapters/stargate/index.ts index 15bda882..3142ebec 100644 --- a/src/adapters/stargate/index.ts +++ b/src/adapters/stargate/index.ts @@ -604,6 +604,7 @@ const adapter: BridgeAdapter = { mantle: constructParams("mantle"), base: constructParams("base"), aurora: constructParams("aurora"), + scroll: constructParams("scroll"), }; export default adapter; diff --git a/src/data/bridgeNetworkData.ts b/src/data/bridgeNetworkData.ts index fd4afb2d..95b1e396 100644 --- a/src/data/bridgeNetworkData.ts +++ b/src/data/bridgeNetworkData.ts @@ -237,6 +237,7 @@ export default [ "Metis", "Linea", "Mantle", + "Scroll", ], chainMapping: { avalanche: "avax", // this is needed temporarily, need to fix and remove @@ -955,7 +956,7 @@ export default [ "Blast", "X Layer", // "Numbers", - "Taiko" + "Taiko", ], chainMapping: { "zksync era": "era", @@ -1133,8 +1134,7 @@ export default [ "opBNB", "Fantom", "Bsquared", - "Avalanche" - + "Avalanche", ], chainMapping: { "arbitrum nova": "arbitrum_nova", @@ -1143,7 +1143,7 @@ export default [ bsquared: "b2-mainnet", bitlayer: "btr", "x layer": "xlayer", - "avalanche": "avax" + avalanche: "avax", }, }, { @@ -1214,7 +1214,7 @@ export default [ "ZkLink", "Bouncebit", "opBNB", - + "zkSync Era", "Polygon zkEVM", ], @@ -1265,17 +1265,7 @@ export default [ iconLink: "icons:helixbridge", largeTxThreshold: 10000, url: "https://helixbridge.app/", - chains: [ - "Arbitrum", - "Darwinia", - "Polygon", - "BSC", - "Linea", - "Mantle", - "Scroll", - "Optimism", - "Gnosis", - ], + chains: ["Arbitrum", "Darwinia", "Polygon", "BSC", "Linea", "Mantle", "Scroll", "Optimism", "Gnosis"], chainMapping: { gnosis: "xdai", },