Skip to content

Docs: how to create standalone node on localhost (e.g. for testing) #306

@rrthomas

Description

@rrthomas

I've been trying to find out how to do this, so I can run some tests for a Helia-using program when I'm offline.

I've searched the docs and the web, and I can't find out how. Indeed, someone else had the same problem:

https://electroblog.hashnode.dev/beginners-guide-to-ipfs

says:

Something I don't yet know

Even after as much research as I did, there are a couple of things I haven't been able to fully figure out (yet) which is why I haven't discussed them in this article.

Connecting to localhost using Helia

I am looking for the right parameters to pass in the createHelia() function that will connect me to the local network instead of the default ipfs.io gateway, I have not been successful in doing this.

Apologies if I've overlooked something in the docs. I tried to understand how to do this using a suitable HeliaInit parameter to createHelia, but nothing seems to be relevant there. Thanks for Helia!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions