From a6d815974e0cf51ace9d6aee376339a3c403c6b9 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 7 May 2021 10:38:08 +1000 Subject: [PATCH] Connect to 2 test fleet nodes --- examples/web-chat/src/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/web-chat/src/App.tsx b/examples/web-chat/src/App.tsx index 82aa587e1b..e2ec3b68ee 100644 --- a/examples/web-chat/src/App.tsx +++ b/examples/web-chat/src/App.tsx @@ -163,6 +163,12 @@ async function initWaku(setter: (waku: Waku) => void) { ), [multiaddr('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7010/wss')] ); + waku.libp2p.peerStore.addressBook.add( + PeerId.createFromB58String( + '16Uiu2HAmSyrYVycqBCWcHyNVQS6zYQcdQbwyov1CDijboVRsQS37' + ), + [multiaddr('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7009/wss')] + ); } catch (e) { console.log('Issue starting waku ', e); }