Install Node:
sudo apt-get install nodejs
Install npm:
sudo apt-get install npm
To Check npm Version:
npm –v
Node version management (nvm):
sudo apt-get install build-essential libssl-dev
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh -o
install.sh
bash install.sh
source ~/.profile
nvm ls-remote
Install nvm:
Latest Version
nvm install
To Check Node version:
node –v
Install pm2:
Installation reference https://www.npmjs.com/package/pm2
npm install pm2 –g
Public Node Source file:
Bitcoin:
Upload bitcoin.zip file to server
unzip bitcoin.zip
cd bitcoin
Create an account at - https://block.io and replace your BLOCK_IO_KEY and BLOCK_IO_SECRET in the .env file
npm install
pm2 start –name “bitcoin” npm – start
Litecoin:
Upload litecoin.zip file to server
unzip litecoin.zip
cd litecoin
npm install
pm2 start –name “litecoin” npm – start
ETH:
Upload eth.zip file to server
unzip eth.zip
cd eth
npm install
pm2 start –name “eth” npm – start
XRP:
Upload xrp.zip file to server
unzip xrp.zip
cd xrp
npm install
pm2 start –name “xrp” npm – start
XLM:
Upload xlm.zip to server
unzip xlm.zip
cd xlm
npm install
pm2 start –name “xlm” npm – start
How to Configure Coin IP's in your Exchange:
sudo nano /var/www/html/frontend/lib/common.php
line no 123