Skip to main content
ArcPass reads its entire configuration from environment variables at startup. There are no configuration files to edit — every behavior you need to change is controlled by setting the appropriate variable before launching the API or worker process. Copy .env.example from the repository root and fill in the required values before your first deployment.
Never commit SPONSOR_PRIVATE_KEY to version control. This key controls the relay operator account that holds and transfers gas funds on behalf of users. Treat it with the same care as a production wallet private key: store it in a secrets manager, CI secret, or encrypted vault — never in a .env file that is checked into a repository.

Database

Blockchain and network

These variables are required by the worker process. The API does not connect to the blockchain directly.

Sponsorship

API

Worker tuning

These variables control how aggressively the worker polls for work and how it handles timeouts and retries. The defaults are suitable for most deployments.

Rate limiting