@valora/exchanges
v2.0.2
Published
A Library to obtain exchange prices
Readme
Exchanges library
Usage
On the root of the project run:
yarn add @valora/exchangesOn the code:
import {
createNewManager,
ExchangeRateManager,
PriceByAddress,
configs,
} from '@valora/exchanges'
const manager = createNewManager(configs.mainnet)
const prices = await manager.calculatecUSDPrices()Publish to npmjs
Update the version on package.json and then:
yarn build
npm publish