Skip to content

Commit

Permalink
feat: use wakuv2test nodes for bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
adklempner committed May 21, 2024
1 parent 2c99b55 commit 4350138
Show file tree
Hide file tree
Showing 5 changed files with 622 additions and 479 deletions.
38 changes: 23 additions & 15 deletions examples/sent-received-ratio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,34 @@
</head>
<body>
<div>
<h3>Sent/Received Ratio</h3>
<label for="numMessages">Number of Messages:</label>
<input type="number" id="numMessages" name="numMessages" value="10" min="1" max="100" />
<label for="messagePeriod">Seconds between messages:</label>
<input type="number" id="messagePeriod" name="messagePeriod" value="3" min="1" max="10" />
<button id="start">Start</button>
</div>
<h3>Waku Dogfooding App</h3>
<div id="startScreen">
<label for="walletAddress">Wallet Address:</label>
<input
type="text"
id="walletAddress"
name="walletAddress"
value="bc1pvvcfemja55lak6gpq7gmc8ezakqgj6umydath5gqjxwm4fv9zr7q5gfarv"
size="64"
/>
<br />
<button id="start">Start</button>
</div>
<div id="runningScreen" style="display: none">
<label for="wallet">Wallet Address:</label>
<span id="wallet"></span>
<br />
<label for="numSent">Messages Sent:</label>
<span id="numSent">0</span>
</div>
</div>
<div id="container">
<div id="sender">
<h3>Sender</h3>
<div id="senderStatus">
<p>Status: <span id="senderStatusText">Not Started</span></p>
</div>
<h3>Sent</h3>
<div id="messagesSent"></div>
</div>
<div id="receiver">
<h3>Receiver</h3>
<div id="receiverStatus">
<p>Status: <span id="receiverStatusText">Not Started</span></p>
</div>
<h3>Received</h3>
<div id="messagesReceived"></div>
</div>
</div>
Expand Down
Loading

0 comments on commit 4350138

Please sign in to comment.