0.1.0 • Published 2 years ago

@corndao/aurora.js v0.1.0

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
2 years ago

⚠ WARNING: This library has been deprecated.
The replacement solution will be offered shortly.

Aurora Engine Client for JavaScript

Project license Discord Lints

Prerequisites

  • Node.js (v14+)

Installation

npm install -D aurora-is-near/aurora.js
  "dependencies": {
    "@aurora-is-near/engine": "git://github.com/aurora-is-near/aurora.js",
  }

Usage

import Aurora from '@aurora-is-near/engine';

See the Aurora CLI source code for example usage.

Key Management

The library will load the following local keys by default, if found:

  • $HOME/.near-credentials/*/*.json: credentials stored by the NEAR CLI

  • $HOME/.near/validator_key.json: the local nearcore validator key (for the test.near master account)