Expand description
Transport-free DPNS username helpers.
The Sdk-bound DPNS surface (registration, availability checks, name
resolution) lives in dash-sdk; these free functions are pure string
validation/normalization shared with embedders.
Functions§
- convert_
to_ homograph_ safe_ chars - Convert a string to homograph-safe characters by replacing ‘o’, ‘i’, and ‘l’ with ‘0’, ‘1’, and ‘1’ respectively to prevent homograph attacks
- is_
contested_ username - Check if a username is contested (requires masternode voting)
- is_
valid_ username - Check if a username is valid according to DPNS rules