univera-js-sample/README.md

31 lines
447 B
Markdown

# u-js-sample
A small Node.js console script project.
## Setup
```sh
npm ci
```
Generate a Universa key smoke test:
```sh
npm start -- --generate-key
```
Test the Universa network with the topology in `src/universa.json`:
```sh
npm run test:network
```
The test verifies each node's signed topology, opens an authenticated session,
and requires a Universa `sping`/`spong` response from a network quorum.
## Check
```sh
npm run check
```