Skip to content

Commit

Permalink
fix: add bsc on evm chain ids (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofa authored Oct 16, 2024
1 parent b99ec17 commit 674f18c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/healthy-wombats-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@folks-finance/xchain-sdk": patch
---

Add missing BSC field on evm chain names and ids
3 changes: 2 additions & 1 deletion src/chains/evm/common/constants/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import type { EvmChainName, EvmFolksChainId } from "../types/chain.js";
import type { Chain } from "viem";

export const MAINNET_EVM_CHAIN_NAMES = ["AVALANCHE", "ETHEREUM", "BASE"] as const;
export const MAINNET_EVM_CHAIN_NAMES = ["AVALANCHE", "ETHEREUM", "BASE", "BSC"] as const;
export const TESTNET_EVM_CHAIN_NAMES = [
"AVALANCHE_FUJI",
"ETHEREUM_SEPOLIA",
Expand All @@ -27,6 +27,7 @@ export const MAINNET_EVM_CHAIN_ID = {
AVALANCHE: avalanche.id,
ETHEREUM: mainnet.id,
BASE: base.id,
BSC: bsc.id,
} as const;

export const TESTNET_EVM_CHAIN_ID = {
Expand Down

0 comments on commit 674f18c

Please sign in to comment.