tower - Setup instructions

tower needs to be reached by all gate instances so those can request new transactions.

Requirements

Since it will typically not be known beforehand where the gate instances will be connecting from, tower should be reachable on the Internet, either on clearnet or an anonymity network like I2P or Tor.

Therefore, a good place to run tower is a VPS.

Preparation

As root:

  1. Make sure both git and openssh are installed on your system

  2. [skip unless on Alpine Linux] Also add util-linux-login to get a compatible su-variant

     # Since we're at it, let's satisfy all dependencies at once:
     apk add bat coreutils-fmt curl git jq monero netcat-openbsd \
             openssh procps-ng util-linux-login util-linux-misc
    

  3. Create a dedicated user "tower"

     # Depending on your Linux flavor, one of these commands may work:
     useradd -c 'noshore tx-builder' -m tower
     # or
     adduser -Dg 'noshore tx-builder' tower
    

Installation

As the newly created user (switch with su -Pl tower):

  1. Get tower by cloning NoShore:

     git clone --branch v0.1.1 \
         https://gitlab.com/fullmetalScience/noshore.git ~/xmr.zone/noshore
    

  2. Run and re-run setup until you have taken care of all suggested configuration:

     ~/xmr.zone/noshore/tower/manage.sh setup
    

Setup creates a shorthand command tower. If ~/.local/bin is in your $PATH, you may use that instead of the long form ~/xmr.zone/noshore/tower/manage.sh.

You may want to install ghost next.