Files
go-blindsecp256k1/wasm/webtest/index.html
2021-01-10 23:32:24 +01:00

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>