Build a CIP-129 DRep ID from a governance credential.
Prepends the appropriate 1-byte header (0x22 for key-hash, 0x23 for script-hash) before Bech32-encoding with HRP drep.
drep
Credential containing type and hex hash.
type
hash
Bech32-encoded CIP-129 DRep ID (drep1...).
drep1...
Build a CIP-129 DRep ID from a governance credential.
Prepends the appropriate 1-byte header (0x22 for key-hash, 0x23 for script-hash) before Bech32-encoding with HRP
drep.