29 lines
605 B
TypeScript
29 lines
605 B
TypeScript
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
|
|
const config: HardhatUserConfig = {
|
|
solidity: {
|
|
version: "0.8.27",
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 500,
|
|
},
|
|
viaIR: true,
|
|
},
|
|
},
|
|
networks: {
|
|
localhost: {
|
|
url: "http://127.0.0.1:8545",
|
|
},
|
|
besu: {
|
|
url: "http://192.168.11.36:8545",
|
|
accounts: ["8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63"],
|
|
gasPrice: 0,
|
|
gas: 0x1ffffffffffffe,
|
|
chainId: 1337,
|
|
},
|
|
},
|
|
};
|
|
export default config;
|