mem-cli-js
v0.1.0
Published
CLI for the MEM protocol
Downloads
2
Readme
Build & Run Server
git pull https://github.com/decentldotland/mem-cli.git
npm install && npm run server
Install the CLI
npm i -g mem-cli-js
CLI Commands
Deploy a MEM serverless function:
mem deploy --src [path-to-source-code] --init-state [stringified-initial-state || ./path-to-state.json] --testnet [optionalto deploy on MEM Carbon testnet]
Example
mem deploy --src ./function.js --init-state '{"logs": []}'
Write to a MEM serverless function:
mem write --functionId [MEM function ID] --inputs [the contract interaction stringified inputs object] --testnet [optional to write to a MEM Carbon function]
License
This project is licensed under the MIT License