Skip to content

Commit

Permalink
CU-86a5rx6jm-BS Lib - Change the mainnet URL from BNB, Polygon, Fanto…
Browse files Browse the repository at this point in the history
…m and Avalanche
  • Loading branch information
hotequil committed Dec 3, 2024
1 parent d7fd44e commit 073bc6e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 28 deletions.
10 changes: 10 additions & 0 deletions common/changes/@cityofzion/bs-ethereum/main_2024-12-03-14-39.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/bs-ethereum",
"comment": "Update RPC list",
"type": "patch"
}
],
"packageName": "@cityofzion/bs-ethereum"
}
52 changes: 24 additions & 28 deletions packages/bs-ethereum/src/constants/BSEthereumConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,91 +46,87 @@ export class BSEthereumConstants {
static RPC_LIST_BY_NETWORK_ID: Record<BSEthereumNetworkId, string[]> = {
'1': [
'https://eth.llamarpc.com',
'https://mainnet.infura.io/v3/',
'https://ethereum-rpc.publicnode.com',
'https://endpoints.omniatech.io/v1/eth/mainnet/public',
'https://rpc.flashbots.net',
'https://rpc.mevblocker.io',
'https://rpc.flashbots.net',
'https://endpoints.omniatech.io/v1/eth/mainnet/public',
'https://mainnet.infura.io/v3/',
],
'10': [
'https://optimism.llamarpc.com',
'https://endpoints.omniatech.io/v1/op/mainnet/public',
'https://optimism-rpc.publicnode.com',
'https://optimism.meowrpc.com',
'https://optimism.rpc.subquery.network/public',
'https://endpoints.omniatech.io/v1/op/mainnet/public',
],
'25': ['https://cronos-evm-rpc.publicnode.com', 'https://1rpc.io/cro', 'https://rpc.vvs.finance'],
'25': ['https://cronos-evm-rpc.publicnode.com', 'https://rpc.vvs.finance', 'https://1rpc.io/cro'],
'56': [
'https://bsc-dataseed.binance.org/',
'https://binance.llamarpc.com',
'https://bsc-rpc.publicnode.com',
'https://bsc-dataseed.binance.org/',
'https://bsc-dataseed.bnbchain.org',
'https://endpoints.omniatech.io/v1/bsc/mainnet/public',
'https://bsc-rpc.publicnode.com',
],
'137': [
'https://polygon-mainnet.infura.io',
'https://polygon.llamarpc.com',
'https://endpoints.omniatech.io/v1/matic/mainnet/public',
'https://polygon.drpc.org',
'https://polygon.meowrpc.com',
'https://polygon-mainnet.infura.io',
'https://endpoints.omniatech.io/v1/matic/mainnet/public',
],
'250': [
'https://endpoints.omniatech.io/v1/fantom/mainnet/public',
'https://rpcapi.fantom.network',
'https://fantom-pokt.nodies.app',
'https://fantom-rpc.publicnode.com',
'https://fantom.drpc.org',
'https://endpoints.omniatech.io/v1/fantom/mainnet/public',
],
'1101': [
'https://polygon-zkevm.drpc.org',
'https://polygon-zkevm.blockpi.network/v1/rpc/public',
'https://1rpc.io/polygon/zkevm',
'https://polygon-zkevm.blockpi.network/v1/rpc/public',
],
'80002': [
'https://polygon-amoy.drpc.org',
'https://rpc.ankr.com/polygon_amoy',
'https://polygon-amoy-bor-rpc.publicnode.com',
'https://rpc.ankr.com/polygon_amoy',
],
'8453': [
'https://base.rpc.subquery.network/public',
'https://base.llamarpc.com',
'https://mainnet.base.org',
'https://1rpc.io/base',
'https://base.meowrpc.com',
'https://base-rpc.publicnode.com',
'https://base.meowrpc.com',
'https://1rpc.io/base',
'https://mainnet.base.org',
'https://base.rpc.subquery.network/public',
'https://endpoints.omniatech.io/v1/base/mainnet/public',
],
'42161': [
'https://arbitrum.llamarpc.com',
'https://arbitrum-one-rpc.publicnode.com',
'https://arb-mainnet-public.unifra.io',
'https://arbitrum-one.publicnode.com',
'https://arb-mainnet-public.unifra.io',
],
'42220': [
'https://forno.celo.org',
'https://api.tatum.io/v3/blockchain/node/celo-mainnet',
'https://rpc.ankr.com/celo',
],
'43114': [
'https://avalanche-mainnet.infura.io',
'https://avalanche-c-chain-rpc.publicnode.com',
'https://avalanche.public-rpc.com',
'https://endpoints.omniatech.io/v1/avax/mainnet/public',
'https://avalanche.drpc.org',
'https://endpoints.omniatech.io/v1/avax/mainnet/public',
'https://avalanche-mainnet.infura.io',
],
'59144': [
'https://linea.decubate.com',
'https://linea.blockpi.network/v1/rpc/public',
'https://linea.decubate.com',
],
'59144': ['https://linea.decubate.com', 'https://linea.blockpi.network/v1/rpc/public'],
'11155111': [
'https://ethereum-sepolia.rpc.subquery.network/public',
'https://ethereum-sepolia-rpc.publicnode.com',
'https://endpoints.omniatech.io/v1/eth/sepolia/public',
'https://eth-sepolia.public.blastapi.io',
'https://eth-sepolia-public.unifra.io',
'https://ethereum-sepolia.rpc.subquery.network/public',
'https://1rpc.io/sepolia',
'https://eth-sepolia.api.onfinality.io/public',
'https://eth-sepolia.public.blastapi.io',
'https://eth-sepolia-public.unifra.io',
'https://endpoints.omniatech.io/v1/eth/sepolia/public',
],
'47763': ['https://mainnet-1.rpc.banelabs.org'],
'12227332': ['https://neoxt4seed1.ngd.network'],
Expand Down

0 comments on commit 073bc6e

Please sign in to comment.