diff --git a/packages/addresses/package.json b/packages/addresses/package.json index 91690818..0e081e1c 100644 --- a/packages/addresses/package.json +++ b/packages/addresses/package.json @@ -1,6 +1,6 @@ { "name": "@zetachain/addresses", - "version": "0.0.11", + "version": "0.0.13", "license": "MIT", "author": "zetachain", "publishConfig": { @@ -22,4 +22,4 @@ "vite": "^3.1.0", "vite-plugin-dts": "^1.4.1" } -} +} \ No newline at end of file diff --git a/packages/addresses/src/addresses.helpers.ts b/packages/addresses/src/addresses.helpers.ts index e3a21f84..37d2fedd 100644 --- a/packages/addresses/src/addresses.helpers.ts +++ b/packages/addresses/src/addresses.helpers.ts @@ -107,11 +107,11 @@ export const getTestnetList = (): Record; export const isMainnetNetworkName = (networkName: string): networkName is MainnetNetworkName => - networkName === "eth-mainnet" || networkName === "klaytn-cypress"; + networkName === "bsc-mainnet" || networkName === "eth-mainnet" || networkName === "klaytn-cypress"; export const isZetaMainnet = (networkName: string | undefined): networkName is ZetaMainnetNetworkName => networkName === "mainnet"; @@ -131,6 +131,7 @@ export const getChainId = (networkName: NetworkName) => { athens: 7001, "bitcoin-test": 18332, "bsc-localnet": 97, + "bsc-mainnet": 56, "bsc-testnet": 97, "eth-localnet": 5, "eth-mainnet": 1,