{"id":19810416,"url":"https://github.com/decentldotland/mem-cli","last_synced_at":"2026-06-08T13:31:24.651Z","repository":{"id":185592554,"uuid":"672504703","full_name":"decentldotland/mem-cli","owner":"decentldotland","description":"CLI for interacting with the MEM protocol","archived":false,"fork":false,"pushed_at":"2023-12-19T11:37:48.000Z","size":129,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-17T14:48:02.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decentldotland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-30T10:10:10.000Z","updated_at":"2025-03-27T20:00:50.000Z","dependencies_parsed_at":"2023-12-01T15:30:31.867Z","dependency_job_id":"3a2d4a50-feb8-46c4-91b8-ac47b834352e","html_url":"https://github.com/decentldotland/mem-cli","commit_stats":null,"previous_names":["decentldotland/mem-cli"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/decentldotland/mem-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentldotland%2Fmem-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentldotland%2Fmem-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentldotland%2Fmem-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentldotland%2Fmem-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentldotland","download_url":"https://codeload.github.com/decentldotland/mem-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentldotland%2Fmem-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34065347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T09:21:27.015Z","updated_at":"2026-06-08T13:31:24.626Z","avatar_url":"https://github.com/decentldotland.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://decent.land\"\u003e\r\n    \u003cimg src=\"https://github.com/decentldotland/MEM/assets/77340894/d840ef84-540f-4ccc-a7e0-1ed03c4af8dd\" height=\"180\"\u003e\r\n  \u003c/a\u003e\r\n  \u003ch3 align=\"center\"\u003e\u003ccode\u003e@decentdotland/mem-cli\u003c/code\u003e\u003c/h3\u003e\r\n  \u003cp align=\"center\"\u003ea CLI to interact with the MEM protocol\u003c/p\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n\r\n## Build \u0026 Run Server\r\n\r\n```bash\r\ngit pull https://github.com/decentldotland/mem-cli.git\r\n\r\nnpm install \u0026\u0026 npm run server\r\n```\r\n\r\n## Install the CLI\r\n\r\n```bash\r\nnpm i -g mem-cli-js\r\n```\r\n\r\n## CLI Commands\r\n\r\n### Deploy a MEM serverless function:\r\n\r\n```bash\r\nmem deploy --src [path-to-source-code] --init-state [stringified-initial-state || ./path-to-state.json] --testnet [optional to deploy on MEM Carbon testnet]\r\n```\r\n\r\n#### Example\r\n\r\n```bash\r\nmem deploy --src ./function.js --init-state '{\"logs\": []}'\r\n```\r\n\r\n### Write to a MEM serverless function:\r\n\r\n```bash\r\nmem write --functionId [MEM function ID] --inputs [the contract interaction stringified inputs object] --testnet [optional to write to a MEM Carbon function]\r\n```\r\n\r\n#### Example\r\n\r\n```bash\r\nmem write --function-id e695edc7-4919-0a1d-3d99-b725661904ad --inputs '{\"function\":\"increment\"}'\r\n```\r\n\r\n## License\r\nThis project is licensed under the [MIT License](./LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentldotland%2Fmem-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentldotland%2Fmem-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentldotland%2Fmem-cli/lists"}