I am using the infura api for IPFS and able to make the ipfs.add() through the infura.
With Ganache(local network) is working fine for ipfs.add() and ipfs.name.publish() as in the ipfs documentation https://docs.ipfs.io/reference/api/http/
But while using the public network through infura I am unable to post the request for ipfs.name.publish().
I am connecting to Infrua through var ipfsClient = require(‘ipfs-http-client’) var ipfs = ipfsClient({ host: ‘ipfs.infura.io’, port: ‘5001’, protocol: ‘https’ })
Whether we can do POST the publish request for IPFS through infura?
Please help me out
Hi there, we do not support the .name() methods unfortunately. If you describe your use case for needing this possibly we could recommend an alternative solution.
Unfortunately this is still not supported, we are actively working on a big new release that will be the ground work for these types of new features. Please stay tuned and thank you for your patience.