In Progress Add Mock

This commit is contained in:
2024-08-04 04:51:48 +08:00
parent 89363c573a
commit 6e9c6dd633
9 changed files with 254 additions and 78 deletions
+9
View File
@@ -8,6 +8,7 @@ require("./tasks/block-number");
require("hardhat-gas-reporter");
require("solidity-coverage");
require("ethereum-waffle");
require("hardhat-deploy");
const RPC_URL_SEPOLIA = process.env.SEPOLIA_RPC_URL || "https://eth-sepolia";
const PRIVATE_KEY_SEPOLIA = process.env.SEPOLIA_PRIVATE_KEY || "0xkey";
@@ -63,6 +64,14 @@ module.exports = {
noColors: true,
},
plugins: ["@nomiclabs/hardhat-waffle"],
namedAccounts: {
deployer: {
default: 0,
},
user: {
default: 1,
},
},
};
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {