⚠ WARNING: This library has been deprecated.
The replacement solution will be offered shortly.
Aurora Engine Client for JavaScript
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 localnearcore
validator key (for thetest.near
master account)