Skip to content

Commit

Permalink
add ankr rpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
zapaz committed May 1, 2024
1 parent badd002 commit 6580185
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 22 deletions.
36 changes: 19 additions & 17 deletions config/src/mainnets.handlebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"chainName": "mainnet",
"chainLabel": "Ethereum",
"rpcUrls": [
"https://rpc.ankr.com/eth/{{ANKR_API_KEY}}",
"https://eth-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY}}",
"https://mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https://rpc.ankr.com/eth"
"https://mainnet.infura.io/v3/{{INFURA_API_KEY}}"
],
"nativeCurrency": {
"name": "Ether",
Expand All @@ -33,9 +33,9 @@
"chainId": 42161,
"chainName": "arbitrum",
"rpcUrls": [
"https://rpc.ankr.com/arbitrum/{{ANKR_API_KEY}}",
"https://arbitrum-mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https://arb-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY_ARBITRUM}}",
"https://rpc.ankr.com/arbitrum"
"https://arb-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY_ARBITRUM}}"
],
"nativeCurrency": {
"name": "Ether",
Expand Down Expand Up @@ -76,9 +76,9 @@
"chainId": 10,
"chainName": "optimism",
"rpcUrls": [
"https://rpc.ankr.com/optimism/{{ANKR_API_KEY}}",
"https://optimism-mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https://opt-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY_OPTIMISM}}",
"https://rpc.ankr.com/optimism",
"https://mainnet.optimism.io"
],
"nativeCurrency": {
Expand All @@ -102,6 +102,7 @@
"chainId": 534352,
"chainName": "scroll",
"rpcUrls": [
"https://rpc.ankr.com/scroll/{{ANKR_API_KEY}}",
"https://rpc.scroll.io"
],
"nativeCurrency": {
Expand All @@ -121,6 +122,7 @@
"chainId": 8453,
"chainName": "base",
"rpcUrls": [
"https://rpc.ankr.com/base/{{ANKR_API_KEY}}",
"https://base-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY_BASE}}",
"https://mainnet.base.org/",
"https://developer-access-mainnet.base.org/"
Expand All @@ -147,7 +149,7 @@
"chainId": 5000,
"chainName": "mantle",
"rpcUrls": [
"https://rpc.ankr.com/mantle",
"https://rpc.ankr.com/mantle/{{ANKR_API_KEY}}",
"https://rpc.mantle.xyz",
"https://1rpc.io/mantle"
],
Expand Down Expand Up @@ -188,8 +190,8 @@
"chainName": "blast",
"chainLabel": "Blast",
"rpcUrls": [
"https://rpc.blast.io",
"https://rpc.ankr.com/blast"
"https://rpc.ankr.com/blast/{{ANKR_API_KEY}}",
"https://rpc.blast.io"
],
"nativeCurrency": {
"name": "Ether",
Expand All @@ -209,8 +211,8 @@
"chainName": "polygon-zkevm",
"chainLabel": "Polygon zkEVM",
"rpcUrls": [
"https://zkevm-rpc.com",
"https://rpc.ankr.com/polygon_zkevm"
"https://rpc.ankr.com/polygon_zkevm/{{ANKR_API_KEY}}",
"https://zkevm-rpc.com"
],
"nativeCurrency": {
"name": "Ether",
Expand Down Expand Up @@ -267,10 +269,10 @@
"chainId": 137,
"chainName": "polygon",
"rpcUrls": [
"https://rpc.ankr.com/polygon/{{ANKR_API_KEY}}",
"https://polygon-mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https://polygon-mainnet.g.alchemy.com/v2/{{ALCHEMY_API_KEY_POLYGON}}",
"https://polygon-rpc.com/",
"https://rpc.ankr.com/polygon"
"https://polygon-rpc.com/"
],
"nativeCurrency": {
"name": "Matic",
Expand Down Expand Up @@ -298,7 +300,7 @@
"chainId": 100,
"chainName": "gnosis",
"rpcUrls": [
"https://rpc.ankr.com/gnosis",
"https://rpc.ankr.com/gnosis/{{ANKR_API_KEY}}",
"https://rpc.gnosischain.com",
"https://rpc.xdaichain.com",
"https://xdai.poanetwork.dev/",
Expand All @@ -319,8 +321,8 @@
"chainId": 43114,
"chainName": "avalanche",
"rpcUrls": [
"https://rpc.ankr.com/avalanche/{{ANKR_API_KEY}}",
"https://avalanche-mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https://rpc.ankr.com/avalanche",
"https://api.avax.network/ext/bc/C/rpc"
],
"nativeCurrency": {
Expand All @@ -339,9 +341,9 @@
"chainId": 42220,
"chainName": "celo",
"rpcUrls": [
"https://rpc.ankr.com/celo/{{ANKR_API_KEY}}",
"https://celo-mainnet.infura.io/v3/{{INFURA_API_KEY}}",
"https: //celo.drpc.org",
"https://rpc.ankr.com/celo",
"https://forno.celo.org"
],
"nativeCurrency": {
Expand All @@ -359,8 +361,8 @@
"chainId": 250,
"chainName": "fantom",
"rpcUrls": [
"https://rpc.ankr.com/fantom/{{ANKR_API_KEY}}",
"https://rpc.ftm.tools/",
"https://rpc.ankr.com/fantom",
"https://rpcapi.fantom.network"
],
"nativeCurrency": {
Expand All @@ -379,8 +381,8 @@
"chainName": "bsc",
"chainLabel": "Binance Smart Chain",
"rpcUrls": [
"https://rpc.ankr.com/bsc/{{ANKR_API_KEY}}",
"https://bsc-rpc.publicnode.com",
"https://rpc.ankr.com/bsc",
"https://bsc-dataseed.binance.org",
"https://bsc-dataseed1.defibit.io",
"https://bsc-dataseed1.ninicoin.io"
Expand Down
16 changes: 12 additions & 4 deletions config/src/testnets.handlebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"chainId": 11155111,
"chainName": "sepolia",
"rpcUrls": [
"https://rpc.ankr.com/eth_sepolia/{{ANKR_API_KEY}}",
"https://sepolia.infura.io/v3/{{INFURA_API_KEY}}",
"https://rpc.ankr.com/eth_sepolia",
"https://rpc.sepolia.org"
],
"nativeCurrency": {
Expand All @@ -26,6 +26,7 @@
"chainId": 534351,
"chainName": "scroll-sepolia",
"rpcUrls": [
"https://rpc.ankr.com/scroll_sepolia_testnet/{{ANKR_API_KEY}}",
"https://sepolia-rpc.scroll.io/"
],
"nativeCurrency": {
Expand All @@ -46,6 +47,7 @@
"chainId": 84532,
"chainName": "base-sepolia",
"rpcUrls": [
"https://rpc.ankr.com/base_sepolia/{{ANKR_API_KEY}}",
"https://sepolia.base.org",
"https://base-sepolia.blockpi.network/v1/rpc/public"
],
Expand Down Expand Up @@ -87,6 +89,7 @@
"chainId": 168587773,
"chainName": "blast-sepolia",
"rpcUrls": [
"https://rpc.ankr.com/blast_testnet_sepolia/{{ANKR_API_KEY}}",
"https://sepolia.blast.io"
],
"nativeCurrency": {
Expand Down Expand Up @@ -257,6 +260,7 @@
"chainId": 17000,
"chainName": "holesky",
"rpcUrls": [
"https://rpc.ankr.com/eth_holesky/{{ANKR_API_KEY}}",
"https://ethereum-holesky.publicnode.com"
],
"nativeCurrency": {
Expand All @@ -275,6 +279,7 @@
"chainName": "taiko-katla",
"chainLabel": "Taiko Katla",
"rpcUrls": [
"https://rpc.ankr.com/taiko_katla/{{ANKR_API_KEY}}",
"https://rpc.katla.taiko.xyz"
],
"nativeCurrency": {
Expand All @@ -293,6 +298,7 @@
"chainId": 80002,
"chainName": "amoy",
"rpcUrls": [
"https://rpc.ankr.com/polygon_amoy/{{ANKR_API_KEY}}",
"https://polygon-amoy.infura.io/v3/{{INFURA_API_KEY}}",
"https://rpc-amoy.polygon.technology"
],
Expand Down Expand Up @@ -359,6 +365,7 @@
"chainId": 10200,
"chainName": "chiado",
"rpcUrls": [
"https://rpc.ankr.com/gnosis_testnet/{{ANKR_API_KEY}}",
"https://rpc.chiadochain.net",
"https://rpc.chiado.gnosis.gateway.fm"
],
Expand All @@ -378,8 +385,8 @@
"chainId": 43113,
"chainName": "fuji",
"rpcUrls": [
"https://rpc.ankr.com/avalanche_fuji/{{ANKR_API_KEY}}",
"https://avalanche-fuji.infura.io/v3/{{INFURA_API_KEY}}",
"https://rpc.ankr.com/avalanche_fuji",
"https://api.avax-test.network/ext/bc/C/rpc"
],
"nativeCurrency": {
Expand Down Expand Up @@ -418,8 +425,8 @@
"chainId": 4002,
"chainName": "fantom-testnet",
"rpcUrls": [
"https://rpc.testnet.fantom.network",
"https://rpc.ankr.com/fantom_testnet"
"https://rpc.ankr.com/fantom_testnet/{{ANKR_API_KEY}}",
"https://rpc.testnet.fantom.network"
],
"nativeCurrency": {
"name": "FTM",
Expand All @@ -437,6 +444,7 @@
"chainId": 97,
"chainName": "bsc-testnet",
"rpcUrls": [
"https://rpc.ankr.com/bsc_testnet_chapel/{{ANKR_API_KEY}}",
"https://bsc-testnet-rpc.publicnode.com",
"https://bsc-testnet.public.blastapi.io"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.4.0",
"main": "index.js",
"scripts": {
"clean": "pnpm -r clean && rm -rf node_modules pnpm-lock.yaml .turbo web/dapp",
"clean": "pnpm -r clean && rm -rf node_modules .turbo web/dapp",
"all": "pnpm clean && pnpm install && pnpm build",
"build": "turbo build",
"dev:dapp": "turbo dev -F sveltekit",
Expand Down

0 comments on commit 6580185

Please sign in to comment.