deriveChild and signing transactions using Bit-Wasp
Did a bit of digging and in order to extract the private key, you can use:
$privateKey = $key-&gt;getPrivateKey()-&gt;toWif(); And then sign the transaction.