Socket
Book a DemoInstallSign in
Socket

edge-info-server

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-info-server

Info Server for Edge Wallet and SDK

latest
Source
npmnpm
Version
3.9.0
Version published
Weekly downloads
59
-49.57%
Maintainers
5
Weekly downloads
 
Created
Source

Edge Wallet and SDK info server

Provides various info such as mining fees, server lists, and supported currency/token info

Installation

Install Yarn

https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/

Install Node

curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh

Run Yarn

yarn

Install and run CouchDB v3.1 (use apt install process for Ubuntu 18.04)

https://docs.couchdb.org/en/3.1.0/install/index.html

Launch API server

node lib/indexInfo.js

Launch background tasks

node lib/infoEngines.js

Launch API server and rates engine for production

Install pm2 globally

sudo npm install pm2 -g

Install pm2 log rotation (note: the command is pm2 instead of npm)

sudo pm2 install pm2-logrotate

Run as standard user

pm2 start pm2.json

Restart, stop, delete service

Control pm2

pm2 stop infoServer
pm2 restart infoServer
pm2 delete infoServer

pm2 stop infoEngine
pm2 restart infoEngine
pm2 delete infoEngine

Launch pm2 on restart

pm2 startup
pm2 save

Monitor logs and status

pm2 monit
pm2 logs <infoServer|infoEngine|'all'>

Please see our Caddy setup documentation for details.

Keywords

Airbitz

FAQs

Package last updated on 16 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts