Skip to content

Commit

Permalink
Merge pull request #193 from Define101/master
Browse files Browse the repository at this point in the history
add bitlayer support
  • Loading branch information
Define101 committed May 16, 2024
2 parents 14a7ef9 + e997b48 commit 9ed2513
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/adapters/meson/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const adapter: BridgeAdapter = {
merlin: constructParams("merlin"),
bsquared: constructParams("b2-mainnet"),
zkfair: constructParams("zkfair"),
btr: constructParams("btr"),

// conflux-espace
// eos-evm
Expand Down
8 changes: 8 additions & 0 deletions src/utils/normalizeChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,12 @@ export const chainCoingeckoIds = {
cmcId: null,
categories: ["EVM"],
},
"Bitlayer": {
geckoId: null,
symbol: null,
cmcId: null,
categories: ["EVM"],
},
} as {
[chain: string]: {
geckoId: string | null;
Expand Down Expand Up @@ -1164,6 +1170,8 @@ export function getChainDisplayName(normalizedChain: string, useNewChainNames: b
return "Zkfair";
case "bsquared":
return "BSquared";
case "btr":
return "Bitlayer"
default:
return normalizedChain.slice(0, 1).toUpperCase() + normalizedChain.slice(1); // Capitalize first letter
}
Expand Down

0 comments on commit 9ed2513

Please sign in to comment.