Testing MEM functions using the IDE

The MEM IDE features a code editor, terminal output, and prefilled fields for sending interactions to your testnet functions.

To start, just open the IDE, start editing the default example function, and interact using the fields in the bottom pane. When creating a new project, you can choose from templates to scaffold functions with the + button in the left sidebar.

Anatomy of a MEM project

A MEM project consists of two files:

  • function.js - the main body of source code. See spec and examples.

  • state.json - the object which stores state, global variables and the ABI

Last updated

mem.tech ยฉ 2023