Skip to content

Commit d408155

Browse files
committed
add dial to waku.fryorcraken.xyz
1 parent 3fa8743 commit d408155

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,15 @@
755755
this.node = await createLightNode({ defaultBootstrap: true });
756756
await this.node.start();
757757

758+
// Dial the specific node
759+
const multiAddrWithId = '/dns4/waku.fryorcraken.xyz/tcp/8000/wss/p2p/16Uiu2HAmMRvhDHrtiHft1FTUYnn6cVA8AWVrTyLUayJJ3MWpUZDB';
760+
try {
761+
await this.node.dial(multiAddrWithId);
762+
console.log('Successfully dialed custom Waku node');
763+
} catch (dialError) {
764+
console.warn('Failed to dial custom node:', dialError);
765+
}
766+
758767
this.updateStatus('Waiting for peers...', 'connecting');
759768

760769
// Wait for connection to remote peers

0 commit comments

Comments
 (0)