This project aims at getting the actual fees charged for diffeent operations on the Hedera Network. The project uses the Hedera SDK to interact with the Hedera Network and get the actual fees charged for different operations.
To run the project, follow these steps:
-
Fill in the environment variables by creating a file named
.env
in the root directory of the project. -
Open the
.env
file and add the following variables:# ED Previewnet ED_PRIVATE_KEY= ED_ACCOUNT_ID= # EC Previewnet EC_PRIVATE_KEY= EC_ACCOUNT_ID= # For RPC Provider and Ether Wallet RPC_PROVIDER_URL= RPC_EC_PRIVATE_KEY=
-
Install the required dependencies by running the following command in the terminal:
npm install
-
Compile the needed smart contracts
cd smart-contract-subproject npm install npx hardhat compile
-
Run the tests by executing the following command:
npm test
That's it! You should now be able to run the project and execute the tests successfully.