This guide provides instructions on how to run and manage your Charli3 node operator backend.
Once you've completed the installation and configuration steps, you can start your node using Docker Compose:
docker-compose up -d
This command starts all the services defined in your docker-compose.yml
file in detached mode.
To check the status of your node and its services:
docker-compose ps
This will show you the status of all containers associated with your Charli3 node.
To view the logs of all services:
docker-compose logs
To follow the logs in real-time:
docker-compose logs -f
To view logs for a specific service (e.g., the ada-usd oracle):
docker-compose logs -f charli3-ada-usd-v3
To stop your node and all its services:
docker-compose down
When updates are available:
-
Pull the latest changes from the repository:
git pull origin main
-
Pull the latest Docker images:
docker-compose pull
-
Restart your services:
docker-compose down docker-compose up -d
Alerts help you monitor your node's health and performance. To configure alerts:
-
Edit your
dynamic_config.yml
file to include the Alerts section:Alerts: cooldown: 1800 # 30 minutes thresholds: c3_token_balance: 100 ada_balance: 500 timeout_variance: 120 minimum_data_sources: 3 notifications: - type: slack config: webhook_url: "your_slack_webhook_url"
-
Customize the thresholds and notification methods as needed.
-
Restart your node to apply the changes:
docker-compose down docker-compose up -d
-
Monitor your configured notification channels for alerts.
For more detailed information on alert configuration, refer to our Alerts Configuration Guide.
The reward collection feature automatically collects your earned C3 tokens. To set it up:
-
Edit your
dynamic_config.yml
file to include the RewardCollection section:RewardCollection: destination_address: "your_cardano_address_here" trigger_amount: 1000 # in C3 tokens
-
Ensure your node has sufficient ADA to cover transaction fees.
-
Restart your node to apply the changes.
-
Monitor your specified destination address for incoming rewards.
For more information on reward collection, see our Reward Collection Guide.
Regular monitoring is crucial for maintaining a healthy node. Key aspects to monitor include:
- System resources (CPU, memory, disk usage)
- Network connectivity
- Oracle update frequency and accuracy
- Cardano blockchain sync status
- Alert notifications
- Reward collection transactions
Consider setting up additional monitoring tools like Prometheus and Grafana for comprehensive monitoring and alerting.
If you encounter issues while running your node:
- Check the logs for error messages
- Ensure all configuration files are correctly set up
- Verify network connectivity to the Cardano network and data sources
- Consult the Troubleshooting Guide for common issues and solutions
If problems persist, don't hesitate to reach out to the Charli3 support team.
- Regularly check for updates and apply them promptly
- Keep your system updated and secure
- Maintain sufficient ADA balance for transaction fees
- Regularly backup your configuration and essential data
- Monitor your node's performance and adjust resources as needed
For more detailed security practices, refer to our Security Best Practices guide.
Remember, running a Charli3 node is a responsibility that contributes to the decentralization and reliability of the Charli3 oracle network. Your diligence in maintaining your node helps ensure the integrity of the entire system.