I currently trying to develop a simple Bitcoin miner in c++ for a project on my university. For parsing the 'getblocktemplate'-data I'm using libblkmaker. Now I have to build the coinbase transaction for the 'blktmpl', but I don't really know how.
Anyone knows how to add a coinbase transaction to the block-template with 'libblkmaker'?
And how do I add my bitcoin address to this?
Thanks for your help, Sebastian