I see all coins added so far are hardcoded into this:
https://github.com/GarboMuffin/nicehash-calculator/blob/master/src/coins.ts
Rather than having one file per coin and importing it like this, how about fetching a list of coins from whatToMine:
https://whattomine.com/coins.json
Then using that to build a "top coins" to mine right now? Would be a ton more options, so would love to have it this dynamic!
I see all coins added so far are hardcoded into this:
https://github.com/GarboMuffin/nicehash-calculator/blob/master/src/coins.ts
Rather than having one file per coin and importing it like this, how about fetching a list of coins from whatToMine:
https://whattomine.com/coins.json
Then using that to build a "top coins" to mine right now? Would be a ton more options, so would love to have it this dynamic!