forked from maalchain/maal-staking-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
34 lines (30 loc) · 831 Bytes
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import {HardhatUserConfig} from "hardhat/types";
import "@nomiclabs/hardhat-waffle"
import "tsconfig-paths/register";
import "@typechain/hardhat"
import "@nomiclabs/hardhat-ethers"
import "hardhat-gas-reporter"
require("dotenv").config();
const privateKeys = (process.env.PRIVATE_KEYS ?? "0000000000000000000000000000000000000000000000000000000000000000").split(",")
const config: HardhatUserConfig = {
solidity: "0.8.7",
networks: {
polygonedge: {
url: process.env.JSONRPC_URL ?? "http://localhost:10002",
accounts: [
...privateKeys,
],
},
},
gasReporter: {
currency: "EUR",
gasPrice: 21
},
typechain: {
outDir: "types",
target: "ethers-v5",
alwaysGenerateOverloads: false,
externalArtifacts: ["externalArtifacts/*.json"],
},
};
export default config;