Skip to content

Commit

Permalink
deploy on base sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Nov 26, 2024
1 parent 29aec65 commit da0fa9c
Show file tree
Hide file tree
Showing 8 changed files with 90,057 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This project is built with Solidity, Hardhat, and OpenZeppelin libraries, ensuri
|-------------------------------------------------------------------------------------------------|--------------------------|
| N/A | Sepolia |
| https://sepolia-optimism.etherscan.io/address/0xd826769f1844cc83a16923d2aef8a479e62da732 | Optimisim Sepolia |
| https://sepolia.basescan.org/address/0xCc80586fd99f6804013eA2D43169fc60e466D354 | Base Sepolia |

---

Expand Down
11 changes: 11 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const OPTIMISM_ETHERSCAN_API_KEY = vars.has("OPTIMISM_ETHERSCAN_API_KEY")
? vars.get("OPTIMISM_ETHERSCAN_API_KEY")
: "";

const BASESCAN_API_KEY = vars.has("BASESCAN_API_KEY")
? vars.get("BASESCAN_API_KEY")
: "";

const config: HardhatUserConfig = {
solidity: "0.8.26",
networks: {
Expand All @@ -27,11 +31,18 @@ const config: HardhatUserConfig = {
url: "https://sepolia.optimism.io",
gasMultiplier: 1.2,
},
baseSepolia: {
chainId: 84532,
accounts: [PRIVATE_KEY],
url: "https://sepolia.base.org/",
gasMultiplier: 1.3,
},
},
etherscan: {
apiKey: {
sepolia: ETHERSCAN_API_KEY,
optimismSepolia: OPTIMISM_ETHERSCAN_API_KEY,
baseSepolia: BASESCAN_API_KEY
},
customChains: [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4e58f17c75b86363e11bf0ecd1dbfa6a.json"
}
Loading

0 comments on commit da0fa9c

Please sign in to comment.