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 (v14 or higher)
- Hedera Hashgraph account
- Hedera Hashgraph Testnet account (for testing)
- Clone this repository or download the code as a zip file.
git clone https://github.com/AlapanMondal/Hedera-Hashgraph-Services-for-Beginner.git
- Go to the
Hedera-Hashgraph-Services-for-Beginner
directory:cd Hedera-Hashgraph-Services-for-Beginner
- 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
npm run <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 npm run
command.
Here are the available scripts:
npm run createNewAccounts
: Create new accountsnpm run transferHBAR
: Transfer HBARnpm run getAccountBalance
: Query account balancenpm run queryAccountInfo
: Query account information
npm run createToken
: Create a new fungible tokennpm run associateAccounts
: Associate accounts with a tokennpm run increaseTokenSupply
: Increase token supplynpm run transferToken
: Transfer a tokennpm run transferTokenToMultipleAccounts
: Transfer a token to multiple accountsnpm run pauseToken
: Pause a tokennpm run unPauseToken
: Unpause a tokennpm run queryToken
: Query token information
npm run multiSign
: Perform a multi-signature transaction
npm run consensus
: Perform a consensus transaction
npm run scheduleTxn
: Schedule a transaction
npm run smartContract
: Interact with a smart contract
This project is licensed under the ISC License.