Skip to content

pdidzis/Relayz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 

Repository files navigation

Relayz

You will earn 10 RELY tokens per day and these rewards will be added to your balance.

All other question will be end of the guide.

I took this repo from Rues , his links: Duyuru - Sohbet - WP Kanalı - Discord

Spec for server

Most important think is hetznez , Hetzner So i will prefer hetzner

# Min
2 CPU 4 RAM - Debian 10 - 11 - 12

# Reccomened
4 CPU 8 RAM - Debian 11

Setup

From here we're gonna create a near wallet.

After that here Connect wallet and create a profile

# Updates
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl wget

# Lets open a swap file
sudo fallocate -l 5240M /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

# We need library and docker setup
sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common

# Let's download Debian compatible Docker.#
#Execute command twice.#
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-archive-keyring.gpg
# !! Select y  !!#

# Bellow here it's a one command , you can copy all of it (If enter is gonna show up , press enter if not no problem)
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

# Again a update
sudo apt update && sudo apt upgrade -y

Docker settings

# Docker compose and necessary settings.
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
newgrp docker
# We are installing updates and wgeti.
sudo apt update && sudo apt upgrade -y

# docker-compose settings
curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url  | grep docker-compose-linux-x86_64 | cut -d '"' -f 4 | wget -qi -
chmod +x docker-compose-linux-x86_64
sudo mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose

sudo mkdir -p /etc/bash_completion.d/
sudo curl -L https://raw.githubusercontent.com/docker/compose/master/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
source /etc/bash_completion.d/docker-compose

echo -e "version: '3'\nservices:\n  web:\n    image: nginx:latest\n    ports:\n     - \"8080:80\"\n    links:\n     - php\n  php:\n    image: php:7-fpm" > docker-compose.yml

Docker test

# We're making a docker test
docker-compose up -d
docker-compose stop
docker-compose rm -f

# We're entering this command
docker run --rm -it  --name test alpine:latest /bin/sh

# We enter these two commands one by one in the opened console.:
cat /etc/os-release
exit

Let's start our node

# Let's download our required file and unzip it.
wget https://relayz.io/resources/files/binaries/node-cli-x64.zip
sudo apt install unzip
unzip node-cli-x64.zip

# Let's give permissions
mv node-cli-x64 node-cli
chmod +x node-cli

# ruesandora.testnet Replace it with your own wallet name and enter.
./node-cli init ruesandora.testnet

# There will be 2 options, select the first one and create a new private key..
# After the command, it will give you a link (most likely pink), paste it into the search bar on the near wallet page you created.
#Then enter your password and confirm.
# Wait for a few minutes 
# Then go back to your server and press enter.

# Congrats ! You're a node runner 

# !! NOTE: Please back up .secret.json on your server , you can use Winscp , filezila ext. !!

You can check your node online if its online or not.

All FAQ will be finded in here

Partners of Relayz PARTNER one of them is Lifeform, Lifeform's largest investor is Binance Labs.

Thanks to Rues , show love to him Twitter/X

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published