move SendCoin to using a generic wallet