-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhardhat.config.ts
46 lines (44 loc) · 1.29 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
import { HardhatUserConfig } from "hardhat/types";
import "@shardlabs/starknet-hardhat-plugin";
import "@nomiclabs/hardhat-ethers";
require("@openzeppelin/hardhat-upgrades");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const config: HardhatUserConfig = {
solidity: "0.6.12",
starknet: {
//dockerizedVersion: "0.8.2", // alternatively choose one of the two venv options below
// uses (my-venv) defined by `python -m venv path/to/my-venv`
venv: "./env",
// uses the currently active Python environment (hopefully with available Starknet commands!)
// venv: "active",
network: "devnet", //alpha
wallets: {
MyWallet: {
accountName: "OpenZeppelin",
modulePath:
"starkware.starknet.wallets.open_zeppelin.OpenZeppelinAccount",
accountPath: "~/.starknet_accounts",
},
MyWallet_two: {
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;