vspd/cmd/vspadmin
jholdstock 1fa81d3697 vspadmin: Reject private keys in fee xpub config.
The provided key should always be a public key, enforcing this in
software provides an extra safety net for users.
2024-06-19 09:56:29 +01:00
..
2024-06-19 09:35:41 +01:00

vspadmin

vspadmin is a tool to perform various VSP administration tasks.

Usage

vspadmin [OPTIONS] COMMAND

Options

--homedir=                         Path to application home directory. (default: /home/user/.vspd)
--network=[mainnet|testnet|simnet] Decred network to use. (default: mainnet)
-h, --help                         Show help message

Commands

createdatabase

Creates a new database for a new deployment of vspd. Accepts the xpub key to be used for collecting fees as a parameter.

Example:

$ go run ./cmd/vspadmin createdatabase <xpub>

writeconfig

Writes a config file with default values to the application home directory.

Example:

$ go run ./cmd/vspadmin writeconfig