This commit is contained in:
2026-10-20 10:48:13 +02:00
parent 5d32f0a3da
commit d2171d3f69
18 changed files with 3706 additions and 7 deletions

View File

@@ -0,0 +1,39 @@
import hardhatToolboxMochaEthersPlugin from "@nomicfoundation/hardhat-toolbox-mocha-ethers";
import { configVariable, defineConfig } from "hardhat/config";
import "dotenv/config";
export default defineConfig({
plugins: [hardhatToolboxMochaEthersPlugin],
solidity: {
profiles: {
default: {
version: "0.8.34",
},
production: {
version: "0.8.34",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
},
},
networks: {
hardhatMainnet: {
type: "edr-simulated",
chainType: "l1",
},
hardhatOp: {
type: "edr-simulated",
chainType: "op",
},
bscTestnet: {
type: "http",
chainType: "l1",
url: configVariable("BSC_TESTNET_RPC"),
accounts: [configVariable("PRIVATE_KEY")],
},
},
});