The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/solidity/optics-core/hardhat.config.js

48 lines
851 B

require('hardhat-gas-reporter');
require('solidity-coverage');
require('./lib');
require('./scripts');
const path = require('path');
require('dotenv').config({
path: path.resolve(process.cwd(), '../../.madison.env'),
});
const {
MADISON_RPC_USER,
MADISON_RPC_PASS,
MADISON_RPC_URL,
MADISON_PRIVKEY,
} = process.env;
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 999999,
},
},
},
gasReporter: {
currency: 'USD',
},
networks: {
localhost: {
url: 'http://localhost:8545',
},
madison: {
gasPrice: 1,
chainId: 29739,
url: `http://${MADISON_RPC_USER}:${MADISON_RPC_PASS}@${MADISON_RPC_URL}`,
accounts: [MADISON_PRIVKEY],
},
},
};