Skip to content

Backend API that interacts with the RPC interface to relay data to the front end

Notifications You must be signed in to change notification settings

energicryptocurrency/gen2-vote-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energi Vote Tracker API

These are the APIs that the Vote Tracker front-end consumes.

Requirements

  • node (>=9.4.0)
  • redis
  • energid (with RPC enabled)

Install

  • Get latest code from github:
git clone https://github.com/energicryptocurrency/vote-tracker-api.git
  • Inside the cloned folder, run npm install to install all dependencies

  • Change the configuration file according to your network settings (Energi network type and RPC credentials)

  • Energi daemon should be running with RPC enabled

  • Make sure redis is running, and it would be a good idea to activate persistence, though not strictly required. See details here

  • Run node cron/job.js via screen, to update data for proposals and for masternode full list

About

Backend API that interacts with the RPC interface to relay data to the front end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published