Socket
Socket
Sign inDemoInstall

@valora/exchanges

Package Overview
Dependencies
3
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @valora/exchanges

A Library to obtain exchange prices


Version published
Weekly downloads
0
decreased by-100%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 05 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc