Converts DPNS name to normalized format (ex. alice.dash -> al1ce.dash)
{string}
Performs a DPNS name registration sequence Contested names are include additional fee of 0.2 Dash Check your name is contested with .testNameContested(name) method to check if additional fee will be charged
{string} username (ex. pshenmic.dash)
{IdentifierLike} identity identifier
{PrivateKeyWASM} Authentication / High private key from your identity
Searches for a registered DPNS name in the network
Should be in a human-readable format, for example pshenmic.dash
Returns a {DocumentWASM} document of type 'domain' from DPNS system data contract if found, returns null if not found.
{string}
Promise<DocumentWASM | null>
Tests a given username against contested names rules. Contested names includes an additional fee of 0.2 Dash as a voting resolution fee
This function return boolean whether given username (f.e pshenmic.dash) falls under contested names rules.
Validates a DPNS name that you would like to register
{string} full DPNS name (ex. pshenmic.dash)
null if valid or string with a reason
Functions related to DPNS names (usernames)