Giter Site home page Giter Site logo

API compatibility about nq-miner HOT 4 OPEN

tomkha avatar tomkha commented on September 18, 2024
API compatibility

from nq-miner.

Comments (4)

tomkha avatar tomkha commented on September 18, 2024

it actually exposes almost everything except HW temps/fans
https://github.com/tomkha/nq-miner/blob/master/index.js#L270

from nq-miner.

tomkha avatar tomkha commented on September 18, 2024

@jch9678 run it with API enabled
./nq-miner -t cuda -m dumb -p eu.nimpool.io:8444 -a "NQ07 0000 0000 0000 0000 0000 0000 0000 0000" --api

and then

$ curl -s http://localhost:3110/api | jq .
{
  "mode": "dumb",
  "network": "main",
  "pool": "eu.nimpool.io:8444",
  "wallet": "NQ07 0000 0000 0000 0000 0000 0000 0000 0000",
  "balance": 0.02323,
  "confirmedBalance": 0.02323,
  "deviceName": "mat",
  "deviceId": 2897362820,
  "shares": 1,
  "errors": 0,
  "totalHashrate": 101952,
  "hashrates": [
    101952
  ],
  "shareDifficulty": 20.0000190735,
  "networkDifficulty": 5034347.7979871975,
  "networkHashrate": 5498850288.1481495,
  "devices": [
    {
      "idx": 0,
      "enabled": true,
      "name": "GeForce GTX 1050"
    }
  ],
  "uptime": 26,
  "version": "NQ Miner 0.99.7 CUDA"
}

from nq-miner.

jch9678 avatar jch9678 commented on September 18, 2024

Gotcha, thanks. I guess the problem is awesome miner doesn't officially support nq-miner. I had to choose noncer-pro in awesome miner for the total hashrate to show up. Thanks for pointing this out.

from nq-miner.

jch9678 avatar jch9678 commented on September 18, 2024

I've contacted them, who knows if they'll implement it. If they do, is it possible to expose the temps/fans?

from nq-miner.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.