@ledgerhq/vault-cli
v1.66.2
Published
A various utility command-line for Vault development
Downloads
3,718
Maintainers
Keywords
Readme
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