29 lines
492 B
TypeScript
29 lines
492 B
TypeScript
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomicfoundation/hardhat-toolbox";
|
|
|
|
const config: HardhatUserConfig = {
|
|
solidity: {
|
|
version: "0.8.24",
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200
|
|
}
|
|
}
|
|
},
|
|
paths: {
|
|
sources: "contracts",
|
|
tests: "test",
|
|
cache: "cache",
|
|
artifacts: "artifacts"
|
|
},
|
|
networks: {
|
|
hardhat: {},
|
|
localhost: {
|
|
url: "http://127.0.0.1:8545"
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|