mirror of
https://github.com/arnaucube/go-blindsecp256k1.git
synced 2026-02-06 19:16:40 +01:00
19 lines
461 B
HTML
19 lines
461 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>blindsecp256k1 WASM wrappers</title>
|
|
</head>
|
|
<body>
|
|
<script src="wasm_exec.js"></script>
|
|
<script>
|
|
const go = new Go();
|
|
WebAssembly.instantiateStreaming(fetch('blindsecp256k1.wasm'), go.importObject).then(function(dat) {
|
|
go.run(dat.instance);
|
|
});
|
|
</script>
|
|
<h3>Open the browser console to see the logs</h3>
|
|
<button onClick="test();">test()</button>
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|