Skip to content

Commit

Permalink
➕ Add Plume Main Network Configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 19, 2024
1 parent b9acd81 commit 052b77a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
17 changes: 16 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,12 @@ const config: HardhatUserConfig = {
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
plumeMain: {
chainId: 98865,
url: process.env.PLUME_MAINNET_URL || "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
unichainTestnet: {
chainId: 1301,
url: process.env.UNICHAIN_TESTNET_URL || "",
Expand Down Expand Up @@ -1011,7 +1017,8 @@ const config: HardhatUserConfig = {
// For World Chain testnet & mainnet
worldChain: process.env.WORLD_CHAIN_API_KEY || "",
worldChainTestnet: process.env.WORLD_CHAIN_API_KEY || "",
// For Plume testnet
// For Plume testnet & mainnet
plume: process.env.PLUME_API_KEY || "",
plumeTestnet: process.env.PLUME_API_KEY || "",
// For Unichain testnet
unichainTestnet: process.env.UNICHAIN_API_KEY || "",
Expand Down Expand Up @@ -1702,6 +1709,14 @@ const config: HardhatUserConfig = {
browserURL: "https://worldchain-sepolia.explorer.alchemy.com",
},
},
{
network: "plume",
chainId: 98865,
urls: {
apiURL: "https://explorer.plumenetwork.xyz/api",
browserURL: "https://explorer.plumenetwork.xyz",
},
},
{
network: "plumeTestnet",
chainId: 98864,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"deploy:worldchaintestnet": "npx hardhat run --network worldChainTestnet scripts/deploy.ts",
"deploy:worldchainmain": "npx hardhat run --network worldChainMain scripts/deploy.ts",
"deploy:plumetestnet": "npx hardhat run --network plumeTestnet scripts/deploy.ts",
"deploy:plumemain": "npx hardhat run --network plumeMain scripts/deploy.ts",
"deploy:unichaintestnet": "npx hardhat run --network unichainTestnet scripts/deploy.ts",
"deploy:xdctestnet": "npx hardhat run --network xdcTestnet scripts/deploy.ts",
"deploy:xdcmain": "npx hardhat run --network xdcMain scripts/deploy.ts",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

0 comments on commit 052b77a

Please sign in to comment.