Skip to content

tlrobinson/node-cgminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-cgminer

Usage

CGMiner command return a Promises/A compatible promise (specifically a Q promise):

var client = new CGMinerClient(HOST, PORT);
client.COMMAND(ARG1, ARG2).then(function(results) {
  console.log(results);
}, function(err) {
  // error handler
});

COMMAND corresponds to one of the commands detailed in CGMiner's API documentation.

TODO

  • Some commands return the raw JSON response object while other return a customized object (devs, etc).
  • Documentation.

About

API client for CGMiner Bitcoin miner

Resources

Stars

Watchers

Forks

Packages

No packages published