Skip to content

NunoyHaxxana/nxtp-router-setup

Repository files navigation

router setup

Script for install Connext Router Last release version + Auto update last version.

Detailed of script:

  • Automate to install Docker.
  • Automate to install Docker-compose v2.5.1
  • Automate to install nxtp-router.
  • Automate to get & install Latest version.
  • Automate to get & update Latest version.
  • Manual update version.
  • Automate to generate private key.
  • Automate to backup private key.
  • Automate to swith to amarok.
  • Automate to create and config file .env, key.yaml, config.json
  • Automate to delete nxtp-router file and docker-compose.

Requirements

  • OS Ubuntu 18.04 or 20.04

🔲 8GB RAM
🔲 30GB Storage

Clone and Install Scripts


wget -q -O router_setup.sh https://raw.githubusercontent.com/NunoyHaxxana/nxtp-router-setup/main/nxtp-setup.sh && chmod +x router_setup.sh && sudo /bin/bash router_setup.sh

image

Choose you wanted option (for example option 1 Install with Auto PKey), press enter and wait for installation to complete.

Menu options:

No Menu Detail
1 Install + Auto PKey Automatically Install router and generate private key
2 Install + Your PKey Automatically Install router with your private key
3 Auto Upgrade Auto upgrade router to new version
4 Manual Upgrade Manual upgrade router version
5 Backup PKey Backup and show your private key
6 Delete Delete Router and Data File
7 Quit Quit on menu
  • Auto Switched to a new branch 'amarok' and Auto get Last NXTP Version image

  • On menu 1 (Install + Auto PKey), When finish install. this script show private key your can insert private key to metamask for add LP. * Private Key auto ramdom generate image

  • On menu 2 (Install + Your PKey), Your can insert private need to install. image

  • On menu 4 (Manual Upgrade), Your can insert NXTP Version need to upgade. image


(Optional) Command

  • Monitor router real time log.
docker logs --follow --tail 100 router
  • Check the status.
docker-compose ps 
OR 
docker ps -a
  • Restart Docker
docker-compose restart
  • Stop and delete containers.
docker-compose down

About

nxtp router auto setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages