Running a Quasar Node

Running a Quasar node is crucial for participating in the quasar network. This guide covers various methods to set up and run a quasar node, including binary executions.

Running Quasar with Binary

Prerequisites

  • Quasard Binary: Build or download the latest on-chain version of quasard.
  • Permissions: Ensure executable permissions for your binary.

Steps

  1. Execute Quasard Binary: Run the command ./quasard [command] [flags]. For starting the daemon, use ./quasard start.
  2. Systemd Configuration: Configure quasard to run as a systemd service for reliability.
    • Move the binary to /usr/bin with cp quasard /usr/bin/.
    • Create and edit the systemd service file /etc/systemd/system/quasard.service with appropriate configurations.
  3. Manage Service:
    • Reload systemd: sudo systemctl daemon-reload
    • Restart quasard: sudo systemctl restart quasard
    • Enable on boot: sudo systemctl enable quasard
    • Check logs: journalctl -u quasard -f

Configuring Quasard

  • Config Files: Located in $HOME/.quasar/config.
    • config.toml: General settings.
    • app.toml: Application-specific settings.
    • client.toml: Quasar client settings.