From 30490ce393fbee51207fa9394ff71940ebedb9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 24 Aug 2023 14:52:38 +0200 Subject: [PATCH] "Fix" default network name in hardhat config Some scripts require "hardhat" while others require "localhost". But we can fix whatever doesn't work directly in the package config. --- hardhat.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardhat.config.js b/hardhat.config.js index 2a717c3..1190ee2 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -62,7 +62,7 @@ task("create-wallet", "Creates a new wallet json", async () => { */ module.exports = { solidity: "0.8.2", - defaultNetwork: "hardhat", + defaultNetwork: "localhost", networks: { hardhat: { chainId: 1337,