updated scripts

This commit is contained in:
pradyuman-verma 2021-12-10 17:14:36 +05:30 committed by Ishan Jain
parent 92b99247ea
commit 30a1939c42
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
import * as hre from "hardhat";
import hre from "hardhat";
const { ethers, deployments, getUnnamedAccounts } = hre;
const { deploy } = deployments;

View File

@ -1,4 +1,4 @@
import * as hre from "hardhat";
import hre from "hardhat";
const { ethers } = hre;
async function main() {
const CONNECTORS_V2 = "0x97b0B3A8bDeFE8cB9563a3c610019Ad10DB8aD11";

View File

@ -1,5 +1,5 @@
import * as fs from "fs";
import * as hre from "hardhat"
import fs from "fs";
import hre from "hardhat"
const { ethers, network, config } = hre;
let args = process.argv;
@ -30,7 +30,7 @@ if (!params.hasOwnProperty("gasPrice")) {
process.exit(-1);
}
let privateKey = process.env.PRIVATE_KEY;
let privateKey = String(process.env.PRIVATE_KEY);
let provider = new ethers.providers.JsonRpcProvider(
config.networks[params["network"]].url
);

View File

@ -1,4 +1,4 @@
import * as hre from "hardhat";
import hre from "hardhat";
const { ethers } = hre;
async function main() {

View File

@ -1,4 +1,4 @@
import * as hre from "hardhat";
import hre from "hardhat";
const { ethers } = hre;
async function main() {