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/TicketMinerHere 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/Serverhttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/Server/screenshots/screen-dashboard.png?raw=trueClient 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/Addonhttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/Addon/screenshots/screen-main-menu.png?raw=truehttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/Addon/screenshots/screen-wallet.png?raw=truehttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/Addon/screenshots/screen-miner.png?raw=truehttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/Addon/screenshots/screen-job.png?raw=trueTest 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/TestCaseshttps://raw.githubusercontent.com/christoftorres/TicketMiner/master/TestCases/screenshots/screen-large-coffee.png?raw=trueFeel 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.