Skip to content

aergoio/herajs

Repository files navigation

herajs - Javascript SDK for aergo

CI Status

Tested with aergo server version 1.3 - 2.0.

Documentation

Javascript client SDK for the Aergo blockchain platform.

  • @herajs/client: API client, basic models/utils (contract, address, encoding, amounts)
  • @herajs/crypto: key generation, hashing, signing
  • @herajs/wallet: stateful key manager, account tracking, tx tracking, storage

Contribute

Setup

Clone this repository and run

yarn

Scripts

Run tests (requires a local Aergo node running in --testmode, listening on port 7845).

yarn build
yarn test

Regenerate GRPC type definitions

yarn lerna run grpc --scope=@herajs/client
yarn build [--scope=@herajs/client]