Skip to content

dk808/deterministic-zelnode-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 

Repository files navigation

Zelnode and Zelflux

Script needs to be ran under a sudo user and not under root. It will build using zel apt packages and should work on Ubuntu 18/20. Script will install firewall, daemon service, bootstrap the chain, bootstrap collections(optional), create log rotations, create update script, and use pm2 to manage Zelflux on server restarts/reboots. You could find a detailed guide in the Wiki.

⚠️ All test runs of this install script have only been done on VPS platforms using Ubuntu 18/20 and most likely will not work on personal home servers. USE AT OWN RISK.

Docker Instructions

After creating a sudo user to run your ZelNode, run the following commands while still in root.

  1. sudo apt-get update
  2. sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
  3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  4. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  5. sudo apt-get update
  6. sudo apt-get install docker-ce docker-ce-cli containerd.io -y
  7. adduser USER docker #(Replace USER with the sudo user you created e.g adduser dk808 docker)
  8. reboot

Give server few min to restart, log back in as the user that you created above, and then run the script posted below.

User input will be prompted so have in hand the following.

  1. zelnodeprivkey
  2. Collateral txid
  3. Collateral output index usually 0/1
  4. Your ZelID for Zelflux

📝 Your ZelID is not your Zelcore username. Please check Wiki guide for more info.

bash -i <(curl -s https://raw.githubusercontent.com/dk808/deterministic-zelnode-script/master/install.sh)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages