Creates a new IPNS record and signs it with the given private key.
The IPNS Record validity should follow the [RFC3339]https://www.ietf.org/rfc/rfc3339.txt with nanoseconds precision.
Note: This function does not embed the public key. If you want to do that, use EmbedPublicKey.
The passed value can be a CID, a PeerID or an arbitrary string path.
CIDs will be converted to v1 and stored in the record as a string similar to: /ipfs/${cid}
PeerIDs will create recursive records, eg. the record value will be /ipns/${cidV1Libp2pKey}
String paths will be stored in the record as-is, but they must start with "/"
Creates a new IPNS record and signs it with the given private key. The IPNS Record validity should follow the [RFC3339]https://www.ietf.org/rfc/rfc3339.txt with nanoseconds precision. Note: This function does not embed the public key. If you want to do that, use
EmbedPublicKey
.The passed value can be a CID, a PeerID or an arbitrary string path.
/ipfs/${cid}
/ipns/${cidV1Libp2pKey}
"/"