From 147d7c525b66a35a943430ed91b1d34e1a8ada40 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 29 Apr 2021 13:31:44 +1000 Subject: [PATCH] Connect to wss go-waku instance --- web-chat/.cspell.json | 2 ++ web-chat/src/App.tsx | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web-chat/.cspell.json b/web-chat/.cspell.json index c22e5699ea..b76ecb8419 100644 --- a/web-chat/.cspell.json +++ b/web-chat/.cspell.json @@ -29,6 +29,7 @@ "ihaves", "ineed", "iwant", + "jdev", "lastpub", "libauth", "libp", @@ -48,6 +49,7 @@ "sandboxed", "secio", "staticnode", + "statusim", "submodule", "submodules", "transpiled", diff --git a/web-chat/src/App.tsx b/web-chat/src/App.tsx index a770c0458f..907360966e 100644 --- a/web-chat/src/App.tsx +++ b/web-chat/src/App.tsx @@ -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);