1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-03 11:53:41 +02:00
antelope-keygen/template/wasm_example.html

21 lines
471 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>WASM Test</title>
</head>
<body>
<script type="text/javascript" src="eosio-keygen.js"></script>
<script type="text/javascript">
// Wait for module to load
Module.onRuntimeInitialized = async _ => {
// Declare a variable to the function.
let eosio_keygen = Module['eosio_keygen'];
// Call it!
console.log(eosio_keygen());
};
</script>
</body>
</html>