Skip to main content

Connect to Mainnet or Devnet

Use this guide to connect a node to either network and verify connectivity.

If you're using Ubuntu or Debian, first follow the installation guide, then return to this page for node startup.

Standalone node

Start

Note: A known issue exists with the Hetzner hosting provider. If you are using Hetzner, follow the Networking troubleshooting guidance before starting a node.

mina daemon --peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt

Stop

In a new terminal, run:

mina client stop-daemon

Running mina node as a service

Configure your node to keep running after logout and restart on reboot.

Start the service

Create ~/.mina-env and set options as needed:

MINA_PRIVKEY_PASS="My_V3ry_S3cure_Password"
LOG_LEVEL=Info
FILE_LOG_LEVEL=Debug

Start and enable the service:

systemctl --user daemon-reload
systemctl --user start mina
systemctl --user enable mina
sudo loginctl enable-linger

Stop the service

systemctl --user stop mina

Monitor the mina client status

mina client status

On first bootstrap, expect the following timeline:

Time after startExpected status
0 – ~5 minmina client status may fail to connect while the daemon initializes
~5 – ~25 minSync Status: Bootstrap then Sync Status: Catchup
~30 minSync Status: Synced

Subsequent restarts sync faster when the on-disk cache in ~/.mina-config is preserved. For Docker, ensure /root/.mina-config is mounted to a persistent host volume.

Step up your game

Once synced, continue with Sending a Payment and Staking and Snarking.