Skip to main content

Configuration

NullState is configured via environment variables and a .env file.

Wallet Setup

Generate an RSA-2048 keypair and a Solana Ed25519 keypair:

openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out wallet_private.pem
openssl rsa -pubout -in wallet_private.pem -out wallet_public.pem

Set the required environment variables in your .env file. Refer to the project README for the complete variable reference.

Quick Config

VariablePurposeExample
NULLSTATE_PORTGateway port8080

For full configuration options, see the README.