Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aurora-is-near/aurora.js

[DEPRECATED] Aurora Engine client library for JavaScript.
https://github.com/aurora-is-near/aurora.js

Last synced: 10 days ago
JSON representation

[DEPRECATED] Aurora Engine client library for JavaScript.

Awesome Lists containing this project

README

        

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

# Aurora Engine Client for JavaScript

[![Project license](https://img.shields.io/badge/License-Public%20Domain-blue.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
[![Discord](https://img.shields.io/discord/490367152054992913?label=Discord)](https://discord.gg/jNjHYUF8vw)
[![Lints](https://github.com/aurora-is-near/aurora.js/actions/workflows/lints.yml/badge.svg)](https://github.com/aurora-is-near/aurora.js/actions/workflows/lints.yml)

## Prerequisites

- Node.js (v14+)

## Installation

```shell
npm install -D aurora-is-near/aurora.js
```

```json
"dependencies": {
"@aurora-is-near/engine": "git://github.com/aurora-is-near/aurora.js",
}
```

## Usage

```js
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)

[Aurora CLI]: https://github.com/aurora-is-near/aurora-cli/blob/master/src/aurora.ts