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

feat: Updated and added new networks to the hardhat.config.ts #234

Merged
merged 3 commits into from
Jun 21, 2024
Merged
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
26 changes: 23 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dotenv.config();
// Using a hardcoded solution to avoid GitHub actions issues
const DEPLOYER_PRIVATE_KEY =
process.env.DEPLOYER_PRIVATE_KEY ||
"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80";
"";

const config: HardhatUserConfig = {
solidity: {
Expand All @@ -34,8 +34,28 @@ const config: HardhatUserConfig = {
url: `${process.env.SEPOLIA_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
mumbai: {
url: `${process.env.MUMBAI_RPC_URL}`,
amoy: {
url: `${process.env.AMOY_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
opsepolia: {
url: `${process.env.OPSEPOLIA_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
fuji: {
url: `${process.env.FUJI_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
bnb_testnet: {
url: `${process.env.BNB_TESTNET_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
arbitrum_sepolia: {
url: `${process.env.ARBITRUM_SEPOLIA_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
base_sepolia: {
url: `${process.env.BASE_SEPOLIA_RPC_URL}`,
accounts: [`${DEPLOYER_PRIVATE_KEY}`],
},
/**
Expand Down
Loading