interface IPNS {
    publish(key, value, options?): Promise<IPNSRecord>;
    republish(options?): void;
    republishRecord(key, record, options?): Promise<void>;
    resolve(key, options?): Promise<IPNSResolveResult>;
    resolveDNSLink(domain, options?): Promise<DNSLinkResolveResult>;
}

Methods

  • Republish an existing IPNS record without the private key.

    Before republishing the record will be validated to ensure it has a valid signature and lifetime(validity) in the future. The key is a multihash of the public key or a string representation of the PeerID (either base58btc encoded multihash or base36 encoded CID)

    Parameters

    Returns Promise<void>