Step 1: Rename .env.example to .env

Rename the .env.example file to .env. This file will store your environment variables.

Step 2: Install Dependencies

Run the following command to install the necessary dependencies:

yarn

Step 3: Run Hardhat

To initialize Hardhat, use the following command:

yarn hardhat

Step 4: Run Tests

To run the tests specified in test/poly.test.js, execute the following command:

yarn hardhat test test/poly.test.js