This library exports a collection of exchange-rate plugins for use with airbitz-core-js
.
Use it like this:
import { makeContext } from 'airbitz-core-js'
import { coinbasePlugin, shapeshiftPlugin } from 'airbitz-exchange-plugins'
makeContext({
plugins: [coinbasePlugin, shapeshiftPlugin]
})
The supported plugins are:
coinbasePlugin
- Converts from BTC to most fiat currencies.shapeshiftPlugin
- Converts from BTC to most common altcoins.