watcher-ts/packages/erc721-watcher/test/tasks/account.ts
nikugogoi 5a0d844d7f
Use stack-orchestrator for erc721-watcher demo (#132)
* Use stack-orchestrator for erc721-watcher demo

* Run all services in stack-orchestrator with auto mining of blocks

* Add step to check docker-compose version
2022-06-22 17:01:05 +05:30

13 lines
270 B
TypeScript

//
// 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);
});