README
cli
A various utility command-line for Vault development.
Installation
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: http://localhost:5000/ledger1)
-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 one of the two presets (empty
or beatles
). Or you can pass a custom manifest file, which should be formatted like this one: beatles