Ubuntu

Supported distributions

Ubuntu 18.04, 20.04, 22.04.

Installation

Preparation

Aleo wallet can be generated at aleo.tools

One-command installation

In most of the cases you just need to run our script using the command:

curl -sSf -L https://1to.sh/join | sudo sh -s -- --address aleo1address

The script will do the following:

  • detect OS and download binaries

  • create system service

All parameters:

--address - Aleo address --ws wss://shadow.aleo1.to:33443/ - for SSL connection For example, to join with enabled SSL, run (please, check all parameters, don't just copy that):

curl -sSf -L https://1to.sh/join | sudo sh -s -- --address aleo1address 
--ws wss://shadow.aleo1.to:33443/

Watch logs

journalctl -u 1to-miner -n 50 -f

Editing .service file

nano /etc/systemd/system/1to-miner.service

You can tweak running parameters, see binary usage. After editing, don't forget to restart miner:

systemctl daemon-reload && systemctl restart 1to-miner

Disable autostart on reboot

systemctl disable 1to-miner

Stop miner

systemctl stop 1to-miner

Delete miner

curl -sSf -L https://1to.sh/detach | sudo sh

Manual installation

If for some reason our script not works for you:

Download binaries

wget -O ./1to-miner https://1to.sh/builds/aleo/mainnet/miner-ubuntu
chmod +x ./1to-miner

Usage

./1to-miner --address aleo1... --ws wss://pool.aleo1.to:33443/

--address - Aleo address --ws wss://pool.aleo1.to:33443/ - for SSL

Last updated