-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
34 lines (31 loc) · 922 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
import '@typechain/hardhat'
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle'
import * as dotenv from 'dotenv'
dotenv.config({ path: './.env.local' });
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
typechain: {
outDir: 'src/types',
target: 'ethers-v5',
alwaysGenerateOverloads: false, // should overloads with full signatures like deposit(uint256) be generated always, even if there are no overloads?
externalArtifacts: ['externalArtifacts/*.json'], // optional array of glob patterns with external artifacts to process (for example external libs from node_modules)
},
solidity: {
version: "0.8.4",
},
networks: {
hardhat: {
chainId: 1337
},
ganache: {
url: `${process.env.VUE_APP_NETWORK_RPC_ADDR}`,
chainId: 1337,
accounts: [
`0x${process.env.GANACHE_LOCAL_ACCOUNT}`,
],
}
}
};