MidnightKeyRole
Midnight blockchain key roles as defined in the Midnight Wallet SDK.
Midnight uses BIP-32 hierarchical deterministic (HD) wallet structure with custom roles for different key purposes.
Derivation Path:
m / 44' / 2400' / account' / role / indexWhere:
44'= BIP-44 purpose (hardened)2400'= Midnight coin type (hardened)account'= Account index (hardened, typically 0)role= One of the roles defined below (NOT hardened)index= Address index (NOT hardened, typically 0)
Reference:
Midnight Wallet SDK: https://github.com/midnightntwrk/midnight-wallet
BIP-44: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki
Entries
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.