Hey guys,
Sorry if this has been asked before I searched a lot couldn’t find anything of significance. So basically I have an application that continuously pins new IPFS hashes and also pushes it to IPNS, I have a peer ID that starts with 12D3Koo
and I am able to access it using ipfs.io/ipns/12D3Koo..
Just a note: All the examples in the docs that I’ve seen have the IPNS hash/Peer ID starting with Qm
instead of 12
const IPFS = require('ipfs-core')
async function main(){
const ipfs = await IPFS.create()
const addr = '12D3Koo...'
for await (const name of ipfs.name.resolve(addr)) {
return name
}
}
main().then(resolved =>{
console.log(`resolved name is ${resolved}`)
})
But as soon as I try to fetch it from jsIPFS using the ipfs-core using the code above library I get
Error: record requested for 12D3Koo was not found in the network
Is it not possible to fetch using ipfs-core what is published using go-ipfs?
Thanks in advance for any help