5.3.0 • Published 3 years ago

@hydraprotocol/val v5.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Val

A useful wrapper around solana's solana-test-validator for modern blockchain projects.

Getting started

Install with pnpm, npm or yarn in the usual way.

npm install -g @hydraprotocol/val

or

yarn global add @hydraprotocol/val

etc.

Usage

Start a validator:

val

Start a validator in the background:

val -d

Save a validator snapshot called foo:

val -d

# make some transactions then...

val save foo # will save the validator state to the snapshot

Start the validator from the saved snapshot

val foo

Features

  • Save and restore your validator from a snapshot.
  • Manage your validator from within tests.
  • Run as a background service
  • Run in the foreground
  • Display logs

More docs to come...

USAGE:

  val                   - start the validator
  val -d                - start the validator as a background service
  val save [alias]      - save the validator state to an alias
  val [alias]           - start the validator from the alias state
  val clean             - clean the validator state removing working files
  val list              - list the saved snapshots
  val status            - check on the status of the validator

FLAGS:
  --background, -d      - start the validator as a background process
  --help, -h            - show this message
  --quiet, -q           - suppress output
5.5.2

3 years ago

5.5.1

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.2.6

3 years ago

5.2.5

3 years ago

5.2.4

3 years ago

4.1.3

3 years ago

5.2.2

3 years ago

5.2.1

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago