Connect to wss go-waku instance

This commit is contained in:
Franck Royer 2021-04-29 13:31:44 +10:00
parent 68de1f4431
commit 147d7c525b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 4 additions and 4 deletions

View File

@ -29,6 +29,7 @@
"ihaves",
"ineed",
"iwant",
"jdev",
"lastpub",
"libauth",
"libp",
@ -48,6 +49,7 @@
"sandboxed",
"secio",
"staticnode",
"statusim",
"submodule",
"submodules",
"transpiled",

View File

@ -82,13 +82,11 @@ async function initWaku(setter: (waku: Waku) => void) {
setter(waku);
// FIXME: Connect to a go-waku instance by default, temporary hack until
// we have a go-waku instance in the fleet
waku.libp2p.peerStore.addressBook.add(
PeerId.createFromB58String(
'16Uiu2HAmVVi6Q4j7MAKVibquW8aA27UNrA4Q8Wkz9EetGViu8ZF1'
'16Uiu2HAm7gwDpb2SQkWv69V7YND1v9tzs12eu1YyqNYmtEZwvC8D'
),
[multiaddr('/ip4/134.209.113.86/tcp/9001/ws')]
[multiaddr('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/443/wss')]
);
} catch (e) {
console.log('Issue starting waku ', e);