diff --git a/fundingvault/hardhat.config.js b/fundingvault/hardhat.config.js index a7b9d2f..51c7eef 100644 --- a/fundingvault/hardhat.config.js +++ b/fundingvault/hardhat.config.js @@ -1,7 +1,7 @@ require("@nomicfoundation/hardhat-toolbox"); require("@nomicfoundation/hardhat-ignition"); -const DEPLOYER_PRIVATE_KEY = vars.get("DEPLOYER_PRIVATE_KEY"); +const DEPLOYER_PRIVATE_KEY = vars.has("DEPLOYER_PRIVATE_KEY") ? [ vars.get("DEPLOYER_PRIVATE_KEY") ] : undefined; /** @type import('hardhat/config').HardhatUserConfig */ module.exports = { @@ -21,16 +21,16 @@ module.exports = { sepolia: { chainId: 11155111, url: `https://rpc.sepolia.ethpandaops.io/`, - accounts: [DEPLOYER_PRIVATE_KEY], + accounts: DEPLOYER_PRIVATE_KEY, }, holesky: { chainId: 11155111, url: `https://rpc.sepolia.ethpandaops.io/`, - accounts: [DEPLOYER_PRIVATE_KEY], + accounts: DEPLOYER_PRIVATE_KEY, }, ephemery: { url: `http://10.16.72.103:8545`, - accounts: [DEPLOYER_PRIVATE_KEY], + accounts: DEPLOYER_PRIVATE_KEY, }, }, solidity: { diff --git a/fundingvault/scripts/bootstrap.js b/fundingvault/scripts/bootstrap.js index e578962..7c8e20b 100644 --- a/fundingvault/scripts/bootstrap.js +++ b/fundingvault/scripts/bootstrap.js @@ -3,7 +3,8 @@ const fs = require('fs'); async function main() { const [owner] = await ethers.getSigners(); - console.log(owner.address) + console.log("deployer address (owner): " + owner.address) + console.log("") // First deploy proxy console.log("deploying FundingVaultProxy...")