Shelley introduces four different types of addresses:

  • base addresses bits 7-6 : 00 bit 5 : stake cred is keyhash/scripthash bit 4 : payment cred is keyhash/scripthash bits 3-0 : network id

  • pointer addresses bits 7-5 : 010 bit 4 : payment cred is keyhash/scripthash bits 3-0 : network id

  • enterprise addresses bits 7-5 : 010 bit 4 : payment cred is keyhash/scripthash bits 3-0 : network id

  • reward account addresses bits 7-5 : 111 bit 4 : credential is keyhash/scripthash bits 3-0 : network id

Besides, those new addresses, Shelley continues to support Byron-era bootstrap addresses and script addresses, but only the new base and pointer addresses carry stake rights.

  • byron addresses: bits 7-4 : 1000 bits 3-0 : unrelated data (no network ID in Byron addresses)

Enumeration Members

BasePaymentKeyStakeKey: 0
BasePaymentKeyStakeScript: 2
BasePaymentScriptStakeKey: 1
BasePaymentScriptStakeScript: 3
Byron: 8
EnterpriseKey: 6
EnterpriseScript: 7
PointerKey: 4
PointerScript: 5
RewardKey: 14
RewardScript: 15

Generated using TypeDoc