Added genwif function to unify btcwif, ltcwif and ftcwif