From a94ad100913c2a486ee2e7eac121ecffb629b1b8 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 12 Mar 2025 17:56:25 -0700 Subject: [PATCH] Document CLI in README. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0253ba7..308f086 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,14 @@ const options = { const work = await NanoPow.search(hash, options) ``` +### Command Line +NanoPow can be installed globally and executed from the command line. This is +useful for systems without a graphical interface. +```console +$ npm -g i nano-pow +$ nano-pow --help # view command documentation +``` + ## Notes The `work` field in a Nano transaction block contains an 8-byte nonce that satisfies the following equation: -- 2.34.1