Skip to content

Commit

Permalink
➕ Add Plume Test Network Configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Oct 9, 2024
1 parent 2b561e9 commit 337b7b5
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 169 deletions.
18 changes: 17 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const config: HardhatUserConfig = {
},
},
zksolc: {
version: "1.5.3",
version: "1.5.4",
compilerSource: "binary",
settings: {
enableEraVMExtensions: false,
Expand Down Expand Up @@ -869,6 +869,12 @@ const config: HardhatUserConfig = {
accounts,
ledgerAccounts,
},
plumeTestnet: {
chainId: 98864,
url: vars.get("PLUME_TESTNET_URL", "https://test-rpc.plumenetwork.xyz"),
accounts,
ledgerAccounts,
},
},
xdeploy: {
contract: "CobieEscrow",
Expand Down Expand Up @@ -1068,6 +1074,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
plumeTestnet: vars.get("PLUME_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -1724,6 +1732,14 @@ const config: HardhatUserConfig = {
browserURL: "https://worldchain-sepolia.explorer.alchemy.com",
},
},
{
network: "plumeTestnet",
chainId: 98864,
urls: {
apiURL: "https://test-explorer.plumenetwork.xyz/api",
browserURL: "https://test-explorer.plumenetwork.xyz",
},
},
],
},
// tenderly: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"deploy:sapphiremain": "npx hardhat run --network sapphireMain scripts/deploy.ts",
"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",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"solhint:check": "npx solhint \"contracts/**/*.sol\"",
Expand Down Expand Up @@ -176,7 +177,7 @@
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"ethers": "^6.13.3",
"hardhat": "^2.22.12",
"hardhat": "^2.22.13",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.2.1",
Expand All @@ -186,7 +187,7 @@
"solidity-coverage": "^0.8.13",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.6.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1",
"xdeployer": "^3.1.2",
"zksync-ethers": "^6.13.1"
Expand Down
Loading

0 comments on commit 337b7b5

Please sign in to comment.