Hi everyone,
I just discovered coinhive and wanted to fiddle with it with a personal lamp server in a virtual machine for testing purposes. Coinhive's documentation is pretty limited and real life makes it that I often have to interrupt my coding & testing sessions. However I've been lurking and reading in the cryptocurrency for about 2 years and I would like to have a small and unique faucet project.
Up to now, my web skills are pretty limited to installing WordPress scripts and moving mysql data around with php. I want to get to the next level of web integration, and with good examples I can learn quickly. Basically I'm trying to tell my php machine to fetch the json data and display it to the screen. Then, later on I would like to store the json data in a mysql database so I could show some stats. But up to now, all I get is either blank pages or http 500 errors. Even just making a simple console to graph the data is overwhelming. btw, do I need to have a https certificate to fetch https urls? That shows how much behind I feel like
While searching, I landed on beniamino38's hivefaucet wich was exactly the general idea I had in mind, except with a few variances like rewarding with more coins than btc or monero. I also thought of some forum "like" or "up" button that would hash a little before accepting, therefore showing a true value of encouragement to the poster (since the liker spent some cpu cycles for him/her), then sharing something like 1/3 to the poster, the liker and the hoster.
But again, usable examples are lacking, so useable examples would help me a lot. I'll make sure to share my creation asap