getPubkey method

String getPubkey(
  1. int derivation
)

Return the pubkey in string format for the given derivation keypair

Implementation

String getPubkey(int derivation) {
  Bip32KeyPair subKey = derive(derivation);
  return Base58Encode(subKey.signingKey!.publicKey.rawKey.toList());
}