Author

Topic: Mining with PHP (for educational purposes) (Read 915 times)

sr. member
Activity: 728
Merit: 256
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.

That would be a great project to incept. Publish in online and you'll be flooded with traffic. Smiley
hero member
Activity: 952
Merit: 513
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
member
Activity: 82
Merit: 10
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.
hero member
Activity: 952
Merit: 513
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....
member
Activity: 82
Merit: 10
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?
Jump to: