wallet: allow inputs and offset to be passed into wallet.sign.