Skip to content

highload-zone/stratum-protocol-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stratum-protocol-client

Stratum protocol client for Node.js

Install

$ npm install stratum-protocol-client --save

How to use

const stratum = require("stratum-protocol-client")({
    host: 'scrypt.usa.nicehash.com',
    port: 3333,
    worker: {
        name: '13RrZ98B9dF2CqD4yqhYSkjGLVTPZ1sasx',
        pass: 'x',
        subscribe: 'protocol.tester'
    }
});
stratum.connect()
    .then(() => stratum.subscribe())
    .then(() => stratum.authorize())
    .then(() => stratum.submit())

Run tests

$ npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published