Initial commit
This commit is contained in:
49
hardhat.config.ts
Normal file
49
hardhat.config.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
import "dotenv/config";
|
||||
|
||||
import hardhatToolboxViemPlugin from "@nomicfoundation/hardhat-toolbox-viem";
|
||||
import { configVariable, defineConfig } from "hardhat/config";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [hardhatToolboxViemPlugin],
|
||||
solidity: {
|
||||
profiles: {
|
||||
default: {
|
||||
version: "0.8.28",
|
||||
},
|
||||
production: {
|
||||
version: "0.8.28",
|
||||
settings: {
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
runs: 200,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
networks: {
|
||||
hardhatMainnet: {
|
||||
type: "edr-simulated",
|
||||
chainType: "l1",
|
||||
},
|
||||
hardhatOp: {
|
||||
type: "edr-simulated",
|
||||
chainType: "op",
|
||||
},
|
||||
sepolia: {
|
||||
type: "http",
|
||||
chainType: "l1",
|
||||
url: configVariable("SEPOLIA_RPC_URL"),
|
||||
accounts: [configVariable("SEPOLIA_PRIVATE_KEY")],
|
||||
},
|
||||
next: {
|
||||
type: "http",
|
||||
chainId: 1337,
|
||||
chainType: "l1",
|
||||
url: "https://eth.code-camp.org",
|
||||
accounts: {
|
||||
mnemonic: configVariable("MNEMONICS"),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user