StakeCredKey.fromPublicKey constructor
Constructs a StakeCredKey from a public key pubKeyBytes.
It derives the credential from the public key bytes using hashing.
Implementation
StakeCredKey.fromPublicKey(List<int> pubKeyBytes)
    : super(AdaAddressUtils.publicKeyToHash(pubKeyBytes));