I am wondering if it is possible to write Solidity code to Mine Bitcoins on Ethereum's distributed computing platform?

1 Answer 1


In theory it's just hashing so yes, you could make a contract that did Bitcoin mining. In practice it would be impossibly expensive, and you'd never find a block.

Ethereum's distributed computing platform is useful for when you want to do a single shared calculation, and have lots of people verify and share it and agree on the result. This makes it extremely expensive to do even trivial calculations. Mining is the opposite: You want lots of people to do independent calculations, and only share the occasional winning result.

There may be some useful ways to use Ethereum for organizing mining pools, however. It may also be interesting to use Ethereum to incentivize certain behaviour that you want; For example, you might want to make a bounty for a miner who signaled for or against a Bitcoin protocol change you wanted, or who orphaned blocks containing a particular type of transaction that you thought was undesirable.

  • Thanks Edmund for answering, However I would like to know more detailed info. about answer. I will wait for any answers otherwise I'll accept your.
    – vs4vijay
    May 19, 2017 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.