Skip to content

Vikasg7/stratum-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stratum-miner

A stratum based crypto miner in Nodejs written in functional style for mining crypto currency.

Installation

git clone https://github.com/Vikasg7/stratum-miner.git
cd stratum-miner
npm install
npm run build

Usage

npm start -- [options]

Options:
      --version  Show version number                                   [boolean]
  -s, --server   stratum+tcp://host:port                     [string] [required]
  -u, --user     username                                    [string] [required]
  -p, --pass     password                                    [string] [required]
  -i, --id       worker id                                   [string] [required]
  -t, --threads  threads                        [number] [required] [default: 1]
  -a, --algo     sha256, scrypt          [string] [required] [default: "scrypt"]
      --help     Show help                                             [boolean]

Command

npm start -- -s <stratum+tcp://host:port> -u <username> -p <password> -i <id> -t <threads> -a <algo>

Did it work?

Yes! it worked. I setup my own local mining pool server based on dogecoin testnet and was able to mine 3208673, 3208676, 3208678. Check out my testdoge-mining-pool repo for details on setting up a test mining pool.