From bb2e4186bf70dee7099ecc5a71db1f0c5d9876a3 Mon Sep 17 00:00:00 2001 From: Drygin Date: Sat, 12 Feb 2022 01:00:42 +0300 Subject: [PATCH] fix build --- hardhat.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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/',