Skip to content

Commit 56887b8

Browse files
chore(hardhat): enable auto mining (#13)
1 parent be81643 commit 56887b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

hardhat.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ task("accounts", "Prints the list of accounts", async () => {
1717
* @type import('hardhat/config').HardhatUserConfig
1818
*/
1919
module.exports = {
20+
defaultNetwork: "hardhat",
21+
networks: {
22+
hardhat: {
23+
chainId: 1337,
24+
mining: {
25+
auto: false,
26+
interval: [3000, 6000]
27+
}
28+
},
29+
},
2030
solidity: "0.6.0",
2131
};
2232

0 commit comments

Comments
 (0)