From 35f1d17423b62a32a68663d6506cff58d59d459c Mon Sep 17 00:00:00 2001 From: yu-zhen Date: Thu, 20 Jun 2024 22:25:38 +0800 Subject: [PATCH] chore: add mnemonic to hardhat config file --- coordinator/hardhat.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/coordinator/hardhat.config.js b/coordinator/hardhat.config.js index de9e7d84ce..8645369db0 100644 --- a/coordinator/hardhat.config.js +++ b/coordinator/hardhat.config.js @@ -7,12 +7,19 @@ const path = require("path"); dotenv.config(); const parentDir = __dirname.includes("build") ? ".." : ""; +const TEST_MNEMONIC = "test test test test test test test test test test test junk"; module.exports = { defaultNetwork: "localhost", networks: { localhost: { url: process.env.COORDINATOR_RPC_URL, + accounts: { + mnemonic: TEST_MNEMONIC, + path: "m/44'/60'/0'/0", + initialIndex: 0, + count: 20, + }, loggingEnabled: false, }, hardhat: {