From 25e6b1cbd39c133b12b41efec189574b81b9a3fa Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 22 Apr 2021 15:43:21 +1000 Subject: [PATCH] Default connection to a running instance of go-waku --- web-chat/src/App.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web-chat/src/App.tsx b/web-chat/src/App.tsx index ed76e6063d..c077016916 100644 --- a/web-chat/src/App.tsx +++ b/web-chat/src/App.tsx @@ -30,9 +30,11 @@ export default function App() { return { waku, messages }; }); + // 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('QmbEnEniueE2Cetej6UkYAtvHuXuare4fSEeyvm43kdmfq'), - [multiaddr('/ip4/127.0.0.1/tcp/7777/ws')]); + PeerId.createFromB58String('16Uiu2HAmVVi6Q4j7MAKVibquW8aA27UNrA4Q8Wkz9EetGViu8ZF1'), + [multiaddr('/ip4/134.209.113.86/tcp/9001/ws')]); } catch (e) { console.log('Issue starting waku ', e); }