I'm having trouble using pybitcoin tools to sign transactions offline :
https://github.com/vbuterin/pybitcointools
I'm using multichain-cli to create the raw transaction:
1) createrawtransaction '[{"txid":"f098143b389bf7ff19c26d8d051ac4351f255cdb1f41735cf4fa723b9e38893","vout":0}]' '{}'
Output: 01000000019388e3b923a74fcf3517f4b1cd54251f35c41a058d6dc219fff79b383b1498f00000000000ffffffff0000000000
2) appendrawdata 01000000019388e3b923a74fcf3517f4b1cd54251f35c41a058d6dc219fff79b383b1498f00000000000ffffffff0000000000 5554584f732046545721
Output: 01000000019388e3b923a74fcf3517f4b1cd54251f35c41a058d6dc219fff79b383b1498f00000000000ffffffff0100000000000000000c6a0a5554584f73204654572100000000
3) And then using pybitcoin tools...
tx = \
'01000000019388e3b923a74fcf3517f4b1cd54251f35c41a058d6dc219fff79b383b1498f00000000000ffffffff0100000000000000000c6a0a5554584f73204654572100000000'
signed_tx = sign(tx, 0, 'c19baef3f8c7cd8df7aab108ef8578dd6694fed976c85cd8213cdaec3d7e4ebd')
4) When calling sendrawtransaction using the hex result from signing in step 3, I get the following error.
error code: -26
error message:
16: ConnectInputs failed
Any advice??