Hi folks,
We wanted to show that mining of cryptocurrencies can be used for micropayments on the web, for donation to sites like wikipedia or for content
on news web-sites, youtube, etc.. Of course it is not just about Bitcoin mining, but picking the most profitable currencies with ASIC-resistant PoW algorithms.
Here is a link to the PoC: https://github.com/christoftorres/TicketMiner
Here are also some more technical details:
It is based on the paper "Proof-of-Work as Anonymous Micropayment: Rewarding a Tor Relay" [1].
Server code:
The server application is a Node.js application which runs in the background on the website wishing to provide improved services or receive donations by clients.
https://github.com/christoftorres/TicketMiner/tree/master/Server
Client code:
The client application is a Mozilla Firefox add-on that runs inside the Firefox browser and mines from websites which have the server application running.
https://github.com/christoftorres/TicketMiner/tree/master/Addon
Test cases:
Two test cases are provided, illustrating two possible use cases of services, namely donations and mirco-payments inside e-commerce websites.
https://github.com/christoftorres/TicketMiner/tree/master/TestCases
Feel free to comment, criticize or ask questions
[1] Alex Biryukov, Ivan Pustogarov, "Proof-of-Work as Anonymous Micropayment: Rewarding a Tor Relay", Financial Cryptography 2015, Puerto-Rico, USA.