/notejs

Execute JavaScript from Algorand transaction notes.

Primary LanguageJavaScript

Notejs

Execute JavaScript from Algorand transaction notes.

Usage

  1. Import the note.js script. This defines the async exex and read functions.
<script src="./note.js"></script>
  1. Execute JavaScript from a given transaction note.
<script>
  (async () => {
    // Create art.
    const txnId = "EYKOBHVOSJJMB4GMDXSHBM7GHUBCBT3REZRFMEADJP56DIY5G2RA";
    await exec(txnId);
  })();
</script>