An open API service indexing awesome lists of open source software.

https://github.com/cowprotocol/cow-js


https://github.com/cowprotocol/cow-js

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

[![npm version](https://img.shields.io/npm/v/@cowprotocol/cow-js.svg?style=flat)](https://npmjs.org/package/@cowprotocol/cow-js 'View this project on npm')
 
[![Build Status](https://travis-ci.org/gnosis/dex-js.svg?branch=develop)](https://travis-ci.org/gnosis/dex-js)
 
[![Coverage Status](https://coveralls.io/repos/github/gnosis/dex-js/badge.svg?branch=master)](https://coveralls.io/github/gnosis/dex-js?branch=master)

Develop:
 
[![Build Status](https://travis-ci.org/gnosis/dex-js.svg?branch=develop)](https://travis-ci.org/gnosis/dex-js)
 
[![Coverage Status](https://coveralls.io/repos/github/gnosis/dex-js/badge.svg?branch=develop)](https://coveralls.io/github/gnosis/dex-js?branch=develop)

# Gnosis Protocol JS

Gnosis Protocol JS it's library, with typescript support for [Gnosis Protocol](https://docs.gnosis.io/protocol).

Gnosis Protocol introduces a new, fully decentralized exchange mechanism for ERC20 tokens with the following
properties:

- Batch auctions
- Multidimensional order books with ring trades
- Uniform clearing prices in every batch

This library provides:

- Typescrypt version of the contracts of Gnosis Protocol
- Some handy utils and constants

## Usage

```bash
# Using yarn
yarn add @cowprotocol/cow-js --save

#Alternatively
npm install @cowprotocol/cow-js --save
```
## Usage

```bash
# Using yarn
yarn add @cowprotocol/cow-js --save

#Alternatively
npm install @cowprotocol/cow-js --save
```

# Issues

If you find any issue, or you want to request a feature use [https://github.com/gnosis/dex-js/issues]()

[Pull requests](https://github.com/gnosis/dex-js/pulls) are welcomed and are the best way to suggest new features.

# Collaborate

## Build

```bash
# Install dependencies
yarn install

# Build
yarn build

# Build and watch (useful when using "npm link")
yarn build:watch
```

## Run test

```bash
# Install dependencies
yarn install

# Run
yarn test
```