2024-05-07 21:28:55 +00:00
|
|
|
require('@nomicfoundation/hardhat-toolbox');
|
|
|
|
require('@nomicfoundation/hardhat-ethers');
|
|
|
|
const dotenv = require('dotenv');
|
|
|
|
dotenv.config();
|
|
|
|
|
|
|
|
const config = {
|
|
|
|
solidity: '0.8.24',
|
|
|
|
networks: {
|
|
|
|
amoy: {
|
|
|
|
url: `https://polygon-amoy.g.alchemy.com/v2/pEtFFy_Qr_NrM1vMnlzSXmYXkozVNzLy`,
|
|
|
|
accounts: [process.env.POLYGON_PK || ''],
|
|
|
|
},
|
|
|
|
},
|
2024-05-17 23:01:27 +00:00
|
|
|
typechain: {
|
|
|
|
outDir: 'typechain',
|
|
|
|
target: 'ethers-v6',
|
|
|
|
},
|
2024-05-07 21:28:55 +00:00
|
|
|
paths: {
|
|
|
|
sources: './src/hardhat/contracts',
|
2024-05-17 23:01:27 +00:00
|
|
|
tests: './src/hardhat/test',
|
2024-05-08 00:36:45 +00:00
|
|
|
ignition: './src/hardhat/ignition',
|
2024-05-07 21:28:55 +00:00
|
|
|
cache: './src/hardhat/cache',
|
|
|
|
artifacts: './src/hardhat/artifacts',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|