forked from airalab/robonomics_contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.js
42 lines (40 loc) · 922 Bytes
/
hardhat.config.js
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
require("@nomiclabs/hardhat-waffle");
require('hardhat-deploy');
require('hardhat-deploy-ethers');
const proxyUrl = process.env.NEON_PROXY_URL || "http://127.0.0.1:9090/solana";
const accounts = process.env.NEON_ACCOUNTS.split(",");
const chainId = parseInt(process.env.NEON_CHAIN_ID) || 111;
module.exports = {
networks: {
neonlabs: {
url: proxyUrl,
accounts: accounts,
chainId: chainId,
allowUnlimitedContractSize: true,
throwOnTransactionFailures: true,
throwOnCallFailures: true,
timeout: 100000000,
gas: 200000000,
gasPrice: 'auto',
isFork: true,
}
},
solidity: {
version: "0.5.17",
settings: {
optimizer: {
enabled: true,
runs: 1000,
}
},
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
mocha: {
timeout: 600000,
},
};