This is an interesting experience. Hopefully someone else will find these posts and learn as I have.
...
The difficulty here would be generating a coinbase transaction correctly using the new address types (bech32 etc).
There isn't much information available on this topic - I've had some success with yiimp however.
All you need to do is encapsulate the address type correctly.