From cc6857934b44cb0e1b59d6d31cf77db63f25013f Mon Sep 17 00:00:00 2001 From: Pascal Date: Thu, 1 Oct 2020 17:09:50 -0700 Subject: [PATCH] chore: add npx install as prerequisite --- src/pages/stacks-blockchain/accounts.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/stacks-blockchain/accounts.md b/src/pages/stacks-blockchain/accounts.md index b5b533b4..12a3fff7 100644 --- a/src/pages/stacks-blockchain/accounts.md +++ b/src/pages/stacks-blockchain/accounts.md @@ -86,6 +86,13 @@ const stacksAddress = getAddressFromPrivateKey( A second alternative would be to use [stacks-gen](https://github.com/psq/stacks-gen). This tool will generate all the keys you need in one place, including the values needed for calling the stacking contract, and also a WIF key for use with `bitcoind`. +### stacks-gen prerequisite +Install `npx` if not already installed. +``` +npm install -g npx +``` + +### stacks-gen usage ``` npx -q stacks-gen sk --testnet