Function extractPublicKeyFromIPNSRecord

  • Extracts a public key from the passed PeerId, falling back to the pubKey embedded in the ipns record

    Parameters

    Returns PublicKey | undefined