Bitcoin Forum
December 13, 2017, 04:18:32 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Claymore miners API  (Read 2911 times)
Ambros
Hero Member
*****
Offline Offline

Activity: 622

pool.sexy co-founder


View Profile
May 12, 2017, 08:46:38 AM
 #1

Hi Guys.

In a couple weeks I will have some free time and I would like to give my first contribution to the mining community.
I would like to develop and opensource a module able to monitor multiple claymore miner, show their stats and send telegram notifications when needed.

I'm aware that there are many of these software around, but at best of my knowledge they are not opensource.

Finally my real question:
Does anyone have a documentation of Claymore miner API?
I would like to re invent the wheel and spend time sniffing them if someone did that yet.
1513138712
Hero Member
*
Offline Offline

Posts: 1513138712

View Profile Personal Message (Offline)

Ignore
1513138712
Reply with quote  #2

1513138712
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513138712
Hero Member
*
Offline Offline

Posts: 1513138712

View Profile Personal Message (Offline)

Ignore
1513138712
Reply with quote  #2

1513138712
Report to moderator
felixbrucker
Hero Member
*****
Offline Offline

Activity: 518


View Profile WWW
May 12, 2017, 08:52:01 AM
 #2

Hi Guys.

In a couple weeks I will have some free time and I would like to give my first contribution to the mining community.
I would like to develop and opensource a module able to monitor multiple claymore miner, show their stats and send telegram notifications when needed.

I'm aware that there are many of these software around, but at best of my knowledge they are not opensource.

Finally my real question:
Does anyone have a documentation of Claymore miner API?
I would like to re invent the wheel and spend time sniffing them if someone did that yet.

i used this: https://github.com/osnwt/ethmon/blob/master/app.js#L161

as a base for my own program, where you can start here: https://github.com/felixbrucker/miner-manager/blob/master/api/controllers/miningController.js#L723

(forgive the crappy code Tongue)

the syntax is basically always the same: write '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}\n' via socket and you get the stats data, i suggest looking at the raw data once to get a feel of what you are getting
Ambros
Hero Member
*****
Offline Offline

Activity: 622

pool.sexy co-founder


View Profile
May 12, 2017, 08:55:32 AM
 #3

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin
felixbrucker
Hero Member
*****
Offline Offline

Activity: 518


View Profile WWW
May 12, 2017, 09:07:02 AM
 #4

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue
Ambros
Hero Member
*****
Offline Offline

Activity: 622

pool.sexy co-founder


View Profile
May 12, 2017, 09:57:04 AM
 #5

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue

A miner monitor written in c/c++  Grin Grin

I think it's overkilling, I think I'll go for something fast (to develop) as python
felixbrucker
Hero Member
*****
Offline Offline

Activity: 518


View Profile WWW
May 12, 2017, 10:50:55 AM
 #6

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue

A miner monitor written in c/c++  Grin Grin

I think it's overkilling, I think I'll go for something fast (to develop) as python
haha indeed Cheesy

sure why not
stibog
Newbie
*
Offline Offline

Activity: 10


View Profile
May 22, 2017, 08:17:37 PM
 #7

I am developing a miner monitor in C++ using Qt framework! Smiley Call it overkill if you want, but it uses virtually no resources. I've added support for EWBF api just a few minutes ago. (not yet on github, will add tonight or tomorrow.) And I'm looking into Claymore api now, so I'll start by looking at your JS Cheesy
It's still early development, but it works. My program is here:
https://bitcointalk.org/index.php?topic=1905294
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!