My latest invention is Lotto Miner, a webapp where you can attempt to mine a bitcoin block in your browser and put the block reward directly in a bitcoin address of your choice. You can also mine on regtest, where you are more likely to succeed.
Try it here:
Video demo:
The difficulty setting is low at first, but you can increase it til it matches that of the real bitcoin network. Raising the difficulty will take increasingly more work and, probably, more time.
The source code is:
I made this to help folks learn how bitcoin's difficulty assessment algorithm works and gain an appreciation for how much work goes into mining bitcoin blocks. Also, I'm not aware of any open source tools for creating custom bitcoin block templates on regtest, and this is a starting point for such a tool. The codebase is pretty small and since it produces valid regtest blocks, devs should be able to customize it to suit their regtest needs.
Try it out and have fun!
Lotto Miner
GitHub
GitHub - supertestnet/lotto_miner: Playground for solo-mining bitcoin on regtest and mainnet
Playground for solo-mining bitcoin on regtest and mainnet - supertestnet/lotto_miner
Lotto Miner

Why are miners dumping Ocean? I can't say for sure, but if I had to guess, I would guess it is because some of Ocean's major personnel (Luke Dashjr, Bitcoin Mechanic) are seen as champions of a controversial UASF called BIP-RDTS.
(Weirdly, I am also seen as a champion of this proposal, even though I have publicly stated my opposition to it several times.) Miners may be worried that Ocean will start enforcing this soft fork and they could end up on a bitcoin fork with a minority of hashrate.
But it's sad because Ocean is the only pool on bitcoin that currently lets miners mine their own block templates, other than some "solo pool" options. There are two other pools -- Braiins and Demand Pool -- which have *said* they will offer this feature at some point, but they do not seem to currently do so.
As a result, if you are a miner and want to mine your own block templates, Ocean is currently the only way to do it in a semi-normal pooled setting. But there may be a UASF stigma associated with them now, and many miners seem to be abandoning them. Hopefully Braiins Pool starts offering miner-controlled templates soon.
