Skip to content

web3space/rate-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate Service for New Coin

Motivation

In case when real rate is not available yet but it needs to define the rate url in the wallet

Install

npm i pm2 -g
npm i

Config

Example: HYPE coin

{
    "constantRateUsd" : 0.3763, //Constant rate for test purpose
    "useProxy" : false,  //Use constant or use proxy
    "proxyAddress" : "https://min-api.cryptocompare.com/data/pricemulti?fsyms=HYPE&tsyms=USD", //When useProxy: true then proxy Address should be defined 
    "port": 80,
    "ip": "0.0.0.0",
    "tokenSymbol": "HYPE"
}

Start

pm2 start server.js

About

Rate Service for New Coins for test purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors