isPubkey static method

bool isPubkey(
  1. String str
)

Check if a string is a public key (npub)

Implementation

static bool isPubkey(String str) {
  return isKey(Hrps.kPublicKey, str);
}