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

deploy on base sepolia #55

Merged
merged 1 commit into from
Nov 28, 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 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,
},
mehdi-torabiv marked this conversation as resolved.
Show resolved Hide resolved
},
etherscan: {
apiKey: {
sepolia: ETHERSCAN_API_KEY,
optimismSepolia: OPTIMISM_ETHERSCAN_API_KEY,
baseSepolia: BASESCAN_API_KEY
mehdi-torabiv marked this conversation as resolved.
Show resolved Hide resolved
},
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