Use remote node

This commit is contained in:
Franck Royer 2022-03-01 16:06:55 +11:00
parent b6e3a25bfd
commit 4eaab4c2be
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import WebRTCDirect from 'libp2p-webrtc-direct';
libp2p: {
peerId: hardcodedPeerId,
addresses: {
listen: ['/ip4/127.0.0.1/tcp/9090/http/p2p-webrtc-direct']
listen: ['/ip4/0.0.0.0/tcp/9090/http/p2p-webrtc-direct']
},
modules: {
transport: [WebRTCDirect]

View File

@ -180,7 +180,7 @@ async function initWaku(setter: (waku: Waku) => void) {
},
bootstrap: {
peers: [
`/ip4/127.0.0.1/tcp/9090/http/p2p-webrtc-direct/p2p/12D3KooWCuo3MdXfMgaqpLC5Houi1TRoFqgK9aoxok4NK5udMu8m`,
`/dns4/waku.fryorcraken.xyz/tcp/9090/http/p2p-webrtc-direct/p2p/12D3KooWCuo3MdXfMgaqpLC5Houi1TRoFqgK9aoxok4NK5udMu8m`,
],
},
});