Skip to content

Commit

Permalink
Merge pull request #224 from nova577metaverse/master
Browse files Browse the repository at this point in the history
feat: add chains
  • Loading branch information
vrtnd authored Jun 18, 2024
2 parents 2f29ec9 + dd4c329 commit d20f1b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/adapters/orbiter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const adapter: BridgeAdapter = {
blast: constructParams("blast"),
polygon: constructParams("polygon"),
scroll: constructParams("scroll"),
// mode: constructParams("mode"), no etherscan
mode: constructParams("mode"),
manta: constructParams("manta"),
"arbitrum nova": constructParams("arbitrum_nova"),
"polygon zkevm": constructParams("polygon_zkevm"),
Expand All @@ -134,5 +134,8 @@ const adapter: BridgeAdapter = {
mantle: constructParams("mantle"),
bouncebit: constructParams("bouncebit-mainnet"),
zkfair: constructParams("zkfair"),
bsquared: constructParams("b2-mainnet"),
avalanche: constructParams("avax"),
fantom: constructParams("fantom"),
};
export default adapter;
7 changes: 5 additions & 2 deletions src/data/bridgeNetworkData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ export default [
"Arbitrum Nova",
"Scroll",
"Manta",
// "Mode",
"Mode",
"zkSync Era",
"Polygon zkEVM",
"Merlin",
Expand All @@ -1116,14 +1116,17 @@ export default [
"Bouncebit",
"Mantle",
"Zkfair",
"opBNB"
"opBNB",
"fantom",
],
chainMapping: {
"arbitrum nova": "arbitrum_nova",
"zksync era": "era",
"polygon zkevm": "polygon_zkevm",
"btr": "bitlayer",
"xlayer": "X Layer",
bsquared: "b2-mainnet",
avalanche: "avax",
},
},
{
Expand Down

0 comments on commit d20f1b6

Please sign in to comment.