Files
tokenizer/tokenizerRendu/code/hardhat.config.ts
2026-10-20 10:48:13 +02:00

40 lines
868 B
TypeScript

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")],
},
},
});