Skip to content

Commit

Permalink
fix: rename bsc to bnb (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Feb 5, 2024
1 parent ac565a5 commit 31e3332
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const ETHERSCAN_API_KEYS: {
[Networks.sepolia]: process.env.ETHERSCAN_API_KEY_SEPOLIA || "",
[Networks.avalanche]: process.env.ETHERSCAN_API_KEY_AVALANCHE || "",
[Networks.avalancheFuji]: process.env.ETHERSCAN_API_KEY_AVALANCHE_FUJI || "",
[Networks.bsc]: process.env.ETHERSCAN_API_KEY_BSC || "",
[Networks.bscTestnet]: process.env.ETHERSCAN_API_KEY_BSC_TESTNET || "",
[Networks.bnb]: process.env.ETHERSCAN_API_KEY_BNB || "",
[Networks.bnbTestnet]: process.env.ETHERSCAN_API_KEY_BNB_TESTNET || "",
[Networks.base]: process.env.ETHERSCAN_API_KEY_BASE || "",
[Networks.metis]: process.env.ETHERSCAN_API_KEY_METIS || "",
[Networks.gnosis]: process.env.ETHERSCAN_API_KEY_GNOSIS || "",
Expand All @@ -34,8 +34,8 @@ export const ETHERSCAN_API_URL: {
[Networks.optimism]: "https://api-optimistic.etherscan.io/api",
[Networks.goerli]: "https://api-goerli.etherscan.io/api",
[Networks.sepolia]: "https://api-sepolia.etherscan.io/api",
[Networks.bsc]: "https://api.bscscan.com/api",
[Networks.bscTestnet]: "https://api-testnet.bscscan.com/api",
[Networks.bnb]: "https://api.bscscan.com/api",
[Networks.bnbTestnet]: "https://api-testnet.bscscan.com/api",
[Networks.base]: "https://api.basescan.org/api",
[Networks.metis]: "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan",
[Networks.gnosis]: "https://api.gnosisscan.io/api",
Expand All @@ -53,8 +53,8 @@ export const DEFAULT_RPC_URLS: {
[Networks.optimism]: process.env.RPC_OPTIMISM || "",
[Networks.goerli]: process.env.RPC_GOERLI || "",
[Networks.sepolia]: process.env.RPC_SEPOLIA || "",
[Networks.bsc]: process.env.RPC_BSC || "",
[Networks.bscTestnet]: process.env.RPC_BSC_TESTNET || "",
[Networks.bnb]: process.env.RPC_BNB || "",
[Networks.bnbTestnet]: process.env.RPC_BNB_TESTNET || "",
[Networks.base]: process.env.RPC_BASE || "",
[Networks.gnosis]: process.env.RPC_GNOSIS || "",
[Networks.scroll]: process.env.RPC_SCROLL || "",
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export enum Networks {
optimism = 10,
goerli = 5,
sepolia = 11155111,
bsc = 56,
bscTestnet = 97,
bnb = 56,
bnbTestnet = 97,
base = 8453,
metis = 1088,
gnosis = 100,
Expand Down

0 comments on commit 31e3332

Please sign in to comment.