An open API service indexing awesome lists of open source software.

https://github.com/web3space/rate-service

Rate Service for New Coins for test purpose
https://github.com/web3space/rate-service

Last synced: 11 months ago
JSON representation

Rate Service for New Coins for test purpose

Awesome Lists containing this project

README

          

# 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
```