creating your own bitcoin block
That is not how bitcoin works. You can't just &quot;add&quot; bitcoin to an address without a valid UTXO. There is not a minimum number of transactions required to create a block. A miner can create a block with no transactions included if they wanted, so the sending back and forth idea makes no sense. Calculating the magic number isn't something you can do on your own, all the other miners in the world are racing to solve for the same block, and once they do, you need to update your equation to solve for a new magic number. I think you need to do a bit more research on how bitcoin works.