Class Name

Name is an IPNS key ID.

Names can be used to retrieve the latest published value from the W3name service using the resolve function.

Note that Name contains only the public verification key and does not allow publishing or updating records. To create or update a record, use the WritableName subclass.

To convert from a string representation of a name to a Name object use the parse function.

Hierarchy

Constructors

Accessors

Methods

Constructors

  • Parameters

    • pubKey: PublicKey

    Returns Name

Accessors

  • get bytes(): Uint8Array
  • A binary representation of the IPNS verification key.

    Returns Uint8Array

Methods

  • Returns

    the string representation of the IPNS verification key (e.g. k51qzi5uqu5di9agapykyjh3tqrf7i14a7fjq46oo0f6dxiimj62knq13059lt)

    Returns string

Generated using TypeDoc