|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>blindsig-client-server-example</title>
|
|
</head>
|
|
<body>
|
|
<h3>blindsig-client-server-example (client in js version)</h3>
|
|
<p>This is an example of usage of <a href="https://github.com/arnaucube/go-blindsecp256k1" target="_blank">https://github.com/arnaucube/go-blindsecp256k1</a></p>
|
|
<br>
|
|
Message (only numbers): <input id="msg" value="1234"></input>
|
|
<button onClick="newRequest();">newRequest()</button>
|
|
<p id="signerR"></p>
|
|
<p id="signerQ"></p>
|
|
|
|
<button onClick="askBlindSign();">askBlindSign()</button>
|
|
<p id="sBlind"></p>
|
|
<p id="sig"></p>
|
|
|
|
<button onClick="verify();">verify()</button>
|
|
<p id="verified"></p>
|
|
|
|
<a href="index-wasm.html">View the WASM version</a>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
|
<script src="blindsecp256k1-browser.js"></script>
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|