Running an Atomone Node

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

Running Atomone with Binary

Prerequisites

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

Steps

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

Configuring atomoned

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