forked from 0xSpaceShard/starknet-hardhat-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
42 lines (39 loc) · 1.26 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
import { HardhatUserConfig } from "hardhat/types";
import "@shardlabs/starknet-hardhat-plugin";
import "@nomiclabs/hardhat-ethers";
import * as dotenv from "dotenv";
dotenv.config();
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const config: HardhatUserConfig = {
solidity: "0.6.12",
starknet: {
dockerizedVersion: "0.10.1", // alternatively choose one of the two venv options below
// uses (my-venv) defined by `python -m venv path/to/my-venv`
// venv: "path/to/my-venv",
// uses the currently active Python environment (hopefully with available Starknet commands!)
// venv: "active",
recompile: false,
network: "integrated-devnet",
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",
// dockerizedVersion: "<DEVNET_VERSION>",
},
hardhat: {}
}
};
export default config;