Skip to content

Commit

Permalink
feat(foundry.toml): RPC Endpoints
Browse files Browse the repository at this point in the history
add exhaustive list of RPC endpoints
  • Loading branch information
sambacha authored Dec 13, 2024
1 parent 104c181 commit b5e106c
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,97 @@ stackAllocation = true

[bind_json]
out = "utils/JsonBindings.sol"

## RPC Endpoints

[rpc_endpoints]
mainnet = "${RPC_URL_MAINNET}"
arbitrum = "${RPC_URL_ARBITRUM}"
aurora = "${RPC_URL_AURORA}"
avalanche = "${RPC_URL_AVALANCHE}"
base = "${RPC_URL_BASE}"
blast = "${RPC_URL_BLAST}"
boba = "${RPC_URL_BOBA}"
bsc = "${RPC_URL_BSC}"
celo = "${RPC_URL_CELO}"
cronos = "${RPC_URL_CRONOS}"
evmos = "${RPC_URL_EVMOS}"
fantom = "${RPC_URL_FANTOM}"
fraxtal = "${RPC_URL_FRAXTAL}"
fuse = "${RPC_URL_FUSE}"
harmony = "${RPC_URL_HARMONY}"
gnosis = "${RPC_URL_GNOSIS}"
gravity = "${RPC_URL_GRAVITY}"
immutablezkevm = "${RPC_URL_IMMUTABLEZKEVM}"
kaia = "${RPC_URL_KAIA}"
linea = "${RPC_URL_LINEA}"
lisk = "${RPC_URL_LISK}"
mantle = "${RPC_URL_MANTLE}"
metis = "${RPC_URL_METIS}"
mode = "${RPC_URL_MODE}"
moonbeam = "${RPC_URL_MOONBEAM}"
moonriver = "${RPC_URL_MOONRIVER}"
nova = "${RPC_URL_NOVA}"
okx = "${RPC_URL_OKX}"
opbnb = "${RPC_URL_OPBNB}"
optimism = "${RPC_URL_OPTIMISM}"
polygon = "${RPC_URL_POLYGON}"
rootstock = "${RPC_URL_ROOTSTOCK}"
scroll = "${RPC_URL_SCROLL}"
sei = "${RPC_URL_SEI}"
taiko = "${RPC_URL_TAIKO}"
velas = "${RPC_URL_VELAS}"
xlayer = "${RPC_URL_XLAYER}"
worldchain = "${RPC_URL_WORLDCHAIN}"
zksync = "${RPC_URL_ZKSYNC}"
zkevm = "${RPC_URL_ZKEVM}"

# testnets
goerli = "${RPC_URL_GOERLI}"
sepolia = "${RPC_URL_SEPOLIA}"
mumbai = "${RPC_URL_MUMBAI}"
arbitrum-goerli = "${RPC_URL_ARBITRUM_GOERLI}"
consensys-zkevm-testnet = "${RPC_URL_CONSENSYS_ZKEVM_TESTNET}"
bsc-testnet = "${RPC_URL_BSC_TESTNET}"
scroll-alpha = "${RPC_URL_SCROLL_ALPHA}"
beratest = "${RPC_URL_BERATEST}"

[etherscan]
mainnet = { key = "${ETHERSCAN_KEY}" }
arbitrum = { key = "${ARBISCAN_KEY}", url = "https://api.arbiscan.io/api" }
avalanche = { key = "${SNOWTRACE_KEY}", url = "https://api.snowtrace.io/api" }
base = { key = "${BASESCAN_API_KEY}", url = "https://api.basescan.org/api" }
blast = { key = "${BLASTSCAN_API_KEY}", url = "https://api.blastscan.org/api" }
bsc = { key = "${BSCSCAN_KEY}", url = "https://api.bscscan.com/api" }
gnosis = { key = "${GNOSISBSCOUT_KEY}", url = "https://blockscout.com/poa/xdai/api" }
fantom = { key = "${FTMSCAN_KEY}", url = "https://api.ftmscan.com/api" }
fraxtal = { key = "${FRAXSCAN_API_KEY}", url = "https://api.fraxscan.com/api" }
gravity = { key = "${GRAVITYSCAN_API_KEY}", url = "https://explorer.gravity.xyz/api", verifier = "blockscout", chain = 1625}
immutablezkevm = { key = "${IMMUTABLEZKEVM_API_KEY}", url = "https://explorer.immutable.com/api", verifier = "blockscout", chain = 13371}
kaia = { key = "${KAIA_API_KEY}", url = "https://kaiascope.com/api", verifier = "blockscout", chain = 8217 }
linea = { key = "${LINEASCAN_API_KEY}", url = "https://api.lineascan.build/api" }
lisk = { key = "${LISK_API_KEY}", url = "https://blockscout.lisk.com/api", chain = 1135, verifier = "blockscout" }
mantle = { key = "${MANTLESCAN_API_KEY}", url = "https://api.mantlescan.xyz/api" }
metis = { key = "${METISSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan" }
mode = { key = "${MODESCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan" }
moonbeam = { key = "${MOONBEAM_MOONSCAN_KEY}", url = "https://api-moonbeam.moonscan.io/api" }
moonriver = { key = "${MOONRIVER_MOONSCAN_KEY}", url = "https://api-moonriver.moonscan.io/api" }
nova = { key = "${NOVA_ARBISCAN_KEY}", url = "https://nova.arbiscan.io/api" }
optimism = { key = "${OPTIMISM_ETHERSCAN_KEY}", url = "https://api-optimistic.etherscan.io/api" }
polygon = { key = "${POLYGONSCAN_KEY}", url = "https://api.polygonscan.com/api" }
rootstock = { key = "${RSKSCAN_API_KEY}", url = "https://api.rskscan.com/api" }
scroll = { key = "${SCROLLSCAN_API_KEY}", url = "https://api.scrollscan.com/api" }
sei = { key = "${SEISCAN_API_KEY}", url = "https://api.seitrace.com/api" }
taiko = { key = "${TAIKO_API_KEY}", url = "https://api.taikoscan.io/api" }
worldchain = { key = "${WORLDCHAIN_API_KEY}", url = "https://api.worldscan.org/api" }
xlayer = { key = "${XLAYER_API_KEY}", url = "https://www.oklink.com/api/v5/explorer/xlayer/api", chain = 196 }

#testnets
goerli = { key = "${ETHERSCAN_KEY}" }
sepolia = { key = "${ETHERSCAN_KEY}" }
mumbai = { key = "${POLYGONSCAN_KEY}", url = "https://api-testnet.polygonscan.com/api" }
arbitrum-goerli = { key = "${ARBISCAN_KEY}", url = "https://api-goerli.arbiscan.io/api" }
beratest = { key = "${BERATEST_API_KEY}", url = "https://api.routescan.io/v2/network/testnet/evm/80084/etherscan/api", chain = "80084" }

include = []
exclude = []

0 comments on commit b5e106c

Please sign in to comment.