-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
40 lines (38 loc) · 942 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
35
36
37
38
39
40
import "@nomicfoundation/hardhat-foundry";
import "@nomicfoundation/hardhat-toolbox-viem";
import "@nomiclabs/hardhat-solhint";
import type { HardhatUserConfig } from "hardhat/config";
import './tasks/check-images';
import './tasks/generate-assets';
import './tasks/ipfs-cid';
import './tasks/ipfs-upload-file';
import './tasks/opensea-proxy-address';
import './tasks/placeholder';
import './tasks/reveal';
import './tasks/whitelist';
const config: HardhatUserConfig = {
solidity: {
version: "0.8.24",
settings: {
viaIR: true,
optimizer: {
enabled: true,
runs: 10_000,
},
},
},
networks: {
hardhat: {},
btp: {
url: process.env.BTP_RPC_URL || "",
gasPrice: process.env.BTP_GAS_PRICE ? parseInt(process.env.BTP_GAS_PRICE) : "auto",
},
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
sourcify: {
enabled: true,
}
};
export default config;