Done auto select price feed based on network & verify on testnet

This commit is contained in:
2024-08-05 21:30:14 +08:00
parent 39c2dd760b
commit ee8912613c
12 changed files with 331 additions and 35 deletions
+9 -1
View File
@@ -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);
}
});