@ledgerhq/vault-cli

1.55.0 • Public • Published

cli

A various utility command-line for Vault development.

Installation

pnpm add --global @ledgerhq/vault-cli

or

yarn global add @ledgerhq/vault-cli

or

npm i -g @ledgerhq/vault-cli

Usage

ledger-vault <COMMAND>

Commands

bake          Put gate in predefined state
create        Create entities (users, groups, accounts, transactions...)
get           Query entities
device        Manage device (eg: install app)
drain         Drain full gate data
receive       Display receive address for given account

Global options

--debug          Print debug messages
-v, --version    Show version
-h, --help       Show help (can be used globally or with a command)

bake

ledger-vault bake <manifest.json> [options]

Options

-p, --preset string   Available presets: empty, beatles
-g, --gate string     Target gate $VAULT_GATE_URL (default: https://localhost:8443/gate/minivault)
-s, --salt <salt>     Salt used to generate devices seeds $VAULT_SALT

Manifest

The manifest file represents the state we want to apply to the Vault.

You can use many manifests (empty, beatles, etc). Or you can pass a custom manifest file, which should be formatted like this one: beatles

Readme

Keywords

none

Package Sidebar

Install

npm i @ledgerhq/vault-cli

Weekly Downloads

291

Version

1.55.0

License

BSD-2-Clause

Unpacked Size

613 kB

Total Files

338

Last publish

Collaborators

  • thomas.coudray
  • ldg-github-ci
  • aboissiere
  • vbouzon
  • gbrahm-ledger
  • sergii-shkolin
  • phenry-ledger