Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more endpoints in foundry.toml #1006

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.deployment.example
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
31 changes: 31 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"