Skip to content

stevengregory/hedera-express-api

Repository files navigation

Hedera Express API

An experimental Hedera API written with Node.js and TypeScript. Uses the JavaScript SDK to interact with the Hedera Hashgraph.

Prerequisites

Setup

Clone the repo and change directory.

git clone https://github.com/stevengregory/hedera-express-api
cd hedera-express-api

In the root directory of your project, create a .env.hedera file and add your testnet account OPERATOR_ID and OPERATOR_KEY. Now set the HEDERA_NETWORK to testnet.

# Hedera Operator Account ID
OPERATOR_ID = ENTER YOUR ACCOUNT ID

# Hedera Operator Private Key
OPERATOR_KEY = ENTER YOUR PRIVATE KEY

# Hedera Network
HEDERA_NETWORK = testnet

Installation

Install the npm packages.

npm install

Run the app

Run the application in dev mode.

npm run dev

Run tests

Run the unit tests.

npm run tests

About

Hedera API written with Node.js and TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published