You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
461 B

  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <title>blindsecp256k1 WASM wrappers</title>
  5. </head>
  6. <body>
  7. <script src="wasm_exec.js"></script>
  8. <script>
  9. const go = new Go();
  10. WebAssembly.instantiateStreaming(fetch('blindsecp256k1.wasm'), go.importObject).then(function(dat) {
  11. go.run(dat.instance);
  12. });
  13. </script>
  14. <h3>Open the browser console to see the logs</h3>
  15. <button onClick="test();">test()</button>
  16. <script src="index.js"></script>
  17. </body>
  18. </html>