Post
Topic
Board Mining
Re: Mining with PHP (for educational purposes)
by
Kyraishi
on 15/05/2015, 15:15:46 UTC
Does anybody know of a project experiment for mining with PHP?  I know it's not efficient, nor will it make me any BTC, but I'm interested for educational purposes.

I would actually like to see the nonce increment, added transactions, and the resulting hash.  It'd be easier if you could control hash rate (i.e. 1 hash per second, etc...).

Does a project like this already exist?  Possible?

You mean something like this: https://github.com/codler/Bitcoin-phpMiner
What is the real reason you want it for?

Nevermind I don't wanna know....

I want to help my dad/family understand it.  I want to create a "live view" of the blockchain.  An animated view of the previous block with transactions, nonce, hashes, etc...  while showing the current block being mined (i.e. iterating nonce + transactions + prev hash).

Some people are visual, others can imagine what the code does in their mind.   I want to try to bring these two together... for educational purposes.  I know this will never mine a block, but I do want to show what's going on.

Gotcha!
It would be nice if you published it on the web so that other newcomers can visualize what is happening under the hood  Wink
I am sure many members in the forums would help promote the site, of which you can add some adverts and monetize it  Wink