0.2.3 • Published 4 years ago

@dolomite-exchange/dolomite v0.2.3

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

Dolomite JS

Javascript library for interacting with the Dolomite Exchange API and Slate API

Install

npm install dolomite --save

Getting Started

// import packages
import exchange from 'dolomite/exchange';
import slate from 'dolomite/slate';

// configure them with your API keys
exchange.configure({ apiKey: 'EXCHANGE_API_KEY' });
slate.configure({ apiKey: 'SLATE_API_KEY' });

// make requests to the API
exchange.markets.getAll().then(markets => console.log(markets));
slate.wallets.getHoldings('0x0000000000000000000000000000000000000000')
  .then(holdings => console.log(holdings));

Development

Clone the repository and install npm, then install the dependencies

npm install

Start the Development Server which will automatically build your code for ES5 compliance and put it into the lib_dev directory

npm start

Run tests. Running npm start in a separate tab along with the tests is highly reccomended as this allows for live reloading

npm test

NOTE: if npm start or npm test are giving you trouble, you may have to globally install gulp with npm install -g gulp

Read more about developing services for the Dolomite Exchange Service in our Development Docs

Release

Increment the version in package.json and then run

npm run release

This will place the updated ES5 compliant code into the lib directory, which is the directory used by npm

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.99

4 years ago

0.1.97

4 years ago

0.1.98

4 years ago

0.1.96

4 years ago

0.1.94

4 years ago

0.1.95

4 years ago

0.1.93

4 years ago

0.1.91

4 years ago

0.1.92

4 years ago

0.1.90

4 years ago

0.1.89

4 years ago

0.1.88

4 years ago

0.1.87

4 years ago

0.1.86

4 years ago

0.1.85

4 years ago

0.1.84

4 years ago

0.1.83

4 years ago

0.1.82

4 years ago

0.1.80

4 years ago

0.1.81

4 years ago

0.1.79

4 years ago

0.1.77

4 years ago

0.1.78

4 years ago

0.1.75

4 years ago

0.1.76

4 years ago

0.1.74

4 years ago

0.1.73

4 years ago

0.1.72

4 years ago

0.1.71

4 years ago

0.1.70

4 years ago

0.1.69

4 years ago

0.1.68

4 years ago

0.1.67

4 years ago

0.1.66

4 years ago

0.1.65

4 years ago

0.1.64

4 years ago

0.1.63

4 years ago

0.1.61

4 years ago

0.1.62

4 years ago

0.1.59

4 years ago

0.1.60

4 years ago

0.1.57

4 years ago

0.1.58

4 years ago

0.1.56

4 years ago

0.1.55

4 years ago

0.1.54

4 years ago

0.1.53

4 years ago

0.1.52

4 years ago

0.1.51

4 years ago

0.1.48

4 years ago

0.1.49

4 years ago

0.1.50

4 years ago

0.1.47

4 years ago

0.1.46

4 years ago

0.1.45

4 years ago

0.1.44

4 years ago