Skip to content

Get the actual charged fees from a series of different operations on Hedera Network

Notifications You must be signed in to change notification settings

AlfredoG87/HederaFeesTest

Repository files navigation

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.

Running the Project

To run the project, follow these steps:

  1. Fill in the environment variables by creating a file named .env in the root directory of the project.

  2. 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=
    
  3. Install the required dependencies by running the following command in the terminal:

    npm install
  4. Compile the needed smart contracts

    cd smart-contract-subproject
    npm install
    npx hardhat compile
  5. 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.

About

Get the actual charged fees from a series of different operations on Hedera Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published