dsa-connectors/hardhat.config.js

53 lines
1009 B
JavaScript
Raw Normal View History

2021-01-30 12:53:12 +00:00
require("@tenderly/hardhat-tenderly");
require('dotenv').config();
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
compilers: [
{
version: "0.7.6"
},
{
version: "0.6.0"
},
{
version: "0.6.2"
2021-02-05 18:33:49 +00:00
},
{
version: "0.6.5"
2021-01-30 12:53:12 +00:00
}
]
},
2021-02-04 18:09:05 +00:00
networks: {
2021-02-05 17:07:07 +00:00
mainnet: {
url: process.env.ETH_NODE_URL,
chainId: 1,
timeout: 500000,
},
2021-02-04 18:09:05 +00:00
tenderlyMainnet: {
url: 'https://mainnet.tenderly.co',
accounts: [process.env.PRIVATE_KEY],
chainId: 1,
gasPrice: 25120000000,
timeout: 500000
},
tenderlyKovan: {
url: 'https://kovan.tenderly.co',
accounts: [process.env.PRIVATE_KEY],
chainId: 42,
gasPrice: 40000000000,
timeout: 50000
}
},
2021-01-30 12:53:12 +00:00
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY
2021-02-04 18:09:05 +00:00
},
tenderly: {
project: process.env.TENDERLY_PROJECT,
username: process.env.TENDERLY_USERNAME,
2021-01-30 12:53:12 +00:00
}
};