Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

service to autoswitch with support for nicehash

License

NotificationsYou must be signed in to change notification settings

felixbrucker/profitability-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

profitability-service requires nodejs, npm and optionally pm2 to run.

Installation

git clone https://github.com/felixbrucker/profitability-servicecd profitability-servicenpm installnpm install pm2 -g

Run

pm2 start process.json

or

npm start

to startup on boot:

pm2 savepm2 startup

Update software

rungit pull

JSON template to query

{"algos": {"x11": {"hashrate":150000000,"supportsSSL": false},"x13": {"hashrate":150000000,"supportsSSL": false},"x14": {"hashrate":150000000,"supportsSSL": false},"x15": {"hashrate":150000000,"supportsSSL": false},"quark": {"hashrate":150000000,"supportsSSL": false},"qubit": {"hashrate":150000000,"supportsSSL": false}},"region":"eu","name":"Baikal Mini Miner","provider": ["nicehash"]}

Hashrate is in Hash/sec, region can be one of these: ["eu","usa","hk","jp", "in", "br"]Provider is an array of valid providers: "nicehash", "miningpoolhub" or "minecryptonight"

JSON template for responses from the server

{"result":[      {"algorithm":"x15","profitability":0.0001148145,"stratum":"stratum+tcp://x15.eu.nicehash.com:3339","isSSL":false,"provider":"nicehash"      },      {"algorithm":"x13","profitability":0.000109995,"stratum":"stratum+tcp://x13.eu.nicehash.com:3337","isSSL":false,"provider":"nicehash"      },      {"algorithm":"quark","profitability":0.0000602235,"stratum":"stratum+tcp://quark.eu.nicehash.com:3345","isSSL":false,"provider":"nicehash"      },      {"algorithm":"qubit","profitability":0.000035963999999999997,"stratum":"stratum+tcp://qubit.eu.nicehash.com:3344","isSSL":false,"provider":"nicehash"      },      {"algorithm":"qubit","profitability":0.0000244755,"stratum":"stratum+tcp://hub.miningpoolhub.com:17014","isSSL":false,"provider":"miningpoolhub"      },      {"algorithm":"x11","profitability":0.0000057165,"stratum":"stratum+tcp://x11.eu.nicehash.com:3336","isSSL":false,"provider":"nicehash"      },      {"algorithm":"x11","profitability":0.000003963,"stratum":"stratum+tcp://hub.miningpoolhub.com:17007","isSSL":false,"provider":"miningpoolhub"      }   ]}

in case something is wrong/missing in the query:

{"result":false}

complete list of supported algos

  • myriad-groestl
  • blake2s
  • cryptonight
  • daggerhashimoto
  • decred
  • equihash
  • groestl
  • keccak
  • lbry
  • lyra2re
  • lyra2rev2
  • lyra2z
  • neoscrypt
  • nist5
  • pascal
  • quark
  • qubit
  • scrypt
  • sha256
  • sia
  • skein
  • skunk
  • x11
  • x11gost
  • x13
  • x15
  • yescrypt

Todos

  • Add Code Comments
  • Write Tests

License

GNU GPLv3 (see LICENSE)

About

service to autoswitch with support for nicehash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp