Done auto select price feed based on network & verify on testnet
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { tast, task } = require("hardhat/config");
|
||||
const { task } = require("hardhat/config");
|
||||
|
||||
task("block-number", "Prints current block number").setAction(
|
||||
async (taskArgs, hre) => {
|
||||
@@ -6,3 +6,11 @@ task("block-number", "Prints current block number").setAction(
|
||||
console.log("Current block number: " + blockNumber);
|
||||
},
|
||||
);
|
||||
|
||||
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
|
||||
const accounts = await hre.ethers.getSigners();
|
||||
|
||||
for (const account of accounts) {
|
||||
console.log(account.address);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user