Skip to content

Latest commit

 

History

History
executable file
·
32 lines (20 loc) · 579 Bytes

6_RUN_TASKS.md

File metadata and controls

executable file
·
32 lines (20 loc) · 579 Bytes

4. 🛠 Running Manual Tasks

Customed Tasks

All customed tasks **.ts are in ./tasks.

  1. Accounts - list all of accounts currently using in the runtime environment

Run using:

yarn hardhat --network bsctestnet accounts
  1. balance - specify balance in the given account

Param: account : Address from Accounts task

Run using:

yarn hardhat --network bsctestnet  balance --account <EOA address>
  1. block-number - specify the current block number

Run using:

yarn hardhat --network bsctestnet block-number