Skip to content

cyphercore-dev/coris-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coris API (Microservices)

Set of microservices to cache data for Coris Blockchain Explorer.

Features

  • Docker image is based on Alpine and Node 12

  • Build in NodeJS

  • Utilize Redis as storage service.

Running

First you need docker and docker-compose to be installed.

Configuire rpc in /services/validators/lib.js to point to your giaia light client endpoint. For example, if you run service on same host as the client, your config might look as following:

const MAX_CONCUR = 15;
const RPC_URL = 'localhost';
const RPC_PORT = 1317;

In the other case, you host actua url and port.

Data from redis is available at the following endpoints:

  • localhost:3000/api/validators

Turn of redis persistence

Using redis-cli:

$ redis-cli

$ config set save ""

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published