Skip to content

Y0lan/ot-node-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMAZING OT NODE INSTALLER

PERFECT SERVER WITH

OPTIMIZED NODE CONFIG FILE FOR MAXIMUM JOBS !

USER COMFORT

OH MY ZSH

GTOP

gtop

CUSTOM VIM

vim

SERVER SECURITY

  • AUTOMATIC SECURITY UPDATE
  • NO ROOT LOGIN
  • USER WITH SUDO
  • FIREWALL TO BLOCK ALL NON ESSENTIAL PORT
  • FAIL2BAN
  • ENCRYPTED BACKUP OF YOUR NODE in ~/backup.zip
  • DOCKER RESTART

HOW TO SETUP - DIGITAL OCEAN - DEBIAN 10 - XDAI

1 . METAMASK

Make two account

  • account 1:for withdrawing the reward
  • account 2: for the node

Next you will need:

NODE_PRIVATE_KEY
  • private (without 0x in front of it) of account 2
NODE_PUBLIC
  • public key of account 2
MANAGEMENT_WALLET_PUBLIC
  • public key of account 1
INITIAL_DEPOSIT_AMOUNT
  • the amount of xtrac you will send from account 1 to account 2 followed by 18 zeros

5000 XTRAC SENT = 5000000000000000000000


2 . SEND 2XDAI / 5000 XTRAC TO ACCOUNT 2 VIA METAMASK

xdai


3. PREPARE THE SERVER WITH ALL THE SOFTWARE

  1. ssh into your server with root@ip

  2. choose the password for your user (for sudo) export USERPASSWORD=<yourpassword>

  3. run this script apt install -y curl && sh -c "$(curl -fsSL https://raw.githubusercontent.com/Y0lan/ot-node-installer/main/more-ri.sh)"


4. SETUP OH MY ZSH / VIM FOR THE NEW USER

Install oh-my-zsh + theme your shell + theme vim + reboot to finalize step 3

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Y0lan/ot-node-installer/main/custom-profile.sh)" && sudo reboot


5. SETUP THE NODE

You can SSH with login : user-<your hostname>@ip

GET THE INFO FROM STEP 1
NODE_PRIVATE_KEY
  • private (without 0x in front of it) of account 2
NODE_PUBLIC
  • public key of account 2
MANAGEMENT_WALLET_PUBLIC
  • public key of account 1
INITIAL_DEPOSIT_AMOUNT
  • the amount of xtrac you will send from account 1 to account 2 followed by 18 zeros

5000 XTRAC SENT = 5000000000000000000000

RUN THIS AND MODIFY THE INFORMATION ACCORDINGLY
modify VIM in the command below to nano if you are not comfortable with vim

curl -fsSL https://raw.githubusercontent.com/Y0lan/ot-node-installer/main/setup-node.sh > $HOME/setup-node.sh && chmod +x setup-node.sh && vim setup-node.sh

Once the information are in the script, run it...

./setup-node.sh


6. LAUNCH THE NODE

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Y0lan/ot-node-installer/main/backup-start.sh)"

💰💰💰💰💰💰💰💰💰💰💰💰

Next you can add your node into https://othub.origin-trail.network and get telegram notification for each of your job!

About

Want some Origin Trail NODES? Follow the read me!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages