block-accounting/chain-api/hardhat.config.ts

28 lines
655 B
TypeScript
Raw Permalink Normal View History

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 || ''],
},
},
typechain: {
outDir: 'typechain',
target: 'ethers-v6',
},
2024-05-07 21:28:55 +00:00
paths: {
sources: './src/hardhat/contracts',
tests: './src/hardhat/test',
ignition: './src/hardhat/ignition',
2024-05-07 21:28:55 +00:00
cache: './src/hardhat/cache',
artifacts: './src/hardhat/artifacts',
},
};
module.exports = config;