mirror of https://github.com/waku-org/js-waku.git
Use status fleet instead of jdev
This commit is contained in:
parent
ddbd93225a
commit
0dc2ee8d40
|
@ -63,6 +63,7 @@
|
|||
"untracked",
|
||||
"upgrader",
|
||||
"waku",
|
||||
"wakuv",
|
||||
"wakunode",
|
||||
"webfonts",
|
||||
"websockets"
|
||||
|
|
|
@ -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']
|
||||
);
|
||||
```
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue