/org.trustnote-relay

Relay for TrustNote network

Primary LanguageJavaScriptMIT LicenseMIT

Relay for TrustNote network

This is a node for TrustNote network that stores the entire database and forwards new storage units to peers. The relay does not hold any private keys and cannot send payments itself.

Install

Install node.js, clone the repository, then say

npm install

If you want to accept incoming connections (you probably want), set up a proxy, such as nginx, to forward all websocket connections on a specific path to your daemon running the relay code. See example configuration for nginx in trustnote-common documentation.

Run

node start.js > log &

Customize

If you want to change any defaults, refer to the documentation of trustnote-common, the core TrustNote library require()'d from here.