-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
64 lines (62 loc) · 1.7 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { HardhatUserConfig } from "hardhat/types";
import "@shardlabs/starknet-hardhat-plugin";
import "@nomiclabs/hardhat-ethers";
import "@openzeppelin/hardhat-upgrades";
import "hardhat-deploy";
import "@nomiclabs/hardhat-truffle5";
import "@nomiclabs/hardhat-waffle";
import "@openzeppelin/hardhat-upgrades";
import "hardhat-contract-sizer";
import "hardhat-gas-reporter";
import "@nomiclabs/hardhat-solhint";
import "prettier-plugin-solidity";
import "solidity-coverage";
import "@typechain/hardhat";
import "@nomiclabs/hardhat-etherscan";
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.8.7",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
starknet: {
// dockerizedVersion: "0.10.3",
network: "devnet",
venv: "active",
wallets: {
OpenZeppelin: {
accountName: "OpenZeppelin",
modulePath:
"starkware.starknet.wallets.open_zeppelin.OpenZeppelinAccount",
accountPath: "~/.starknet_accounts",
},
},
},
networks: {
devnet: {
url: "http://127.0.0.1:5050",
},
integratedDevnet: {
url: "http://127.0.0.1:5050",
venv: "active",
args: ["--timeout", "10000"],
},
},
paths: {
sources: "./contracts",
starknetSources: "./contracts/cairo",
artifacts: "./artifacts",
},
};
export default config;