From e955305a78b3903be4a782335ce4f575eabd726a Mon Sep 17 00:00:00 2001 From: andreivladbrg Date: Wed, 31 Jul 2024 16:03:38 +0300 Subject: [PATCH] build: add more endpoints --- .env.deployment.example | 1 + foundry.toml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/.env.deployment.example b/.env.deployment.example index 629c2875e..b90a36a77 100644 --- a/.env.deployment.example +++ b/.env.deployment.example @@ -17,6 +17,7 @@ export BASESCAN_API_KEY="YOUR_API_KEY" export BSCSCAN_API_KEY="YOUR_API_KEY" export ETHERSCAN_API_KEY="YOUR_API_KEY" export GNOSISSCAN_API_KEY="YOUR_API_KEY" +export LINEASCAN_API_KEY="YOUR_API_KEY" export OPTIMISTIC_API_KEY="YOUR_API_KEY" export POLYGONSCAN_API_KEY="YOUR_API_KEY" export SCROLLSCAN_API_KEY="YOUR_API_KEY" diff --git a/foundry.toml b/foundry.toml index 4959d4d8a..3a6303abc 100644 --- a/foundry.toml +++ b/foundry.toml @@ -88,6 +88,29 @@ out = "docs" repository = "https://github.com/sablier-labs/v2-core" +[etherscan] + arbitrum = { key = "${ARBISCAN_API_KEY}" } + arbitrum_sepolia = { key = "${ARBISCAN_API_KEY}" } + avalanche = { key = "${SNOWTRACE_API_KEY}" } + base = { key = "${BASESCAN_API_KEY}" } + base_sepolia = { key = "${BASESCAN_API_KEY}" } + berachain_artio = { key = "verifyContract", url = "https://api.routescan.io/v2/network/testnet/evm/80085/etherscan" } + bnb = { key = "${BSCSCAN_API_KEY}" } + gnosis = { key = "${GNOSISSCAN_API_KEY}" } + linea = { key = "${LINEASCAN_API_KEY}" } + linea_sepolia = { key = "${LINEASCAN_API_KEY}" } + mainnet = { key = "${ETHERSCAN_API_KEY}" } + mode = { key = "verifyContract", url = "https://explorer.mode.network/api?" } + mode_sepolia = { key = "verifyContract", url = "https://sepolia.explorer.mode.network/api?" } + optimism = { key = "${OPTIMISTIC_API_KEY}" } + optimism_sepolia = { key = "${OPTIMISTIC_API_KEY}" } + polygon = { key = "${POLYGONSCAN_API_KEY}" } + scroll = { key = "${SCROLLSCAN_API_KEY}" } + sei = { key = "verifyContract", url = "https://seitrace/pacific-1/api?" } + sei_testnet = { key = "verifyContract", url = "https://blockscout.com/poa/core/api?" } + sepolia = { key = "${SEPOLIASCAN_KEY}" } + taiko_hekla = { key = "verifyContract", url = "https://blockscoutapi.hekla.taiko.xyz/api?" } + [fmt] bracket_spacing = true int_types = "long" @@ -104,12 +127,20 @@ avalanche = "${AVALANCHE_RPC_URL}" base = "https://mainnet.base.org" base_sepolia = "https://sepolia.base.org" + berachain_artio = "https://bartio.rpc.berachain.com/" bnb = "https://bsc-dataseed.binance.org" gnosis = "https://rpc.gnosischain.com" + linea = "https://rpc.linea.build" + linea_sepolia = "https://rpc.sepolia.linea.build" localhost = "http://localhost:8545" mainnet = "${MAINNET_RPC_URL}" + mode = "https://mainnet.mode.network/" + mode_sepolia = "https://sepolia.mode.network/" optimism = "${OPTIMISM_RPC_URL}" optimism_sepolia = "https://sepolia.optimism.io" polygon = "${POLYGON_RPC_URL}" scroll = "https://rpc.scroll.io/" + sei = "https://evm-rpc.sei-apis.com" + sei_testnet = "https://evm-rpc-testnet.sei-apis.com" sepolia = "${SEPOLIA_RPC_URL}" + taiko_hekla = "https://rpc.hekla.taiko.xyz" \ No newline at end of file