Skip to content

Commit

Permalink
build: rename RPC URL (#188)
Browse files Browse the repository at this point in the history
build: add more testnets in foundry.toml
  • Loading branch information
andreivladbrg authored Jul 18, 2024
1 parent 6722f94 commit 447df2e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Run `cp .env.example .env` command to create your .env file
export API_KEY_INFURA="YOUR_API_KEY_INFURA"
export EOA="YOUR_EOA_ADDRESS"
export FOUNDRY_PROFILE="lite"
export MNEMONIC="YOUR_MNEMONIC"
export RPC_URL_MAINNET="YOUR_RPC_URL_MAINNET"
export MAINNET_RPC_URL="YOUR_MAINNET_RPC_URL"
17 changes: 10 additions & 7 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,17 @@
wrap_comments = true

[rpc_endpoints]
arbitrum = "https://arbitrum-mainnet.infura.io/v3/${API_KEY_INFURA}"
avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}"
arbitrum = "${ARBITRUM_RPC_URL}"
arbitrum_sepolia = "https://arbitrum-sepolia.blockpi.network/v1/rpc/public"
avalanche = "${AVALANCHE_RPC_URL}"
base = "https://mainnet.base.org"
base_sepolia = "https://sepolia.base.org"
bnb = "https://bsc-dataseed.binance.org"
gnosis = "https://rpc.gnosischain.com"
localhost = "http://localhost:8545"
ethereum = "${RPC_URL_MAINNET}"
mainnet = "${RPC_URL_MAINNET}"
optimism = "https://optimism-mainnet.infura.io/v3/${API_KEY_INFURA}"
polygon = "https://polygon-mainnet.infura.io/v3/${API_KEY_INFURA}"
sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"
mainnet = "${MAINNET_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
optimism_sepolia = "https://sepolia.optimism.io"
polygon = "${POLYGON_RPC_URL}"
scroll = "https://rpc.scroll.io/"
sepolia = "${SEPOLIA_RPC_URL}"

0 comments on commit 447df2e

Please sign in to comment.