Skip to main content

Start options

node.start(fastify, options) accepts StellariumNodeOptions:

Environment variables

Importing StellariumNode loads dotenv, so a .env file in the working directory is applied automatically.
BASE_URL excludes /v1, but OPERATOR_URL includes it, because the operator client appends /payment directly.

Generating signing keys

Keep signing identities stable. A new key gives the node a new identity on the network and a different escrow address.

Local state

The node stores the peers and resources it learns in requestscript.db in the current working directory. If you run more than one node on a machine, start each from its own directory so they don’t share a database.