From 03dcd2b055b94db7751663a515cf9fe9de63c858 Mon Sep 17 00:00:00 2001 From: Elliott He Date: Thu, 28 Dec 2023 14:22:43 +0800 Subject: [PATCH] add scroll --- hardhat.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hardhat.config.ts b/hardhat.config.ts index 6e1bc81bd..d650724c0 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -245,6 +245,9 @@ const basePrivateKey = process.env.BASE_PRIVATE_KEY || DEFAULT_PRIVATE_KEY; const telosEndpoint = process.env.TELOS_ENDPOINT || DEFAULT_ENDPOINT; const telosPrivateKey = process.env.TELOS_PRIVATE_KEY || DEFAULT_PRIVATE_KEY; +const scrollEndpoint = process.env.SCROLL_ENDPOINT || DEFAULT_ENDPOINT; +const scrollPrivateKey = process.env.SCROLL_PRIVATE_KEY || DEFAULT_PRIVATE_KEY; + const zksyncEraEndpoint = process.env.ZKSYNC_ERA_ENDPOINT || DEFAULT_ENDPOINT; const zksyncEraPrivateKey = process.env.ZKSYNC_ERA_PRIVATE_KEY || DEFAULT_PRIVATE_KEY; @@ -427,6 +430,7 @@ const config: HardhatUserConfig = { linea: getNetworkConfig(lineaEndpoint, kmsKeyId, lineaPrivateKey), base: getNetworkConfig(baseEndpoint, kmsKeyId, basePrivateKey), telos: getNetworkConfig(telosEndpoint, kmsKeyId, telosPrivateKey), + scroll: getNetworkConfig(scrollEndpoint, kmsKeyId, scrollPrivateKey), zksyncEra: zksyncEraNetwork }, namedAccounts: {