readme fix
This commit is contained in:
parent
ab2cc9c1bf
commit
170ce43992
19
README.md
19
README.md
@ -2,26 +2,15 @@
|
|||||||
|
|
||||||
A small Node.js console script project.
|
A small Node.js console script project.
|
||||||
|
|
||||||
## Setup
|
## Initialize and test
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm ci
|
npm ci
|
||||||
|
scripts/test-network.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate a Universa key smoke test:
|
The script uses the topology in `src/universa.json` to verify that the Universa
|
||||||
|
network is reachable and functioning correctly.
|
||||||
```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
|
## Check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user