coinbase-service

Wrapper for the coinbase bitcoin wallet & exchange API

Coinbase

Coinbase is a wrapper around the Coinbase.com bitcoin wallet and exchange API.

Note that the Coinbase api is undergoing development. Methods here may break and documentation at https://developers.coinbase.com/api does not always appear to match the api's current status. As time goes on, things will solidify. For functionality that is not yet implemented, and where you might be able to help out, see the TODO list at bottom of this page. How to use it:

Require coinbase

var Coinbase = require('coinbase');
var coinbase = new Coinbase({
  APIKey: process.env.COINBASE_API_KEY,
  APISecret: process.env.COINBASE_API_SECRET
});

I will not explain the method by method. I'll make a simple explanation!

coinbase[method]([object], function(errdata){
  // buttons except 
});
coinbase[method][get|balance|delete|refunds|commit|cancel|complete|resend](id, function(errdata){
  // More 
});
coinbase[method][create|OAuth2|sendMoney|transferMoney|button|redeem]({
  // Your arguments 
}, function(errdata){
  // More 
});
coinbase[method][update|sell](id, {
  // Your arguments 
}, function(errdata){
  // More 
});

All the list of methods