{"id":16954512,"url":"https://github.com/evias/nem-cli","last_synced_at":"2025-04-11T21:33:13.285Z","repository":{"id":138465077,"uuid":"96241806","full_name":"evias/nem-cli","owner":"evias","description":"NEM-cli is a collection of command line tools for the NEM Blockchain features using the Terminal","archived":false,"fork":false,"pushed_at":"2017-10-31T13:24:25.000Z","size":68,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T17:46:55.463Z","etag":null,"topics":["api-client","blockchain","cli","cryptocurrency","nem-blockchain","nis","wallets"],"latest_commit_sha":null,"homepage":"","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/evias.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}},"created_at":"2017-07-04T17:50:58.000Z","updated_at":"2019-11-04T12:50:34.000Z","dependencies_parsed_at":"2023-07-15T15:25:22.664Z","dependency_job_id":"d535f8fc-970b-4ac2-b809-6a977c2e37c7","html_url":"https://github.com/evias/nem-cli","commit_stats":null,"previous_names":["evias/nem-utils"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evias%2Fnem-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evias%2Fnem-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evias%2Fnem-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evias%2Fnem-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evias","download_url":"https://codeload.github.com/evias/nem-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483408,"owners_count":21111443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api-client","blockchain","cli","cryptocurrency","nem-blockchain","nis","wallets"],"created_at":"2024-10-13T22:09:52.872Z","updated_at":"2025-04-11T21:33:13.251Z","avatar_url":"https://github.com/evias.png","language":"JavaScript","readme":"# evias/nem-cli\n\nnem-cli is a collection of command line tools useful when working with the NEM Blockchain using the Terminal.\n\nThis package aims to provide an easy to use Command Line Tools Suite for the NEM Blockchain. \n\nThe NEM Blockchain provides features including: cryptocurrency wallets and transactions, a custom cryptocurrency tokens platform, namespaces management on the blockchain, multi signature accounts out-of-the box and also voting features.\n\nThe command line tools suite is built such that each script/command can be run in a single process using UNIX terminals. (A wrapper for MS Windows will be written soonish)\n\nFeel free to contribute wherever you think you can help! NEMazing ideas much appreciated!\n\n## Download \u0026 Installation\n\nRun the following from the terminal:\n\n```bash\n$ git clone git@github.com:evias/nem-cli.git nem-cli/\n$ cd nem-cli\n$ npm install\n\n# and to make it more comfortable\n$ echo \"alias nem-cli='./nem-cli'\" \u003e\u003e ~/.bashrc \n$ source ~/.bashrc\n```\n\nYou are now all set and you can use the nem-cli Package as described in the Usage section.\n\n## Usage\n\nThere is multiple ways to interact with this command line tools suite. You can use `npm` to start your instance the CLI and you can specify options, command and arguments to your command line call.\n\nHere is a write-up of some examples for running the `nem-cli` command line tools suite:\n\n```bash\n$ nem-cli list\n$ nem-cli api [arguments]\n$ nem-cli wallet [arguments]\n$ nem-cli --help\n```\n\nor \n\n```bash\n$ npm start list\n$ npm start api  [arguments]\n$ npm start wallet  [arguments]\n```\n\n.. or\n\n```bash\n$ ./babel-node nem-cli list\n$ ./babel-node nem-cli api [arguments]\n$ ./babel-node nem-cli wallet [arguments]\n$ ./babel-node nem-cli --help\n```\n\n## Examples\n\nFollowing examples apply for the `nem-cli` command line tools suite:\n\n```bash\n$ nem-cli list\n$ nem-cli api --help\n\n# Simples use case (Current chain height)\n$ nem-cli api --url /chain/height\n$ nem-cli api --url /chain/height --network mainnet\n\n# POST request example and GET with parameters\n$ nem-cli api --url /block/at/public --post --json '{\"height\":1149971}'\n$ nem-cli api --url /account/get?address=TDWZ55R5VIHSH5WWK6CEGAIP7D35XVFZ3RU2S5UQ\n\n# Compare Chain Heights by switching Nodes:\n$ nem-cli api --url /chain/height --node bigalice2.nem.ninja\n$ nem-cli api --url /chain/height --node alice6.nem.ninja\n$ nem-cli api --url /chain/height --node b1.nem.foundation --port 7895\n\n# Use the headless wallet features\n$ nem-cli wallet --address TDWZ55R5VIHSH5WWK6CEGAIP7D35XVFZ3RU2S5UQ --overview\n$ nem-cli wallet --address TDWZ55R5VIHSH5WWK6CEGAIP7D35XVFZ3RU2S5UQ --watch\n\n# Use a simple terminal menu to interact with wallet\n$ nem-cli wallet --file /home/you/Downloads/your.wlt\n$ nem-cli wallet --address TDWZ55R5VIHSH5WWK6CEGAIP7D35XVFZ3RU2S5UQ\n```\n\nNE{m}njoy! :)\n\n## Pot de vin\n\nIf you like the initiative, and for the sake of good mood, I recommend you take a few minutes to Donate a beer or Three [because belgians like that] by sending some XEM (or whatever Mosaic you think pays me a few beers someday!) to my Wallet:\n\n    NCK34K5LIXL4OMPDLVGPTWPZMGFTDRZQEBRS5Q2S\n\n## License\n\nThis software is released under the MIT License.\n\n© 2017 Grégory Saive greg@evias.be, All rights reserved.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevias%2Fnem-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevias%2Fnem-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevias%2Fnem-cli/lists"}