Pages:
Author

Topic: Whattomine - profitability website with basic json. - page 4. (Read 94955 times)

newbie
Activity: 9
Merit: 0
hi, mb it is a noob question,
could you tell me plz where does hashrate data for each coin (first left field) come from?

For example for bitcoin it is 70 000 Gh/s for that moment ( https://whattomine.com/coins/1-btc-sha-256 )
but there is no such field in json.file

legendary
Activity: 1537
Merit: 1005
Any idea when you guys expect to be able add the RX 6800 to the top GPUs page?

When they are available in shops, bought and tested Smiley
Hopefully will go much smoother than nvidia 30xx
member
Activity: 127
Merit: 10
Any idea when you guys expect to be able add the RX 6800 to the top GPUs page?
legendary
Activity: 3164
Merit: 1003

  I'm getting    Request Header Or Cookie Too Large  now on chrome. I cleared all cookies too. If I go incognito it works. I can't set my hashrates in regular chrome. Any help plz. thx  Smiley

This can only be caused by too big cookies.
Maybe try to remove all cookies manually from browser inspector? https://developers.google.com/web/tools/chrome-devtools/storage/cookies

Got it thx  Smiley
legendary
Activity: 1537
Merit: 1005

  I'm getting    Request Header Or Cookie Too Large  now on chrome. I cleared all cookies too. If I go incognito it works. I can't set my hashrates in regular chrome. Any help plz. thx  Smiley

This can only be caused by too big cookies.
Maybe try to remove all cookies manually from browser inspector? https://developers.google.com/web/tools/chrome-devtools/storage/cookies
legendary
Activity: 3164
Merit: 1003

  I'm getting    Request Header Or Cookie Too Large  now on chrome. I cleared all cookies too. If I go incognito it works. I can't set my hashrates in regular chrome. Any help plz. thx  Smiley
newbie
Activity: 23
Merit: 0
Indeed qkc calcs are not correct.
Switched coin back to testing state and will figure out the correct formula as it differs somehow from default ethash.

https://qkc.ontopool.com/miner/0x65a4bB427c40397311e20949750e6f2B91Ae8B7900000000%20
https://minerstat.com/coin/QKC It is also not true.
legendary
Activity: 1537
Merit: 1005
Indeed qkc calcs are not correct.
Switched coin back to testing state and will figure out the correct formula as it differs somehow from default ethash.
legendary
Activity: 1537
Merit: 1005
Hello!

Can you share at which pool you have been mining exactly?
QKC has multiple chains and they vary in difficulty.
legendary
Activity: 1537
Merit: 1005
Hello!
The calculator calculates QKC incorrectly
I noticed this before and thought that I would fix the error, but after a few months everything is still the same.
I connected one farm with 220 megahashes, the calculator writes 488.5793 current income and QKC 476.5064 per day.
Miningpool paid an average of 100 QKC for 10 hours, which is 240 QKC per day. The calculator cheats by 2 times.

Hey, best to report those problems as soon as they happen. Faster on discord as well.
Will check whats going on with qkc.
newbie
Activity: 23
Merit: 0
Hello!
The calculator calculates QKC incorrectly
I noticed this before and thought that I would fix the error, but after a few months everything is still the same.
I connected one farm with 220 megahashes, the calculator writes 488.5793 current income and QKC 476.5064 per day.
Miningpool paid an average of 100 QKC for 10 hours, which is 240 QKC per day. The calculator cheats by 2 times.

http://prntscr.com/u78dq4
http://prntscr.com/u78e1c
newbie
Activity: 6
Merit: 0
OR instead of being so demanding, you can do all of it yourself! Instead of trying to make him take on a different business model, just scrape! What's wrong with that?

I wasn't trying to make fredeq do anything, I was just asking politely while telling that I understand if this is not something that would benefit a lot of people and wouldn't be worth it for him.

There are plenty of services that attempt profit switching. Every new parasite thinks they found a loop hole in profit-switching, but it's always a failed scheme. You may mine the most profitable coin, but then there is a massive reorg. Or you mine an illiquid coin that drops dramatically in price before your pool's confirmation threshold is reached.

All of which I am familiar with, but would still like to tackle the problem 'cause free will and shit. Just because you think something cannot be done doesn't make it a fact.

I like the website that doesn't cater to this degenerative behavior, that is simple with an amazing UX. But you should certainly be allowed to pay a HUGE price for it on the side.

If you try and redirect 1/10 of the time being arrogant and offensive to actually reading other people's posts with understanding, you would realize I wrote to fredeq that I am more than willing to pay a reasonable price for the features I need. Since you do not posses information about my financial status and what I consider a reasonable price, I would say you should take a HUGE amount of time to rethink which one of us is exhibiting degenerative behavior.


Peace out
newbie
Activity: 6
Merit: 0
I would say scrape for now is the best option. You have translated algo param names to algo names so it should be fine now?
If you dont mind the possibility of response format changing at one point then check for JS call made in the browser (adapt) on https://whattomine.com/coins

I've translated algo param names to algo names but wasn't sure for two of them (cnh and cm29). I think I got them right by process of elimination.
The adapt.js is an awesome step up, thanks!

As long as you plan to use our data on some other website it would be welcome to put a link + explanation on your side.

Rest assured.


Thank you for taking the time to answer my questions and consult, it really means a lot.

legendary
Activity: 1537
Merit: 1005
For example, "eqa" query parameter corresponds to "Equihash (210,9)" algo name returned in the JSON response. This is something I figured out, but there are some query params like "cnh" or "cm29" that are harder to correlate with algo names returned by JSON response. It would be awesome if JSON response for each coin contained this shoretened algo name that could be correlated with the URL param. That way I could reliably determine the power usage of the GPU for the corresponding algo and substract the power cost from the revenue returned in JSON response to get profits. AFAIK no matter what kW/h price I send in the query param it will always produce the same JSON response with revenue based on hashrate. I know you have this logic somewhere in the backend because the website frontend shows profitability (as opossed to JSON that only shows revenue).

I would say scrape for now is the best option. You have translated algo param names to algo names so it should be fine now?
If you dont mind the possibility of response format changing at one point then check for JS call made in the browser (adapt) on https://whattomine.com/coins

As long as you plan to use our data on some other website it would be welcome to put a link + explanation on your side.
hero member
Activity: 809
Merit: 501
I was hoping it would provide a more straightforward way of obtaining algo data (hashrate/power usage) for each GPU.
It would be great if there was a http GET request for that stuff instead of selecting each GPU programmatically and scraping the values that get populated at that point.
That is not such a huge problem once you figure out how to do it, the thing that worries me the most is described in the snippet in my previous post.

For example, "eqa" query parameter corresponds to "Equihash (210,9)" algo name returned in the JSON response. This is something I figured out, but there are some query params like "cnh" or "cm29" that are harder to correlate with algo names returned by JSON response. It would be awesome if JSON response for each coin contained this shoretened algo name that could be correlated with the URL param. That way I could reliably determine the power usage of the GPU for the corresponding algo and substract the power cost from the revenue returned in JSON response to get profits. AFAIK no matter what kW/h price I send in the query param it will always produce the same JSON response with revenue based on hashrate. I know you have this logic somewhere in the backend because the website frontend shows profitability (as opossed to JSON that only shows revenue).

If I am missing something, or doing something wrong please correct me and accept my apologies for wasting your time.
I understand if these things are something that wouldn't benefit many people and would be a waste of time for you. I'm trying to build a ROI calculator for GPUs and your data for hashrates and power usages accross GPUs has proven to be the best source of truth thus far. I've tried that cointomine API I mentioned in one of my posts, although it has a well structured API with everything I need, it unfortunately isn't maintained for over a year, and each GPU has its Max TDP value hardcoded for all algos.


Please tell me to leave you alone if this is becoming too much, I always have to option of scraping the entire frontend if nothing else works. Smiley

OR instead of being so demanding, you can do all of it yourself! Instead of trying to make him take on a different business model, just scrape! What's wrong with that?

There are plenty of services that attempt profit switching. Every new parasite thinks they found a loop hole in profit-switching, but it's always a failed scheme. You may mine the most profitable coin, but then there is a massive reorg. Or you mine an illiquid coin that drops dramatically in price before your pool's confirmation threshold is reached.

I like the website that doesn't cater to this degenerative behavior, that is simple with an amazing UX. But you should certainly be allowed to pay a HUGE price for it on the side.
newbie
Activity: 6
Merit: 0
I was hoping it would provide a more straightforward way of obtaining algo data (hashrate/power usage) for each GPU.
It would be great if there was a http GET request for that stuff instead of selecting each GPU programmatically and scraping the values that get populated at that point.
That is not such a huge problem once you figure out how to do it, the thing that worries me the most is described in the snippet in my previous post.

For example, "eqa" query parameter corresponds to "Equihash (210,9)" algo name returned in the JSON response. This is something I figured out, but there are some query params like "cnh" or "cm29" that are harder to correlate with algo names returned by JSON response. It would be awesome if JSON response for each coin contained this shoretened algo name that could be correlated with the URL param. That way I could reliably determine the power usage of the GPU for the corresponding algo and substract the power cost from the revenue returned in JSON response to get profits. AFAIK no matter what kW/h price I send in the query param it will always produce the same JSON response with revenue based on hashrate. I know you have this logic somewhere in the backend because the website frontend shows profitability (as opossed to JSON that only shows revenue).

If I am missing something, or doing something wrong please correct me and accept my apologies for wasting your time.
I understand if these things are something that wouldn't benefit many people and would be a waste of time for you. I'm trying to build a ROI calculator for GPUs and your data for hashrates and power usages accross GPUs has proven to be the best source of truth thus far. I've tried that cointomine API I mentioned in one of my posts, although it has a well structured API with everything I need, it unfortunately isn't maintained for over a year, and each GPU has its Max TDP value hardcoded for all algos.


Please tell me to leave you alone if this is becoming too much, I always have to option of scraping the entire frontend if nothing else works. Smiley
legendary
Activity: 1537
Merit: 1005
fredeq is the premium access and api somewhere on the roadmap or is it just an idea at this point? Cheesy

Api is ready, the docs and premium access are missing.
But what do you need it for? Its gonna basically do almost the same stuff as current json
newbie
Activity: 6
Merit: 0
Update:

I managed to pull off the ROI calculator using WhatToMine but I'm still having trouble with mapping GPU algos from URL query parameters to those provided by JSON response.
This is what I got so far:

Code:
algo_mappings = {
    "eth": "Ethash", #Ethash
    "zh": "Zhash", #Zhash
    "cnh": "CryptoNightHaven", #CNHeavy ???
    "cng": "CryptoNightGPU", #CNGPU
    "cnr": "CryptoNightR", #CryptoNightR
    "cnf": "CryptoNightFastV2", #CNFast
    "eqa": "Equihash (210,9)", #Aion
    "cc": "CuckooCycle", #CuckooCycle
    "cr29": "Cuckarood29", #Cuckaroo(d)29
    "cm29": "Cuckaroo29s", #Cuckaroo29s ???
    "cz29": "Cuckarooz29", #Cuckarooz29
    "ct31": "Cuckatoo31", #Cuckatoo31
    "ct32": "Cuckatoo32", #Cuckatoo32
    "eqb": "BeamHashIII", #Beam
    "rmx": "RandomX", #RandomX
    "ns": "NeoScrypt", #NeoScrypt
    "x16r": "X16Rv2", #X16Rv2
    "eqz": "EquihashZero", #EquihashZero
    "zlh": "ZelHash", #ZelHash
    "kpw": "KawPow", #KawPow
    "ppw": "ProgPow", #ProgPow
    "x25x": "X25X", #X25X
    "mtp": "MTP", #MTP
    "lrev3": "Lyra2REv3" #Lyra2REv3
}


Explanation for each key/value pair and its comment:
key: algo in the URL query param
value: algo returned by JSON response
comment: algo name in website frontend


fredeq is the premium access and api somewhere on the roadmap or is it just an idea at this point? Cheesy
newbie
Activity: 6
Merit: 0
Thanks for such a fast response!
Yeah, you should probably take it up a notch and charge for the API. It would be extremely useful for people who want to do auto algo/coin switching.

You are probably aware of this, but here's a site by someone who's already taking donations in exchange for a complete API: https://api.cointomine.today/
I would gladly pay a reasonable price for this to whattomine though, to complement an already great experience with the website. Smiley
Pages:
Jump to: