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 01dfcff commit cbfacf2
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 39 deletions.
17 changes: 16 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,12 @@ const config: HardhatUserConfig = {
accounts,
ledgerAccounts,
},
plumeMain: {
chainId: 98865,
url: vars.get("PLUME_MAINNET_URL", "https://rpc.plumenetwork.xyz"),
accounts,
ledgerAccounts,
},
unichainTestnet: {
chainId: 1301,
url: vars.get("UNICHAIN_TESTNET_URL", " https://sepolia.unichain.org"),
Expand Down Expand Up @@ -1165,7 +1171,8 @@ const config: HardhatUserConfig = {
// For World Chain testnet & mainnet
worldChain: vars.get("WORLD_CHAIN_API_KEY", ""),
worldChainTestnet: vars.get("WORLD_CHAIN_API_KEY", ""),
// For Plume testnet
// For Plume testnet & mainnet
plume: vars.get("PLUME_API_KEY", ""),
plumeTestnet: vars.get("PLUME_API_KEY", ""),
// For Unichain testnet
unichainTestnet: vars.get("UNICHAIN_API_KEY", ""),
Expand Down Expand Up @@ -1848,6 +1855,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 @@ -147,6 +147,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
77 changes: 39 additions & 38 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 cbfacf2

Please sign in to comment.