Skip to content

Commit

Permalink
fix(hardhat-config): network accounts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexangelj committed Mar 22, 2022
1 parent 9673b9e commit 4e505ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hardhat.config.ts
Expand Up @@ -60,7 +60,12 @@ const {
function createTestnetConfig(network: keyof typeof chainIds): NetworkUserConfig {
const url: string = 'https://' + network + '.infura.io/v3/' + INFURA_API_KEY
return {
accounts: [DEPLOYER_KEY],
accounts: {
count: 10,
initialIndex: 0,
mnemonic: MNEMONIC,
path: "m/44'/60'/0'/0",
},
chainId: chainIds[network],
url,
gas: 'auto',
Expand Down

0 comments on commit 4e505ec

Please sign in to comment.