0g-chain/precompiles/interfaces/hardhat.config.ts

34 lines
747 B
TypeScript
Raw Permalink Normal View History

2024-10-24 13:23:45 +00:00
import "hardhat-abi-exporter";
import { HardhatUserConfig } from "hardhat/types";
const config: HardhatUserConfig = {
paths: {
artifacts: "build/artifacts",
cache: "build/cache",
sources: "contracts",
},
solidity: {
compilers: [
{
version: "0.8.20",
settings: {
2024-11-11 05:37:45 +00:00
evmVersion: "istanbul",
2024-10-24 13:23:45 +00:00
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
abiExporter: {
path: "./abis",
runOnCompile: true,
clear: true,
flat: true,
format: "json",
},
};
export default config;