From 9178788a0fac0c24064c0181b9574455eb62c9f0 Mon Sep 17 00:00:00 2001 From: wcgcyx Date: Wed, 21 Feb 2024 13:56:34 +1000 Subject: [PATCH] Create resetchain.config.ts --- scripts/localdev/resetchain.config.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/localdev/resetchain.config.ts diff --git a/scripts/localdev/resetchain.config.ts b/scripts/localdev/resetchain.config.ts new file mode 100644 index 00000000..116a3eba --- /dev/null +++ b/scripts/localdev/resetchain.config.ts @@ -0,0 +1,21 @@ +import { HardhatUserConfig } from "hardhat/config"; +import "@nomicfoundation/hardhat-toolbox"; + +const config: HardhatUserConfig = { + networks: { + hardhat: { + hardfork: "shanghai", + mining: { + auto: false, + interval: 1200 + }, + chainId: 2502, + accounts: [], + }, + localhost: { + url: "http://127.0.0.1:8502/", + } + }, + solidity: "0.8.19", +}; +export default config; \ No newline at end of file