0.1.1 • Published 8 years ago

shapeshiftjs v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

ShapeshiftJS

A javascript wrapper for the Shapeshift API

Installation

npm install shapeshiftjs

Usage

var shapeshiftJS = require('shapeshiftjs');

 var params = {
   amount: 1,
   withdrawal: '19bPFghugaE5Z1LPLegzgw95McdXoU3WKL',
   currencyPair: 'btc_eth'
 };

 return shapeshiftJS.postSendAmount(params)
 .then(function(res) {
   return console.log(res);
 })
 .catch(function(res) {
    throw new Error(err);
  });