I need help running this code in HTML. Can someone show me how to use require.js for this?
const monerojs = require("monero-javascript");
I tried the following but it doesn't work, I keep getting a "Script error for "monero-javascript"".
requirejs(["monero-javascript"], function(monerojs) {
main();
async function main() {
let walletKeys = await monerojs.createWalletKeys({networkType: "stagenet", language: "English"});
}
});