From 265221f65a0ddb9a798782d790837d5455f14443 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 25 Oct 2022 13:30:39 +0300 Subject: [PATCH] docs: clarify wallet-config format --- docs/cli.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index 6d94abc73..53e8a4034 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -108,8 +108,20 @@ see [compiler documentation](compiler.md). deploy` and `contract invokefunction`). Wallet management (creating wallet, adding addresses/keys to it) is available there as well as wallet-related functions like NEP-17 transfers, NEO votes, multi-signature signing and other -things. For all commands requiring read-only wallet (like `dump-keys`) a -special `-` path can be used to read the wallet from the standard input. +things. + +All commands (with few exceptions) accepting wallet via `-w` (or `--wallet`) +parameter (and providing an interactive password prompt if needed) can also +alternatively work with YAML configuration file passed via the +`--wallet-config` parameter. This file uses a format similar to node's +wallet-related configuration sections: +``` +Path: "/path/to/wallet.json" +Password: "pass" +``` + +For all commands requiring read-only wallet (like `dump-keys`) a special `-` +path can be used to read the wallet from the standard input. ### Wallet management