shapeshiftjs

0.1.1 • Public • Published

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);
  });

Package Sidebar

Install

npm i shapeshiftjs

Weekly Downloads

6

Version

0.1.1

License

MIT

Last publish

Collaborators

  • masonicnpm