ipfs name publish does not publish to peerID

I am trying to publish a file on my ipfs node. In order to do so I use the following commands:

ipfs add someFile.txt
// added <someHash> someFile.txt
ipfs name publish <someHash>
// Published to <notPeerID>: /ipfs/<someHash>

I get the weird behavior that ipfs name publish does not use the peerID to publish the file to. It is not the peerID ipfs id returns. Also does not look like a normal ipfs hash either, it does not start with 'Qm' but 'k'. Anyone have an idea what I could try to fix that?

Read more here: https://stackoverflow.com/questions/64952235/ipfs-name-publish-does-not-publish-to-peerid

Content Attribution

This content was originally published by L. Stephan at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: