a CLI to interact with the MEM protocol
git pull https://github.com/decentldotland/mem-cli.git
npm install && npm run server
npm i -g mem-cli-js
mem deploy --src [path-to-source-code] --init-state [stringified-initial-state || ./path-to-state.json] --testnet [optional to deploy on MEM Carbon testnet]
mem deploy --src ./function.js --init-state '{"logs": []}'
mem write --functionId [MEM function ID] --inputs [the contract interaction stringified inputs object] --testnet [optional to write to a MEM Carbon function]
mem write --function-id e695edc7-4919-0a1d-3d99-b725661904ad --inputs '{"function":"increment"}'
This project is licensed under the MIT License