move method signrawtransaction to wallet class