0.14.0 • Published 3 years ago

@gnosis.pm/dex-js v0.14.0

Weekly downloads
236
License
MIT
Repository
github
Last release
3 years ago

npm version   Build Status   Coverage Status

Develop:   Build Status   Coverage Status

Gnosis Protocol JS

Gnosis Protocol JS it's library, with typescript support for Gnosis 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

# Using yarn
yarn add @gnosis.pm/dex-js --save

#Alternatively
npm install @gnosis.pm/dex-js --save

Import the contract:

import { BatchExchangeContract } from ' @gnosis.pm/dex-js'

// Instanciate the smart contract
const web3 = new Web3()
const batchExchangeContract = new BatchExchangeContract({ web3 })

// Alternativelly provide the address
const batchExchangeContract = new BatchExchangeContract({ web3, address: '0x89593E017D4A88c60347257DAfB95384a422da09' })

Issues

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

Pull requests are welcomed and are the best way to suggest new features.

Collaborate

Build

# Install dependencies
yarn install

# Build
yarn build

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

Run test

# Install dependencies
yarn install

# Run
yarn test
0.13.0

4 years ago

0.14.0

3 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0-RC.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.1-rc.0

5 years ago

0.8.0

5 years ago

0.7.1-rc.0

5 years ago

0.7.1

5 years ago

0.6.1

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.1-RC.0

5 years ago

0.4.0

5 years ago

0.3.1-RC.1

5 years ago

0.3.1-RC.0

5 years ago

0.3.0

5 years ago

0.3.0-RC.2

5 years ago

0.3.0-RC.1

5 years ago

0.3.0-RC.0

5 years ago

0.2.3-RC.2

5 years ago

0.2.3-RC.1

5 years ago

0.2.3-RC.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.15-RC.0

5 years ago

0.1.14

5 years ago

0.1.14-RC.2

5 years ago

0.1.14-RC.1

5 years ago

0.1.14-RC.0

5 years ago

0.1.13-RC.0

5 years ago

0.1.12-RC.1

5 years ago

0.1.12

5 years ago

0.1.12-RC.0

5 years ago

0.1.11

5 years ago

0.1.11-RC.1

5 years ago

0.1.10

5 years ago

0.1.11-RC.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5-RC.3

5 years ago

0.1.5-RC.2

5 years ago

0.1.5-RC.1

5 years ago

0.1.5-RC.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.3-RC.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0-RC.24

5 years ago

0.1.0

5 years ago

0.1.0-RC.22

5 years ago

0.1.0-RC.23

5 years ago

0.1.0-RC.21

5 years ago

0.1.0-RC.20

5 years ago

0.1.0-RC.18

5 years ago

0.1.0-RC.19

5 years ago

0.1.0-RC.16

5 years ago

0.1.0-RC.17

5 years ago

0.1.0-RC14

5 years ago

0.1.0-RC11

5 years ago

0.1.0-RC13

5 years ago

0.1.0-RC12

5 years ago

0.1.0-RC3

5 years ago

0.1.0-RC4

5 years ago

0.1.0-RC1

5 years ago

0.1.0-RC2

5 years ago

0.1.0-RC7

5 years ago

0.1.0-RC10

5 years ago

0.1.0-RC8

5 years ago

0.1.0-RC5

5 years ago

0.1.0-RC6

5 years ago

0.1.0-RC9

5 years ago

0.0.8

6 years ago

0.0.3

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.2

6 years ago