diff --git a/hardhat.config.js b/hardhat.config.js index 48d83b9..c7c6f68 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -64,7 +64,11 @@ const config = { }, rinkeby: { url: `https://rinkeby.infura.io/v3/${process.env.INFURA_API_KEY}`, - accounts: [process.env.PRIVATE_KEY], + accounts: process.env.PRIVATE_KEY + ? [process.env.PRIVATE_KEY] + : { + mnemonic: 'test test test test test test test test test test test junk', + }, }, xdai: { url: process.env.ETH_RPC || 'https://rpc.xdaichain.com/',