mirror of
https://github.com/emo2007/block-accounting.git
synced 2024-11-10 04:36:26 +00:00
24 lines
588 B
TypeScript
24 lines
588 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 || ''],
|
|
},
|
|
},
|
|
paths: {
|
|
sources: './src/hardhat/contracts',
|
|
// tests: './src/hardhat/test',
|
|
ignition: './src/hardhat/ignition',
|
|
cache: './src/hardhat/cache',
|
|
artifacts: './src/hardhat/artifacts',
|
|
},
|
|
};
|
|
|
|
module.exports = config;
|