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.
- Node.js (stable version v18.15.0)
- Hedera Hashgraph account
- 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).
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:
node account.js
: Create new accounts
node createToken.js
: Create a new fungible tokennode func_calling.js
: Calling all other functions from associate_transfer.js and pause_unpause.js file
node multisign.js
: Perform a multi-signature transaction
node consensus.js
: Perform a consensus transaction
node schedule.js
: Schedule a transaction to generate schedule idnode schedulesign.js
: Sign a scheduled transaction
node smartcontract.js
: Interact with a smart contract