GithubHelp home page GithubHelp logo

alapanmondal / hedera-hashgraph-services-for-beginner Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 76 KB

A Node.js app for interacting with Hedera Hashgraph network. It offers basic hedera services and various scripts to create accounts, transfer HBAR, query account info, manage tokens, and more. The app utilizes @hashgraph/sdk and dotenv modules as dependencies.

JavaScript 100.00%

hedera-hashgraph-services-for-beginner's Introduction

Hedera Hashgraph Services for Beginner

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 (v14 or higher)
  • Hedera Hashgraph account
  • Hedera Hashgraph Testnet account (for testing)

Installation

  • 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).

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 npm run command.

Here are the available scripts:

Account Scripts

  • npm run createNewAccounts: Create new accounts
  • npm run transferHBAR: Transfer HBAR
  • npm run getAccountBalance: Query account balance
  • npm run queryAccountInfo: Query account information

Fungible Token Scripts

  • npm run createToken: Create a new fungible token
  • npm run associateAccounts: Associate accounts with a token
  • npm run increaseTokenSupply: Increase token supply
  • npm run transferToken: Transfer a token
  • npm run transferTokenToMultipleAccounts: Transfer a token to multiple accounts
  • npm run pauseToken: Pause a token
  • npm run unPauseToken: Unpause a token
  • npm run queryToken: Query token information

Multi-Signature Scripts

  • npm run multiSign: Perform a multi-signature transaction

Consensus Scripts

  • npm run consensus: Perform a consensus transaction

Scheduled Transactions Scripts

  • npm run scheduleTxn: Schedule a transaction

Smart Contract Scripts

  • npm run smartContract: Interact with a smart contract

License

This project is licensed under the ISC License.

hedera-hashgraph-services-for-beginner's People

Contributors

alapanmondal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.