@valora/exchanges
v2.0.2
Published
A Library to obtain exchange prices
Downloads
6
Readme
Exchanges library
Usage
On the root of the project run:
yarn add @valora/exchanges
On 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