forked from yerramreddyuday/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
79 lines (78 loc) · 2.55 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/** @type import('hardhat/config').HardhatUserConfig */
require('@nomicfoundation/hardhat-toolbox');
require('@nomicfoundation/hardhat-ethers');
require('@openzeppelin/hardhat-upgrades');
// require("@nomiclabs/hardhat-truffle5");
require("@nomicfoundation/hardhat-chai-matchers")
// require('hardhat-ethernal');
// require("hardhat-tracer");
module.exports = {
solidity: {
version: "0.8.20",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
dojimachain: {
url: 'https://api-dev.d11k.dojima.network',
// url: process.env.VITE_APP_DOJIMA_API_URL,
chainId: 1001,
// gas: 5000000, //units of gas you are willing to pay, aka gas limit
gasPrice: 2000000000, // gas is typically in units of gwei, but you must enter it as wei here
accounts: [
// process.env.VITE_APP_TEST_ACCOUNT_PVTKEY,
"ae1d058b9c5713848e7ac4c1901fac9a737729a34c10c997991c861dd7705ac0",
],
},
goerli: {
url: `https://eth-goerli.g.alchemy.com/v2/TIMeEU-fdUdyD-YijUoB_AbdtlVfEcl2`,
// url: process.env.VITE_APP_ETH_GOERLI_ALCHEMY_URL,
chainId: 1337,
// gas: 5000000, //units of gas you are willing to pay, aka gas limit
gasPrice: 2000000000, // gas is typically in units of gwei, but you must enter it as wei here
accounts: [
// process.env.VITE_APP_TEST_ACCOUNT_PVTKEY,
"ae1d058b9c5713848e7ac4c1901fac9a737729a34c10c997991c861dd7705ac0",
],
},
avalanche: {
url: "http://127.0.0.1:9650/ext/bc/C/rpc",
chainId: 43112,
gas: 5000000, // units of gas you are willing to pay, aka gas limit
gasPrice: 225000000000, // gas is typically in units of gwei, but you must enter it as wei here
},
bsc: {
url: "https://data-seed-prebsc-1-s1.bnbchain.org:8545",
chainId: 97,
gasPrice: 20000000000,
accounts: [
"ae1d058b9c5713848e7ac4c1901fac9a737729a34c10c997991c861dd7705ac0",
],
},
},
etherscan: {
apiKey: {
ethereum: "6IU4JG5P2PNVRSB54YIAMIAQFQ879PXJ7C",
dojimachain: 'dojima',
bsc: "7X1FZ7XNHKPHMXA6VXFX56I533BP7KW3MW",
},
customChains: [
{
network: 'dojimachain',
chainId: 1001,
urls: {
apiURL: process.env.VITE_APP_DOJIMA_BLOCKSCOUT_URL,
browserURL: process.env.VITE_APP_DOJIMA_BLOCKSCOUT_API_URL
},
// urls: {
// apiURL: 'https://doj-bex-test.dojima.network/api',
// browserURL: 'https://doj-bex-test.dojima.network/',
// },
},
],
},
};