Skip to content

Commit

Permalink
Deployed to Base Sepolia, modified hardhat config, modified deploy sc…
Browse files Browse the repository at this point in the history
…ript for Base Sepolia
  • Loading branch information
broken-byte committed Jun 19, 2024
1 parent 0139daf commit f021c94
Show file tree
Hide file tree
Showing 7 changed files with 53,924 additions and 7 deletions.
21 changes: 17 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";

const ALCHEMY_BASE_MAINNET_API_KEY: string = process.env.ALCHEMY_API_KEY!!;
const BASE_ENGINEERING_DEPLOYER_PRIVATE_KEY: string = process.env.BASE_ENGINEERING_DEPLOYER_PRIVATE_KEY!!;
const ALCHEMY_BASE_SEPLOYIA_API_KEY: string = process.env.ALCHEMY_BASE_SEPOLIA_API_KEY!!;
const BASESCAN_BASED_WHALE_API_KEY: string = process.env.BASESCAN_BASED_WHALE_API_KEY!!;

const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
hardhat: {
forking: {
url: `https://base-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`,
url: `https://base-mainnet.g.alchemy.com/v2/${ALCHEMY_BASE_MAINNET_API_KEY}`,
blockNumber: 15972484
}
}
}
},
},
// Base Sepolia
sepolia: {
url: `https://base-sepolia.g.alchemy.com/v2/${ALCHEMY_BASE_SEPLOYIA_API_KEY}`,
accounts: [BASE_ENGINEERING_DEPLOYER_PRIVATE_KEY],
},
},
etherscan: {
apiKey: BASESCAN_BASED_WHALE_API_KEY,
},
};

export default config;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/20347fb4e2fe24b67c06bbc7cb0f9af4.json"
}
Loading

0 comments on commit f021c94

Please sign in to comment.