watcher-ts/packages/erc721-watcher/test/tasks/account.ts

13 lines
270 B
TypeScript
Raw Normal View History

//
// Copyright 2022 Vulcanize, Inc.
//
import { task } from 'hardhat/config';
import '@nomiclabs/hardhat-ethers';
task('account', 'Prints the account', async (taskArgs, hre) => {
const [account] = await hre.ethers.getSigners();
console.log(account.address);
});