forked from neonevm/Uniswap-V3-NEON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
45 lines (44 loc) · 1.13 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
import 'hardhat-typechain'
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle'
import '@nomiclabs/hardhat-etherscan'
require('dotenv').config();
const proxyUrl = process.env.NEON_PROXY_URL;
// @ts-ignore
const accounts = process.env.NEON_ACCOUNTS.split(",");
// @ts-ignore
const chainId = parseInt(process.env.NEON_CHAIN_ID) || 111;
export default {
defaultNetwork: 'neonlabs',
networks: {
neonlabs: {
url: proxyUrl,
// @ts-ignore
accounts: accounts,
// @ts-ignore
chainId: chainId,
allowUnlimitedContractSize: false,
timeout: 100000000,
}
},
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: process.env.ETHERSCAN_API_KEY,
},
solidity: {
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 800,
},
metadata: {
// do not include the metadata hash, since this is machine dependent
// and we want all generated code to be deterministic
// https://docs.soliditylang.org/en/v0.7.6/metadata.html
bytecodeHash: 'none',
},
},
},
}