0.14.0 • Published 2 years ago

@gnosis.pm/dex-js v0.14.0

Weekly downloads
236
License
MIT
Repository
github
Last release
2 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

2 years ago

0.14.0

2 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.0-RC.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.1-rc.0

4 years ago

0.8.0

4 years ago

0.7.1-rc.0

4 years ago

0.7.1

4 years ago

0.6.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.1-RC.0

4 years ago

0.4.0

4 years ago

0.3.1-RC.1

4 years ago

0.3.1-RC.0

4 years ago

0.3.0

4 years ago

0.3.0-RC.2

4 years ago

0.3.0-RC.1

4 years ago

0.3.0-RC.0

4 years ago

0.2.3-RC.2

4 years ago

0.2.3-RC.1

4 years ago

0.2.3-RC.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.15-RC.0

4 years ago

0.1.14

4 years ago

0.1.14-RC.2

4 years ago

0.1.14-RC.1

4 years ago

0.1.14-RC.0

4 years ago

0.1.13-RC.0

4 years ago

0.1.12-RC.1

4 years ago

0.1.12

4 years ago

0.1.12-RC.0

4 years ago

0.1.11

4 years ago

0.1.11-RC.1

4 years ago

0.1.10

4 years ago

0.1.11-RC.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5-RC.3

4 years ago

0.1.5-RC.2

4 years ago

0.1.5-RC.1

4 years ago

0.1.5-RC.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.3-RC.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0-RC.24

4 years ago

0.1.0

4 years ago

0.1.0-RC.22

4 years ago

0.1.0-RC.23

4 years ago

0.1.0-RC.21

4 years ago

0.1.0-RC.20

4 years ago

0.1.0-RC.18

4 years ago

0.1.0-RC.19

4 years ago

0.1.0-RC.16

4 years ago

0.1.0-RC.17

4 years ago

0.1.0-RC14

4 years ago

0.1.0-RC11

4 years ago

0.1.0-RC13

4 years ago

0.1.0-RC12

4 years ago

0.1.0-RC3

4 years ago

0.1.0-RC4

4 years ago

0.1.0-RC1

4 years ago

0.1.0-RC2

4 years ago

0.1.0-RC7

4 years ago

0.1.0-RC10

4 years ago

0.1.0-RC8

4 years ago

0.1.0-RC5

4 years ago

0.1.0-RC6

4 years ago

0.1.0-RC9

4 years ago

0.0.8

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.2

4 years ago