Running a Archway Node

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

Running Archway with Binary

Prerequisites

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

Steps

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

Configuring archwayd

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