-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
43 lines (40 loc) · 1.22 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
import { HardhatUserConfig } from "hardhat/types";
import "@shardlabs/starknet-hardhat-plugin";
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-web3";
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const config: HardhatUserConfig = {
solidity: '0.6.12',
starknet: {
dockerizedVersion: "0.9.0", // alternatively choose one of the two venv options below
// dockerizedVersion: "0.8.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",
// network: "alpha",
network: "alpha-goerli",
// network: "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: "0.2.2"
},
hardhat: {}
},
};
export default config;