mirror of
https://github.com/emo2007/block-accounting.git
synced 2024-11-13 22:06:27 +00:00
28 lines
655 B
TypeScript
28 lines
655 B
TypeScript
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',
|
|
},
|
|
paths: {
|
|
sources: './src/hardhat/contracts',
|
|
tests: './src/hardhat/test',
|
|
ignition: './src/hardhat/ignition',
|
|
cache: './src/hardhat/cache',
|
|
artifacts: './src/hardhat/artifacts',
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|