2024-03-05 21:21:27 -06:00
|
|
|
require('@nomicfoundation/hardhat-toolbox');
|
2024-03-16 13:53:07 -05:00
|
|
|
require('@nomicfoundation/hardhat-verify');
|
2024-03-10 11:55:59 -05:00
|
|
|
require('dotenv').config();
|
2024-03-04 19:33:06 -06:00
|
|
|
|
|
|
|
/** @type import('hardhat/config').HardhatUserConfig */
|
|
|
|
module.exports = {
|
2024-03-05 21:21:27 -06:00
|
|
|
solidity: '0.8.24',
|
2024-03-10 11:55:59 -05:00
|
|
|
networks: {
|
|
|
|
hardhat: {
|
|
|
|
accounts: {
|
|
|
|
mnemonic: process.env.SEED_PHRASE,
|
|
|
|
},
|
|
|
|
chainId: 1337,
|
|
|
|
},
|
2024-03-10 19:39:15 -05:00
|
|
|
sepolia: {
|
|
|
|
url: `https://sepolia.infura.io/v3/${process.env.INFURA_API_KEY}`,
|
|
|
|
accounts: [process.env.SEPOLIA_PRIVATE_KEY],
|
|
|
|
},
|
2024-04-16 16:50:09 -05:00
|
|
|
mainnet: {
|
|
|
|
url: `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`,
|
|
|
|
accounts: [process.env.MAINNET_PRIVATE_KEY],
|
|
|
|
},
|
2024-03-10 11:55:59 -05:00
|
|
|
},
|
2024-03-16 13:53:07 -05:00
|
|
|
etherscan: {
|
|
|
|
apiKey: {
|
|
|
|
sepolia: process.env.ETHERSCAN_API_KEY,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
sourcify: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
2024-03-04 19:33:06 -06:00
|
|
|
};
|