Use status fleet instead of jdev

This commit is contained in:
Franck Royer 2021-05-14 13:56:00 +10:00
parent ddbd93225a
commit 0dc2ee8d40
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 5 additions and 4 deletions

View File

@ -63,6 +63,7 @@
"untracked",
"upgrader",
"waku",
"wakuv",
"wakunode",
"webfonts",
"websockets"

View File

@ -25,12 +25,12 @@ import { multiaddr } from 'multiaddr';
import PeerId from 'peer-id';
// Directly dial a new peer
await waku.dial('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7010/wss/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ');
await waku.dial('/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ');
// Or, add peer to address book so it auto dials in the background
waku.addPeerToAddressBook(
'16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ',
['/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7010/wss']
['/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/443/wss']
);
```

View File

@ -148,11 +148,11 @@ async function initWaku(setter: (waku: Waku) => void) {
waku.addPeerToAddressBook(
'16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ',
['/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7010/wss']
['/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/443/wss']
);
waku.addPeerToAddressBook(
'16Uiu2HAmSyrYVycqBCWcHyNVQS6zYQcdQbwyov1CDijboVRsQS37',
['/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7009/wss']
['/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/443/wss']
);
} catch (e) {
console.log('Issue starting waku ', e);