|
@@ -1,18 +1,13 @@
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
-import { config as dotenvConfig } from "dotenv";
|
|
|
|
import "hardhat-deploy";
|
|
import "hardhat-deploy";
|
|
import type { HardhatUserConfig } from "hardhat/config";
|
|
import type { HardhatUserConfig } from "hardhat/config";
|
|
import { vars } from "hardhat/config";
|
|
import { vars } from "hardhat/config";
|
|
import type { NetworkUserConfig } from "hardhat/types";
|
|
import type { NetworkUserConfig } from "hardhat/types";
|
|
-import { resolve } from "path";
|
|
|
|
|
|
|
|
import "./tasks/accounts";
|
|
import "./tasks/accounts";
|
|
import "./tasks/greet";
|
|
import "./tasks/greet";
|
|
import "./tasks/taskDeploy";
|
|
import "./tasks/taskDeploy";
|
|
|
|
|
|
-const dotenvConfigPath: string = process.env.DOTENV_CONFIG_PATH || "./.env";
|
|
|
|
-dotenvConfig({ path: resolve(__dirname, dotenvConfigPath) });
|
|
|
|
-
|
|
|
|
// Run 'npx hardhat vars setup' to see the list of variables that need to be set
|
|
// Run 'npx hardhat vars setup' to see the list of variables that need to be set
|
|
|
|
|
|
const mnemonic: string = vars.get("MNEMONIC");
|
|
const mnemonic: string = vars.get("MNEMONIC");
|