chore: redirect coin dependencies to l-c module

This commit is contained in:
Sérgio Salgado 2021-01-04 12:21:24 +00:00 committed by Josh Harvey
parent 3423e2ddd0
commit bb433164ab
31 changed files with 8 additions and 54 deletions

View file

@ -1,23 +0,0 @@
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 }

View file

@ -1,7 +1,6 @@
const _ = require('lodash/fp')
const { COIN_LIST: coins } = require('lamassu-coins')
// const { COIN_LIST: coins } = require('./coins')
const { ACCOUNT_LIST: accounts } = require('./accounts')
const countries = require('../../../data/countries.json')