publishIPNS method

Future<String> publishIPNS(
  1. String cid, {
  2. required String keyName,
})

Returns a Future that resolves to the IPNS name (base36-encoded peer ID) published for the given cid.

Implementation

Future<String> publishIPNS(String cid, {required String keyName}) =>
    _protocolManager.publishIPNS(cid, keyName: keyName);