- 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.
- OS Ubuntu 18.04 or 20.04
🔲 8GB RAM
🔲 30GB Storage
- Need Super user or root for run this script.
- You can check the current Router version in the https://github.com/connext/nxtp/releases
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
Choose you wanted option (for example option 1 Install with Auto PKey), press enter and wait for installation to complete.
| 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  
- 
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 
- 
On menu 2 (Install + Your PKey), Your can insert private need to install.  
- 
On menu 4 (Manual Upgrade), Your can insert NXTP Version need to upgade.  
- 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

