mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
updated scripts
This commit is contained in:
parent
92b99247ea
commit
30a1939c42
|
@ -1,4 +1,4 @@
|
|||
import * as hre from "hardhat";
|
||||
import hre from "hardhat";
|
||||
const { ethers, deployments, getUnnamedAccounts } = hre;
|
||||
const { deploy } = deployments;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import * as hre from "hardhat";
|
||||
import hre from "hardhat";
|
||||
const { ethers } = hre;
|
||||
async function main() {
|
||||
const CONNECTORS_V2 = "0x97b0B3A8bDeFE8cB9563a3c610019Ad10DB8aD11";
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as hre from "hardhat";
|
||||
import hre from "hardhat";
|
||||
const { ethers } = hre;
|
||||
|
||||
async function main() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as hre from "hardhat";
|
||||
import hre from "hardhat";
|
||||
const { ethers } = hre;
|
||||
|
||||
async function main() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user