8745fb4230
* validator: fixing a warning, untestify this when you need it for real code * webassembly: minor readme changes. * README changes in wasm * Updated wasm version * clients/webassembly: security vuln updates * typo fix * WIP commit * Significantly simplified the API * Changed switch to have default branch * Managed to get rid of `this` bind * Filled in a missing word Co-authored-by: jstuczyn <jedrzej.stuczynski@gmail.com>
34 lines
934 B
HTML
34 lines
934 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Nym WebAssembly Demo</title>
|
|
</head>
|
|
|
|
<body>
|
|
<p>
|
|
<label for="fname">Our address: </label><input disabled="true" size="40" type="text" id="sender" value="">
|
|
</p>
|
|
|
|
<p>
|
|
<label for="fname">Recipient address: </label><input size="40" type="text" id="recipient" value="">
|
|
</p>
|
|
<label for="fname">Text to send: </label><input type="text" id="sendtext" value="Hello mixnet!">
|
|
<button id="send-button">Send</button><button id="refresh-button">Refresh</button>
|
|
|
|
|
|
<p>Send messages to the mixnet using the "send" button.</p>
|
|
<p><span style='color: blue;'>Sent</span> messages show in blue, <span style='color: green;'>received</span>
|
|
messages show in green.</p>
|
|
|
|
<hr>
|
|
<p>
|
|
<span id="output"></div>
|
|
</p>
|
|
<script src="./bootstrap.js"></script>
|
|
|
|
</body>
|
|
|
|
</html> |