Given a mini script, how can I use this library to build a an unlocking script to satisfy it (presume I know which private keys I have).