# Swap

[![Build Status](https://travis-ci.com/project-serum/serum-ts.svg?branch=master)](https://travis-ci.com/project-serum/serum-ts)
[![npm (scoped)](https://img.shields.io/npm/v/@project-serum/swap)](https://www.npmjs.com/package/@project-serum/swap)
[![Discord Chat](https://img.shields.io/discord/739225212658122886?color=blueviolet)](https://discord.com/channels/739225212658122886)
[![Documentation](https://img.shields.io/badge/typedoc-documentation-blue)](https://project-serum.github.io/serum-ts/swap/classes/swap.html)
[![License](https://img.shields.io/github/license/project-serum/serum-dex?color=blue)](https://opensource.org/licenses/Apache-2.0)

Client library for swapping directly on the serum orderbook.
The Solana program can be found [here](https://github.com/project-serum/swap).

## Installation

Using npm:

```
npm install @project-serum/swap
```

Using yarn:

```
yarn add @project-serum/swap
```

## API Reference

[API Reference](https://project-serum.github.io/serum-ts/swap/classes/swap.html).
