ipfs/js-ipns

Generating IPNS ID with IPFS hash

Closed this issue · 2 comments

Hello, I know this is a pretty basic and dumb question but how do i actually generate an IPFS ID from my IPFS hash using this package? Would really appreciate if someone can help me since i tried to read the documentation but i failed to comprehend any of it.

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

See create-record in the README and it's usage in the tests.

The returned value is the IPNS record, the IPNS name used to resolve the record by other peers is /ipns/{peerId} where {peerid} is the peer ID used to create and sign the record.