mirror of
https://github.com/luxfhe/template-fhevm-hardhat.git
synced 2026-10-30 17:08:44 +00:00
10 lines
250 B
TypeScript
10 lines
250 B
TypeScript
import { task } from "hardhat/config";
|
|
|
|
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}`);
|
|
}
|
|
});
|