@noia-network/node-cli
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

NOIA Node CLI

This is noia-node headless command line for noia-node.

Get started

NPM

If you want to use globally.

NOTICE: You need administrator rights to install globally.

$ npm install @noia-network/node-cli -g

NOTICE: If installation fails with administrator rights, then try suppressing the UID/GID switching when running the install command:

$ npm install @noia-network/node-cli -g --unsafe-perm

For the FIRST TIME, you need to define master address. It will generate node.settings with defined master address.

$ noia-node-cli --masterAddress wss://csl-masters.noia.network:5565

or environment variable

NOIA_NODE_MASTER_ADDRESS=wss://csl-masters.noia.network:5565 noia-node-cli

Docker

NOIA Node can be run in Docker. Docker Guide.

(Linux) Register as a SystemD service

To register node as a service, place noia-node.service (remember to modify paths to script) to /etc/systemd/system/ and run using systemctl start noia-node command.

Airdrop

To receive airdrop reward, make sure to enter airdropAddress in node.settings file or set it via NOIA_NODE_BLOCKCHAIN_AIRDROP_ADDRESS environment variable.

Configuration

For configuration guidelines please refer to noia-node.

CLI Flag Environment variables
--userDataPath NOIA_NODE_USER_DATA_PATH
--settingsPath NOIA_NODE_SETTINGS_PATH
--storageDir NOIA_NODE_STORAGE_DIR
--storageSize NOIA_NODE_STORAGE_SIZE
NOIA_NODE_DOMAIN
NOIA_NODE_SSL
NOIA_NODE_SSL_PRIVATE_KEY_PATH
NOIA_NODE_SSL_CRT_PATH
NOIA_NODE_SSL_CRT_BUNDLE_PATH
NOIA_NODE_PUBLIC_IP
NOIA_NODE_HTTP
NOIA_NODE_HTTP_IP
NOIA_NODE_HTTP_PORT
NOIA_NODE_WS
NOIA_NODE_WS_IP
NOIA_NODE_WS_PORT
NOIA_NODE_WRTC
NOIA_NODE_WRTC_CONTROL_PORT
NOIA_NODE_WRTC_CONTROL_IP
NOIA_NODE_WRTC_DATA_PORT
NOIA_NODE_WRTC_DATA_IP
NOIA_NODE_BLOCKCHAIN_AIRDROP_ADDRESS
NOIA_NODE_WALLET_MNEMONIC
NOIA_NODE_WALLET_PROVIDER_URL
NOIA_NODE_CLIENT
NOIA_NODE_MASTER_ADDRESS
NOIA_NODE_WHITELIST_MASTERS
NOIA_NODE_CONTROLLER
NOIA_NODE_CONTROLLER_IP
NOIA_NODE_CONTROLLER_PORT
NOIA_NODE_SKIP_BLOCKCHAIN

Contributing

Read contribution guidelines here.

License

Released under the LGPL-2.1.

Readme

Keywords

none

Package Sidebar

Install

npm i @noia-network/node-cli

Weekly Downloads

0

Version

1.2.4

License

LGPL-2.1

Unpacked Size

66.6 kB

Total Files

16

Last publish

Collaborators

  • dancia
  • dovydas_noia
  • mmatutis
  • sijonas