I've been doing some poking around and have been updating createTxFromAddrList from the extra directory to start learning more about Armory. The new createFromTxOutSelection is where I am stuck and not sure what more I need to do. The code and comments are below:
# ACR: To support P2SH in general, had to change createFromTxOutSelection
# to take full scripts, not just hash160 values. Convert the list
# before passing it in
scrPairs = [[hash160_to_p2pkhash_script(r), v] for r,v in recip160List]
txdp = UnsignedTransaction().createFromTxOutSelection(selectedUtxoList, scrPairs)
This is what I get when running:
KeyDataError: Must give pubkey map for singlesig USTXI!
Which makes sense given:
def createFromTxOutSelection(self, utxoSelection, scriptValuePairs, pubKeyMap=None, txMap=None, p2shMap=None)
Anyone able to point me in the right direction on where I should be looking? Not sure what to do for creating the pubkey map.