36 lines
653 B
TypeScript
36 lines
653 B
TypeScript
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
import "hardhat-storage-layout";
|
|
|
|
const config: HardhatUserConfig = {
|
|
defaultNetwork: 'hardhat',
|
|
solidity: {
|
|
compilers: [
|
|
{
|
|
version: '0.8.25',
|
|
settings: {
|
|
evmVersion: 'paris',
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
version: '0.6.12',
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200,
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
networks: {
|
|
hardhat: {},
|
|
},
|
|
};
|
|
|
|
export default config;
|