Skip to content

Commit

Permalink
add scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhihua81 committed Dec 28, 2023
1 parent f7b7f62 commit 03dcd2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 03dcd2b

Please sign in to comment.