Skip to content

afreen-ayyoob01/hedera-exam-afreen

Repository files navigation

Hedera Hashgraph Services

This project is a Node.js based application that provides a set of scripts to interact with the Hedera Hashgraph network. The scripts are designed to perform various actions such as creating new accounts, transferring HBAR, querying account information, creating and managing fungible tokens, multi-signature transactions, consensus, scheduling transactions, and interacting with smart contracts.

Getting Started

Prerequisites

  • Node.js (stable version v18.15.0)
  • Hedera Hashgraph account

Installation

  • Clone this repository or download the code as a zip file. git clone https://github.com/afreen-ayyoob01/hedera-exam-afreen.git
  • Go to the hedera-exam-afreen.git directory: cd hedera-exam-afreen.git
  • Install dependencies by running npm install.
  • Create a .env file in the root directory of the project and add your Hedera Hashgraph account details.
  • Run the scripts by executing node <script-name> (replace <script-name> with the name of the script you want to execute).

Usage

To use this application, you'll need to have Node.js and the @hashgraph/sdk and dotenv modules installed. Once you have those dependencies installed, you can clone this repository and run the scripts using the node command.

Here are the available scripts:

Account Scripts

  • node account.js: Create new accounts

Token_Services Scripts

  • node createToken.js: Create a new fungible token
  • node func_calling.js: Calling all other functions from associate_transfer.js and pause_unpause.js file

Multi-Signature Scripts

  • node multisign.js: Perform a multi-signature transaction

Consensus Scripts

  • node consensus.js: Perform a consensus transaction

Scheduled_txn Scripts

  • node schedule.js: Schedule a transaction to generate schedule id
  • node schedulesign.js: Sign a scheduled transaction

Smart_Contract Scripts

  • node smartcontract.js: Interact with a smart contract

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published