Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.39 KB

administering-your-node.rst

File metadata and controls

50 lines (28 loc) · 1.39 KB

Administration using the CLI

The Nuts executable this project provides can be used to both run a Nuts server (a.k.a. node) and administer a running node remotely. This chapter explains how to administer your running Nuts node.

Prerequisites

The following is needed to run a Nuts node:

  1. Nuts executable for your platform, or a Nuts docker container.
  2. The address of your running Nuts node. You can pass this using the address variable.

Commands

Run the executable without command or flags, or with the help command to find out what commands are supported:

nuts

For example, to list all network transactions in your node (replace the value of NUTS_ADDRESS with the HTTP address of your Nuts node):

NUTS_ADDRESS=my-node:1323 nuts network list

You can also use the Nuts docker image to run a command (against a remote Nuts node):

docker run nutsfoundation/nuts-node --address=http://my-node:1323 network list

Or inside a running Nuts docker container (against the running Nuts node):

docker exec <nuts-container-name> nuts network list

See nuts-cli-reference for the available commands.

The following options can be supplied when running CLI commands: