1.0.8 • Published 4 years ago

@opiumteam/swaprate-js v1.0.8

Weekly downloads
16
License
ISC
Repository
github
Last release
4 years ago

SwapRate JS SDK

This JavaScript implements HTTP and Socket.io API of https://swaprate.finance

Documentation

API Reference - https://opiumprotocol.github.io/swaprate-js/

HTTP and Socket.io API Specification - https://opiumprotocol.github.io/swaprate-api/

Installation

npm i @opiumteam/swaprate-js

Examples

Get products list

import { Api } from '@opiumteam/swaprate-js'

const api = new Api()

api
  .getProducts()
  .then(products => console.log(products))

Development

Clone project and install dev dependencies

npm i

Run TS build, linter and docs

npm run build
npm run lint
npm run docs

Submit pull requests

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago