mem-cli-js

0.1.0 • Public • Published

@decentdotland/mem-cli

a CLI to interact with the MEM protocol

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

Dependencies (13)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mem-cli-js

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    14.4 kB

    Total Files

    17

    Last publish

    Collaborators

    • charmful0x