String encode(WIF wif) { return bs58check .encode(encodeRaw(wif.version, wif.privateKey, wif.compressed)); }