@ledgerhq/vault-cli
v2.4.12
Published
A various utility command-line for Vault development
Maintainers
Keywords
Readme
cli
A various utility command-line for Vault development.
Installation
pnpm add --global @ledgerhq/vault-clior
yarn global add @ledgerhq/vault-clior
npm i -g @ledgerhq/vault-cliUsage
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 accountGlobal 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_SALTManifest
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
