Provider Configuration Reference
Complete reference for Routstr provider configuration options
Provider Configuration Reference
This document provides a comprehensive reference for all configuration options available when setting up a Routstr provider node.
Configuration File Structure
The configuration file (config.json
) has the following main sections:
Provider Settings
The provider
section defines your service information and models:
Model Configuration
Each model under the models
array has the following options:
Payment Settings
The payment
section configures how your provider accepts payments:
Routing Settings
The routing
section configures how your provider is announced to the network:
Access Control Settings
The access
section configures who can use your service:
Server Configuration
The server
section configures the provider server:
Logging Configuration
The logging
section configures how logs are handled:
Environment Variables
You can override configuration settings using environment variables:
Complete Example
Here’s a complete example of a provider configuration file: