Helia IPFS node with relay implementation. Unlike Kubo(most popular IPFS implementation in GO), Helia depends on js-libp2p and support webRTC that allows Helia browser nodes create connection with each other(browser-to-browser).
Create static peerId node src/genPeerId.js
, as result you get peer.json
with perrId keys.
docker-compose up
- Include Helia(node.js) in bootstrap list for libp2p instance used for Helia:
/dns4/acidpictures.ink/tcp/4444/wss/p2p/12D3KooWE3yj6jibgZcxMb6hrpQGKRE9xaqAazFkYaJZDZengzHq
- Use libp2p methods to connect it on fly:
heliaNode.libp2p!.dial(multiaddr(heliaReleayerAddress))
Caddy generate self-signed certificates automatically, to use your own copy it to /certs
directory, and update Caddyfile
from tls
to tls /etc/caddy/certs/acidpictures_ink_chain.crt /etc/caddy/certs/acidpictures_ink.key