encodePubKey static method
Implementation
static String encodePubKey(String pubkey) {
// var data = HEX.decode(pubKey);
// data = _convertBits(data, 8, 5, true);
// var encoder = Bech32Encoder();
// Bech32 input = Bech32(Hrps.PUBLIC_KEY, data);
// return encoder.convert(input);
return _encodeKey(Hrps.PUBLIC_KEY, pubkey);
}