Here's my hardhat.config.ts
file
{
defaultNetwork: 'goerli', //////// here 'polygon_mumbai'
networks: {
hardhat: {
},
localhost : {
url : 'http://127.0.0.1:8545',
accounts : [local_network_pvk]
},
goerli: {
url: 'etH_RPC_URL_HERE',
accounts: [admin_private_key_eth],
},
polygon_mumbai: {
url: 'POLYGON_RPC_URL',
accounts: [admin_private_key_eth],
},
},
solidity: {
version: '0.8.17',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
paths: {
sources: "./src/blockchain-utils/ethereum/contracts",
tests: "./src/blockchain-utils/ethereum/test",
cache: "./src/blockchain-utils/ethereum/cache",
artifacts: ".src/blockchain-utils/ethereum/hh-artifacts"
},
mocha: {
timeout: 40000
}
};
I want to run smart contracts of both Polygon and Eth how to configure the hardhatconfig file???