lamassu-server/lib/new-admin/config/coins.js
Rafael Taranto b8e0c2175b feat: add graphql support (#349)
* fix: eslint warnings

* refactor: use ramda + sanctuary instead of lodash

* refactor: use prettier-standard for formatting

* feat: enable security

* feat: add graphql

* chore: remove trailing commas from linter

* docs: new scripts on react and new-admin-server

* feat: handle authentication on graphql

* fix: perf improvement to date picker

* chore: add insecure-dev script to run servers
2019-12-24 15:36:41 +01:00

23 lines
505 B
JavaScript

const _ = require('lodash/fp')
const COINS = {
BTC: 'BTC',
ETH: 'ETH',
LTC: 'LTC',
DASH: 'DASH',
ZEC: 'ZEC',
BCH: 'BCH'
}
const COIN_LIST = [
{ code: COINS.BTC, display: 'Bitcoin' },
{ code: COINS.ETH, display: 'Ethereum' },
{ code: COINS.LTC, display: 'Litecoin' },
{ code: COINS.DASH, display: 'Dash' },
{ code: COINS.ZEC, display: 'Zcash' },
{ code: COINS.BCH, display: 'Bitcoin Cash' }
]
const ALL_CRYPTOS = _.keys(COINS)
module.exports = { COINS, ALL_CRYPTOS, COIN_LIST }