status:
loading ...
blockheight:
loading ...
in peers:
loading ...
out peers:
loading ...
mined sfx:
loading ...
total sft #:
1885974016
staked sft #:
loading ...
staked sft %:
loading ...
blockheight:
loading ...
| mined sfx:
loading ...
|
total sft #: 1885974016 | staked sft #:
loading ...
| staked sft %:
loading ...

Easy with Docker ...

With the ease of using Docker, you can easily run pre-build things without the need of having all the knowledge or time.
When you have Docker installed (read below), it requires only one command to start. For Safex, the Ninja has created the Docker images below. (Also see our page on Docker hub)

With Docker you can easily run anything anywhere, even on a Raspberry Pi or a NAS (Synology supports installing and running Docker, so let it run as a node!).
Note: on Windows leave "sudo" out of the command.

see this safex.org/blog article on running node on a Raspberry Pi4


Running a Node, even on a NAS or low end hardware

Run a mainnet Node with this docker image, by running this command (see more details, options and reference to source code on dockerhub):


>> Be aware here: Please read the docker page of the image you want to use for detailed instructions and recommended usage (especially when installing on Raspberry Pi); like how to configure to store data on your host computer itself so the data is not lost when the container is deleted or you need a newer image to update the node! The in/out peers are set to 50. To receive in-peers make sure port range 17400-17403 is open on the router/network and if needed portforwarded to the docker-host (your pyshical machine), or the host is connected to the internet directly. When the node is running type status to see the synchronization status and the amount of peers.

To update a running node stop the node by typing save and then exit, then restart the docker command or start the docker command with the new version specific tag



Start mining

Run xmrig and start mining on the safex.org pool, by running this command (add your own address) (see more details, options and reference to source code on dockerhub):

>> Be aware here: mining in a docker container and/or VM is not optimal and will not get everything out of your hardware. But it will give you some hashes and works fine if you want to get acquainted with mining, or when using docker is the only way to run a miner. Mining on a Raspberry Pi is useless.


Installing Docker

Visit Dockers website and find a way to install it on your OS.

  • Mac OS: install Docker Desktop from the site
  • Windows 10 Pro or Enterprise: install Docker Desktop from the site
  • Other windows is a bit harder: install VirualBox (easy and there is lots of tutorials on this), run i.e. Ubuntu in it, and see Linux. I might be even better to just install Linux as OS. Dual boot is also possible.
  • Linux: search for your distribution what the best way is to install it.
    For example in Ubuntu you can easily install Docker using snapd
    $ sudo apt update
    $ sudo apt install snapd
    $ sudo snap install docker
All set!?: after installing Docker it only requires to execute one command in a terminal (command line window) to start running the docker image.