codebasics / cool_python_apps

Small and cool python apps including bitcoin mining, language translator etc.
248 stars 280 forks source link

And How it goes to wallet ? #4

Open amaendeepm opened 3 years ago

amaendeepm commented 3 years ago

How this code https://github.com/codebasics/cool_python_apps/blob/main/2_bitcoin_mining/bitcoin_mining.py sends mined qty to wallet ?

zevaryx commented 3 years ago

This isn't a true Bitcoin miner, but more of a proof of concept on how mining works. It only mines a single simulated block

AdrianViverosL commented 3 years ago

Yeah! as zevaryx mentioned above, this code only has demo purposes to get the idea and concept of mining.

bener07 commented 3 years ago

And where can I find a TRUE script to mine bitcoins to my wallet, I changed the code, and now is in a loop so is just mining and mining and all of that. so where can I find one that sends the bitcoins to my wallet?

zevaryx commented 3 years ago

For various reasons, that would be a terrible idea.

tl;dr is that you can't directly mine BTC with standard computers anymore, ignoring that this code is just a proof of concept.

Full reasons: