From: Chris Duncan Date: Thu, 13 Mar 2025 00:56:25 +0000 (-0700) Subject: Document CLI in README. X-Git-Tag: v3.1.0~9^2 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=a94ad100913c2a486ee2e7eac121ecffb629b1b8;p=nano-pow.git Document CLI in README. --- 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: