Skip to content

Commit

Permalink
Merge pull request #3 from GenerationSoftware/update-npm-and-chains
Browse files Browse the repository at this point in the history
update npm and chain info
  • Loading branch information
trmid authored Dec 22, 2023
2 parents f08a56b + a70cd2b commit b5ae1fb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
8 changes: 3 additions & 5 deletions .envrc.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ export PRIVATE_KEY=""
export MAINNET_RPC_URL=""
export ARBITRUM_RPC_URL=""
export OPTIMISM_RPC_URL=""
export POLYGON_RPC_URL=""

# Testnet RPC URLs
export GOERLI_RPC_URL=""
export ARBITRUM_GOERLI_RPC_URL=""
export OPTIMISM_GOERLI_RPC_URL=""
export POLYGON_MUMBAI_RPC_URL=""
export SEPOLIA_RPC_URL=""
export ARBITRUM_SEPOLIA_RPC_URL=""
export OPTIMISM_SEPOLIA_RPC_URL=""

# Used for verifying contracts on Etherscan
export ETHERSCAN_API_KEY=""
Expand Down
16 changes: 6 additions & 10 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,18 @@ gas_reports = ["Foo"]
mainnet = "${MAINNET_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"

goerli = "${GOERLI_RPC_URL}"
arbitrum-goerli = "${ARBITRUM_GOERLI_RPC_URL}"
optimism-goerli = "${OPTIMISM_GOERLI_RPC_URL}"
polygon-mumbai = "${POLYGON_MUMBAI_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
arbitrum-sepolia = "${ARBITRUM_SEPOLIA_RPC_URL}"
optimism-sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}"

[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}", url = "https://api.etherscan.io/api" }
arbitrum = { key = "${ARBITRUM_ETHERSCAN_API_KEY}", url = "https://api.arbiscan.io/api" }
optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "https://api-optimistic.etherscan.io/api" }
polygon = { key = "${POLYGONSCAN_API_KEY}", url = "https://api.polygonscan.com/api" }

goerli = { key = "${ETHERSCAN_API_KEY}", url = "https://api-goerli.etherscan.io/api" }
arbitrum-goerli = { key = "${ARBITRUM_ETHERSCAN_API_KEY}", url = "https://api-goerli.arbiscan.io/api" }
optimism-goerli = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "https://api-goerli-optimistic.etherscan.io/api" }
polygon-mumbai = { key = "${POLYGONSCAN_API_KEY}", url = "https://api-testnet.polygonscan.com/api" }
sepolia = { key = "${ETHERSCAN_API_KEY}", url = "https://api-sepolia.etherscan.io/api" }
arbitrum-sepolia = { key = "${ARBITRUM_ETHERSCAN_API_KEY}", url = "https://api-sepolia.arbiscan.io/api" }
optimism-sepolia = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "https://api-sepolia-optimistic.etherscan.io/api" }

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@pooltogether/foundry-template",
"name": "@generationsoftware/foundry-template",
"version": "1.0.0",
"description": "Template to kickstart a Foundry project",
"author": {
"name": "PoolTogether Inc.",
"url": "https://github.com/pooltogether"
"name": "G9 Software Inc.",
"url": "https://github.com/GenerationSoftware"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pooltogether/foundry-template.git"
"url": "git+https://github.com/GenerationSoftware/foundry-template.git"
},
"scripts": {
"clean": "forge clean",
Expand Down

0 comments on commit b5ae1fb

Please sign in to comment.