ipfs-examples / helia-examples

How to do most anything with your Helia node
https://verified-fetch.vercel.app
73 stars 61 forks source link

Ipns? #38

Open mediafill opened 1 year ago

mediafill commented 1 year ago

Was able to get Helia working, and it uploads my file, but I'm not able to see it on the public gateways? How do I publish to ipns or get it to be seen on the public gateways? Creating Helia node...

Connecting to 12D3KooWBb4mfPMfaCcw26iEhYhXR1ux8PUy9k441XYcsuqg8Qpa...

Adding file image-581431514258.jpg...

Added to bafkreidckfzuzwx677rg67vxuw6m6zetguxfgmzwf6q6tumt6ul2mvmclm Cannot read properties of undefined (reading 'listKeys')

SgtPooki commented 1 year ago

@mediafill thanks so much for submitting this issue and letting us know you're having trouble using Helia.

Was able to get Helia working, and it uploads my file, but I'm not able to see it on the public gateways? How do I [...] get it to be seen on the public gateways?

There is a thread going at https://discuss.ipfs.tech/t/how-to-retrieve-content-uploaded-via-helia-using-the-ipfs-gateway/16582/4?u=sgtpooki that talks about why this may be happening.

We are tracking the creation of an example that is primed for creating content in Helia and fetching from public IPFS gateways in #39

How do I publish to ipns

Also, for IPNS, I believe there is an example from js-ipfs that will be ported over shortly tracked at https://github.com/ipfs/helia/issues/43 called "browser-ipns-publish"

Please let us know if you have any further questions.