{ "info": { "author": "Remme", "author_email": "developers@remme.io", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# remme-core-cli\n\n[![Release](https://img.shields.io/github/release/Remmeauth/remme-core-cli.svg)](https://github.com/Remmeauth/remme-core-cli/releases)\n[![PyPI version shields.io](https://img.shields.io/pypi/v/remme-core-cli.svg)](https://pypi.python.org/pypi/remme-core-cli/)\n[![Build Status](https://travis-ci.com/Remmeauth/remme-core-cli.svg?branch=develop)](https://travis-ci.com/Remmeauth/remme-core-cli)\n[![codecov](https://codecov.io/gh/Remmeauth/remme-core-cli/branch/develop/graph/badge.svg)](https://codecov.io/gh/Remmeauth/remme-core-cli)\n\n[![Downloads](https://pepy.tech/badge/remme-core-cli)](https://pepy.tech/project/remme-core-cli)\n[![PyPI license](https://img.shields.io/pypi/l/remme-core-cli.svg)](https://pypi.python.org/pypi/remme-core-cli/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/remme-core-cli.svg)](https://pypi.python.org/pypi/remme-core-cli/)\n\n * [Getting started](#getting-started)\n * [Requirements](#getting-started-requirements)\n * [Ubuntu 16.04 & 18.04](#ubuntu-1604--1804)\n * [MacOS](#macos)\n * [Installation](#installation)\n * [Usage](#usage)\n * [Configuration file](#configuration-file)\n * [Service](#service)\n * [Account](#account)\n * [Node Account](#node-account)\n * [Block](#block)\n * [Atomic Swap](#atomic-swap)\n * [Batch](#batch)\n * [Node](#node)\n * [Masternode](#masternode)\n * [Public key](#public-key)\n * [State](#state)\n * [Transaction](#transaction)\n * [Receipt](#receipt)\n * [Development](#development)\n * [Requirements](#development-requirements)\n * [Docker](#docker)\n * [Production](#production)\n * [Contributing](#contributing)\n * [Request pull request's review](#request-pull-requests-review)\n \n## Getting started\n\n

Requirements

\n\n#### Ubuntu 16.04 & 18.04\n\nIf you have `16.04` version, install system requirements with the following terminal commands:\n\n```bash\n$ apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa -y && \\\n apt-get install -y build-essential automake libtool pkg-config \\\n libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev\n```\n\nIf `18.04`, then use the following terminal commands:\n\n```bash\n$ apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa -y && \\\n apt-get install -y build-essential automake libtool pkg-config libsecp256k1-dev \\\n libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev\n```\n\nNow, for both of versions, install `Python 3.6` (also, we support 3.7):\n\n```bash\n$ apt-get update && apt-get install -y python3.6 python3.6-dev python3-pip python3-setuptools python3.6-venv\n```\n\nAnd make it as default `python3` with the following command:\n\n```bash\n$ rm /usr/bin/python3 && sudo ln -s /usr/bin/python3.6 /usr/bin/python3\n```\n\n#### MacOS\n\nInstall `Python 3.7` (also, we support 3.6):\n\n```\n$ brew install python3\n```\n\nInstall system requirements with the following terminal command:\n\n```bash \n$ brew install automake pkg-config libtool libffi gmp\n```\n\n## Installation\n\nInstall the package from the [PyPi](https://pypi.org/project/remme-core-cli) through [pip](https://github.com/pypa/pip):\n\n```bash\n$ pip3 install remme-core-cli\n```\n\n## Usage\n\nYou can use the following list of the addresses of the nodes to execute commands to:\n\n- `node-genesis-testnet.remme.io`,\n- `node-6-testnet.remme.io`,\n- `node-1-testnet.remme.io`.\n\nAlso, you can use the following IP-addresses (development servers):\n\n- `159.89.104.9`,\n- `165.22.75.163`.\n\nThey work based on a bit different codebase. So, if you have errors using a domain name, use IP-address instead. But, keep in mind that development servers don't consist in the public test network.\n\n### Configuration file\n\n*Disclaimer!* Configuration file is supported only on Unix operating systems and isn't supported on Windows.\n\nUsing the command line interface, you will have an option to declare the `node URL` to send commands to as illustrated below:\n\n```bash\n$ remme account get-balance \\\n --address=1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf \\\n --node-url=node-genesis-testnet.remme.io\n```\n\nYou shouldn't declare `node URL` every time when you execute a command, use configuration file instead. Configuration file \nis required to be named `.remme-core-cli.yml` and located in the home directory (`~/`).\n\nThe configuration file have an optional section to declare `node URL` to send commands to:\n\n```bash\nnode-url: node-genesis-testnet.remme.io\n```\n\nTry it out by downloading the example of the configuration file to the home directory.\n\n```bash\n$ curl -L https://git.io/fj3Mi > ~/.remme-core-cli.yml\n```\n\n### Service\n\nGet the version of the package \u2014 ``remme --version``:\n\n```bash\n$ remme --version\nremme, version 0.1.0\n```\n\nGet all possible package's commands \u2014 ``remme --help``:\n\n```bash\n$ remme --help\nUsage: remme [OPTIONS] COMMAND [ARGS]...\n\n Command line interface for PyPi version checking.\n\nOptions:\n --version Show the version and exit.\n --help Show this message and exit.\n\n...\n```\n\n### Account\n\nGet balance of the account by its address \u2014 ``remme account get-balance``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------------ |\n| address | String | Yes | Account address to get a balance by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme account get-balance \\\n --address=1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"balance\": 368440.0\n }\n}\n```\n\nTransfer tokens to address \u2014 ``remme account transfer-tokens``:\n\n| Arguments | Type | Required | Description |\n| :---------: | :-----: | :------: | ---------------------------------------------- |\n| private-key | String | Yes | Account's private key to transfer tokens from. |\n| address-to | String | Yes | Account address to transfer tokens to. |\n| amount | Integer | Yes | Amount to transfer. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme account transfer-tokens \\\n --private-key=1067b42e24b4c533706f7c6e62278773c8ec7bf9e78bf570e9feb58ba8274acc \\\n --address-to=112007d71fa7e120c60fb392a64fd69de891a60c667d9ea9e5d9d9d617263be6c20202 \\\n --amount=1000 \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"batch_identifier\": \"aac64d7b10be4b93b8c345b5eca1dc870c6b3905485e48a0ca5f58928a88a42b7a404abb4f1027e973314cca95379b1ef375358ad1661d0964c1ded4c212810f\"\n }\n}\n```\n\n### Node account\n\nGet information about the node account by its address \u2014 ``remme node-account get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | -------------------------------------------------------------- |\n| address | String | Yes | Node account address to get information about node account by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node-account get \\\n --address=1168290a2cbbce30382d9420fd5f8b0ec75e953e5c695365b1c22862dce713fa1e48ca \\\n --node-url=node-1-testnet.remme.io\n{\n \"result\": {\n \"balance\": \"0.0000\",\n \"last_defrost_timestamp\": \"0\",\n \"min\": true,\n \"node_state\": \"OPENED\",\n \"reputation\": {\n \"frozen\": \"250000.4100\",\n \"unfrozen\": \"51071032.5900\"\n },\n \"shares\": [\n {\n \"block_num\": \"552\",\n \"block_timestamp\": \"1556178213\",\n \"defrost_months\": 0,\n \"frozen_share\": \"5440\",\n \"reward\": \"0\"\n },\n ],\n },\n}\n```\n\nTransfer tokens to address \u2014 ``remme node-account transfer-tokens``:\n\n| Arguments | Type | Required | Description |\n| :---------: | :-----: | :------: | ---------------------------------------------- |\n| private-key | String | Yes | Account's private key to transfer tokens from. |\n| address-to | String | Yes | Account address to transfer tokens to. |\n| amount | Integer | Yes | Amount to transfer. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node-account transfer-tokens \\\n --private-key=7ae575740dcdae8e704ff461ab89ad42505e06abbbae8ea68e18387e537b7462 \\\n --address-to=1168292465adcaffeea284f89330dcc013533c8c285089b75466a958733f4f3fc9174d \\\n --amount=100 \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"batch_identifier\": \"aac64d7b10be4b93b8c345b5eca1dc870c6b3905485e48a0ca5f58928a88a42b7a404abb4f1027e973314cca95379b1ef375358ad1661d0964c1ded4c212810f\"\n }\n}\n```\n\nTransfer available tokens from frozen to unfrozen reputation's balances (executable only on the machine which runs the node) \u2014 `remme node-account transfer-tokens-from-frozen-to-unfrozen`.\n\n```bash\n$ remme node-account transfer-tokens-from-frozen-to-unfrozen\n{\n \"result\": {\n \"batch_id\": \"045c2b7c43a7ca7c3dc60e92714c03265572a726d1fae631c39a404eaf97770e3f6a7a8c35c86f6361afb2e4f12b4a17d71a66a19158b62f30531ab32b62f06f\"\n }\n}\n```\n\n### Block\n\nGet a list of blocks \u2014 ``remme block get-list``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :-----: | :------: | -------------------------------------------------- |\n| ids | String | No | Identifiers to get a list of blocks by. |\n| limit | Integer | No | Maximum amount of blocks to return. |\n| head | Integer | No | Block identifier to get a list of transactions to. |\n| ids-only | Bool | No | The flag to get a list of blocks' identifiers. |\n| reverse | Bool | No | Parameter to reverse result. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme block get-list \\\n --ids='fe56a16dab009cc96e7125c647b6c71eb1063818cf8dece283b125423ecb184f7f1e61802bf66382da904698413f80831031f8a1b29150260c3fa4db537fdf4c,\n 56100bf24eed12d2f72fe3c3ccf75fe2f53d87c224d9dda6fb98a1411070b06a40fcf97fccc61cb9c88442953af6ae50344ad7773f1becc6bae108443c18c551' \\\n --head=fe56a16dab009cc96e7125c647b6c71eb1063818cf8dece283b125423ecb184f7f1e61802bf66382da904698413f80831031f8a1b29150260c3fa4db537fdf4c \\\n --limit=2 \\\n --reverse \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": [\n {\n \"batches\": [\n {\n \"header\": {\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"transaction_ids\": [\n \"6593d21046519022ba32c98e934d7dfc81e8b4edf6c064dbf70feb13db4310873ec00816bce8660cafd4fa2a8c80d0147d63cf616c624babd03142c694272017\"\n ]\n },\n \"header_signature\": \"fa2d1a209ad04fd2ad7fb5183976e647cc47b4c08e2e578097afc2566a0284e760eb3f2ff8f72f290765211d4da3341f23091cc7a16805025a17c04a90818a44\",\n \"trace\": false,\n \"transactions\": [\n {\n \"header\": {\n \"batcher_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"dependencies\": [],\n \"family_name\": \"block_info\",\n \"family_version\": \"1.0\",\n \"inputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"nonce\": \"\",\n \"outputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"payload_sha512\": \"1b2cdc6ecfb575b926abea76b44e6988617e945e0f3d84b7624ee228cf35252a7cd186eabe5126c5f967ff54d0b1001e2c07716a7d9e00b5710e836400a913d5\",\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\"\n },\n \"header_signature\": \"6593d21046519022ba32c98e934d7dfc81e8b4edf6c064dbf70feb13db4310873ec00816bce8660cafd4fa2a8c80d0147d63cf616c624babd03142c694272017\",\n \"payload\": \"CtMCCLwBEoABOWI4Y2NhODk3Nzk2NDJiYWEyMGMwZWUyZjEzOWVlMGNlMWNjYjEwMjY5OTVjNDY3NDYzZDEzOTI0ZDg3YTg3NjNlODMzOWI2YzIyMzNmMTZiY2I5ZDVjNjEwMzVmNzAzY2FiNjBiNzQxMGJlMjJkZjkzNWEyYWE4YmIzNGE1NTcaQjAyZDFmYmRhNTBkYmNkMGQzYzI4NmE2YTlmYTcxYWE3Y2UyZDk3MTU5YjkwZGRkNDYzZTA4MTY0MjJkNjIxZTEzNSKAAWZkNzgwY2UwNzY0MGJhNDExMjI0ODY5MTU4MWE1OTU4NDVmZTc2MmJmM2ZlYjQ5Yjg0Mzk3NGFhZTU3ODQ3OGM2YmY1MTg3MzllY2RjNDlkNzAxOTM4M2QzYmQ5ZTNhYTZmYTBhZjgzODRiNDQ5MThmMGJmZjM3NDAyYjUxMGIyKMzfgeYF\"\n }\n ]\n },\n ...\n ],\n \"header\": {\n \"batch_ids\": [\n \"fa2d1a209ad04fd2ad7fb5183976e647cc47b4c08e2e578097afc2566a0284e760eb3f2ff8f72f290765211d4da3341f23091cc7a16805025a17c04a90818a44\",\n \"661492181b838636b11ee347312bf5346b4231e0510c5c5bec27ea999ea389a66a1264696ea53e3b30e29b03192154bed8d160f035706da4f0da7f0be107a2b2\"\n ],\n \"block_num\": \"189\",\n \"consensus\": \"RGV2bW9kZdG76dVw7Q7VRgkNr6HxHnnJxNwI+iySmLepFZPJXvDa\",\n \"previous_block_id\": \"fd780ce07640ba4112248691581a595845fe762bf3feb49b843974aae578478c6bf518739ecdc49d7019383d3bd9e3aa6fa0af8384b44918f0bff37402b510b2\",\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"state_root_hash\": \"693d08c1520c9c1b2dba54ae147bf689f6209f74e304f8ed44e1ec818a08072e\"\n },\n \"header_signature\": \"fe56a16dab009cc96e7125c647b6c71eb1063818cf8dece283b125423ecb184f7f1e61802bf66382da904698413f80831031f8a1b29150260c3fa4db537fdf4c\"\n },\n ...\n ]\n} \n```\n\nGet a list of blocks' identifiers (can be combined with other parameters like `--limit`):\n\n```bash\n$ remme block get-list --ids-only --node-url=node-6-testnet.remme.io\n{\n \"result\": [\n \"b757c74fbcd57ae12577b71490878affb6b688434c2e20170138760e72e937ca1bb3d6773e2ef37b5151ed74dcb663114a181072e0870e7a4d452c58659a6dbb\",\n \"585f23725d1236e90e2b961b0c0c1404aba0ba5a96e4d85cd2f048b1d61b027669153e3618c84fc09a8041f8e149b97d50a89ee7761d0458cd57c63d5f354cbd\",\n ...\n ]\n}\n```\n\nGet information about the block by its identifier \u2014 ``remme block get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------------------------------ |\n| id | String | Yes | Identifier of the block to fetch information about by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme block get \\\n --id=4a7897650db9863aca34874778e6c5802f86c3df0e22b39cfea730bc83654357037a422f8ef51ac85a9bc61d2484bd0f37be10cfc861588c41dc6f1bbfd92cde \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"batches\": [\n {\n \"header\": {\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"transaction_ids\": [\n \"ce8dd0946326072eb4c70818d7d0df32ebd80b3a24525306ff92e8caa8c886ee571d8ba9f01c73c2c4aaab7960c0ef88865ace6dd9274dd378649f5b9da7c820\"\n ]\n },\n \"header_signature\": \"b684d527666cce92ea57d8e14d467ee3cec5515759e1d0a78df65dbcd2a5ff993f95c8efac7c35a6380cbce81941119e98b72956278e663b9fa04e396bb7849f\",\n \"trace\": false,\n \"transactions\": [\n {\n \"header\": {\n \"batcher_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"dependencies\": [],\n \"family_name\": \"block_info\",\n \"family_version\": \"1.0\",\n \"inputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"nonce\": \"\",\n \"outputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"payload_sha512\": \"ef5953af5e24047f92cea476c6706da72b6207ac89077cb314d6d518a1293433955c0a5012c52c4acb34e2220ac8fcc33f83b33ab847631f0471f10dcdf0a54f\",\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\"\n },\n \"header_signature\": \"ce8dd0946326072eb4c70818d7d0df32ebd80b3a24525306ff92e8caa8c886ee571d8ba9f01c73c2c4aaab7960c0ef88865ace6dd9274dd378649f5b9da7c820\",\n \"payload\": \"CtICCAESgAExNTJmM2JlOTFkODIzODUzOGE4MzA3N2VjOGNkNWQxZDkzNzc2N2MwOTMwZWVhNjFiNTkxNTFiMGRmYTdjNWExNzlhNjZmMTc2Y2UyM2MxNGE2N2Q4NDUxY2VjMjg1MmM4ZmY2MGZlOWU4OTYzYzNlZDExNWJkNjA3ODg5OGRhMBpCMDJkMWZiZGE1MGRiY2QwZDNjMjg2YTZhOWZhNzFhYTdjZTJkOTcxNTliOTBkZGQ0NjNlMDgxNjQyMmQ2MjFlMTM1IoABNGFlNmYzOWY0ZDZlNWJiNDhmYzA0Y2Y0MGJhNzEwMTNmYzA0NGZlNTdjOWE3Njg3ZjRlMTNkZjhjZDQ4ODQ1OTA4YTAxNjAzOTRlN2RjNjRjNDc5YTg0YzVkYmYwZmUzYzVlZTZkNmIxMDhlNzZjODYyNzQ4NzkxMWZjNjgxYWUokIr35QU=\"\n }\n ]\n },\n {\n \"header\": {\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"transaction_ids\": [\n \"e112670497e184e7b3d7fab962440fe4be7e905ce7c73712a1a7ca9c65fba00b23fcf62cc640944bdac3c7ab1414d5d5c6fe3edf2f755d3dbca982b3d83394e2\"\n ]\n },\n \"header_signature\": \"cd11713211c6eb2fe4adc0e44925c1f82e9300e0b8827bd3c73d8be10e61cd2b1e8da810078845ca1665b4adf7f691ad731ab4cea0fc994c55a8863b30220c6e\",\n \"trace\": false,\n \"transactions\": [\n {\n \"header\": {\n \"batcher_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"dependencies\": [],\n \"family_name\": \"account\",\n \"family_version\": \"0.1\",\n \"inputs\": [\n \"112007d71fa7e120c60fb392a64fd69de891a60c667d9ea9e5d9d9d617263be6c20202\",\n \"112007a90f66c661b32625f17e27177034a6d2cb552f89cba8c78868705ae276897df6\"\n ],\n \"nonce\": \"7d5445ee5559645bd72db237a0b448bec64c33c70be214e974da7ad0f523278cbb0c77c4a690ff751b68c318437ece2aef6eb29518a41c5ec8037218ed6fbf0d\",\n \"outputs\": [\n \"112007d71fa7e120c60fb392a64fd69de891a60c667d9ea9e5d9d9d617263be6c20202\",\n \"112007a90f66c661b32625f17e27177034a6d2cb552f89cba8c78868705ae276897df6\"\n ],\n \"payload_sha512\": \"bb0e5d9898c92b9b922a4de677ed6cab106ed5c90e975941cd5d1e22ce6f0d397b812c7152796b410a9cfe1d3fd4af080c6ee88c9548fc8393e7a55cae596b8c\",\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\"\n },\n \"header_signature\": \"e112670497e184e7b3d7fab962440fe4be7e905ce7c73712a1a7ca9c65fba00b23fcf62cc640944bdac3c7ab1414d5d5c6fe3edf2f755d3dbca982b3d83394e2\",\n \"payload\": \"EksSRjExMjAwN2Q3MWZhN2UxMjBjNjBmYjM5MmE2NGZkNjlkZTg5MWE2MGM2NjdkOWVhOWU1ZDlkOWQ2MTcyNjNiZTZjMjAyMDIY6Ac=\"\n }\n ]\n }\n ],\n \"header\": {\n \"batch_ids\": [\n \"b684d527666cce92ea57d8e14d467ee3cec5515759e1d0a78df65dbcd2a5ff993f95c8efac7c35a6380cbce81941119e98b72956278e663b9fa04e396bb7849f\",\n \"cd11713211c6eb2fe4adc0e44925c1f82e9300e0b8827bd3c73d8be10e61cd2b1e8da810078845ca1665b4adf7f691ad731ab4cea0fc994c55a8863b30220c6e\"\n ],\n \"block_num\": \"2\",\n \"consensus\": \"RGV2bW9kZVrz+4RUt+Xyzhofvok/lkMcK3ZtAh/zcO/6gbPJPLPw\",\n \"previous_block_id\": \"4ae6f39f4d6e5bb48fc04cf40ba71013fc044fe57c9a7687f4e13df8cd48845908a0160394e7dc64c479a84c5dbf0fe3c5ee6d6b108e76c8627487911fc681ae\",\n \"signer_public_key\": \"02d1fbda50dbcd0d3c286a6a9fa71aa7ce2d97159b90ddd463e0816422d621e135\",\n \"state_root_hash\": \"54eeacdf8fe3262862782110d4396b60f4b8c3863ff1b1b208fa996b6bb24a0f\"\n },\n \"header_signature\": \"4a7897650db9863aca34874778e6c5802f86c3df0e22b39cfea730bc83654357037a422f8ef51ac85a9bc61d2484bd0f37be10cfc861588c41dc6f1bbfd92cde\"\n }\n}\n```\n\n### Atomic Swap\n\nGet public key of atomic swap \u2014 ``remme atomic-swap get-public-key``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme atomic-swap get-public-key --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\"\n }\n}\n```\n\nGet information about atomic swap by its identifier \u2014 ``remme atomic-swap get-info``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------------------------- |\n| id | String | Yes | Swap identifier to get information about swap by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme atomic-swap get-info \\\n --id=033402fe1346742486b15a3a9966eb5249271025fc7fb0b37ed3fdb4bcce6808 \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"information\": {\n \"amount\": \"10.0000\",\n \"created_at\": 1556803765,\n \"email_address_encrypted_optional\": \"\",\n \"is_initiator\": false,\n \"receiver_address\": \"112007484def48e1c6b77cf784aeabcac51222e48ae14f3821697f4040247ba01558b1\",\n \"secret_key\": \"\",\n \"secret_lock\": \"0728356568862f9da0825aa45ae9d3642d64a6a732ad70b8857b2823dbf2a0b8\",\n \"sender_address\": \"1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf\",\n \"sender_address_non_local\": \"0xe6ca0e7c974f06471759e9a05d18b538c5ced11e\",\n \"state\": \"OPENED\",\n \"swap_id\": \"033402fe1346742486b15a3a9966eb5249271025fc7fb0b37ed3fdb4bcce6808\"\n }\n }\n}\n```\n\n### Batch\n\nGet a batch by identifier \u2014 ``remme batch get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| id | String | Yes | Identifier to get a batch by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme batch get \\\n --id=61a02b6428342c4ac2bb0d9d253d48fd229d9b0a1344b2c114f22f127e7bfaeb3e2be19574fbd48776b71bbdb728ee1eedab2c2a4f0b951251899470318cee9d \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"header\": {\n \"signer_public_key\": \"029de6b8d982a714b5e781e266a4f1e0ef88ba1ef6bd4a96e7b7f21da164d84cda\",\n \"transaction_ids\": [\n \"73b913d679d7ec5ccd6658909b71ebdbdef5d01ea510c620639f519812efa76e66710d1d2f932f6e23775f907e5ed6c41d80b1fe227dd3316ac82452d20487c8\"\n ]\n },\n \"header_signature\": \"61a02b6428342c4ac2bb0d9d253d48fd229d9b0a1344b2c114f22f127e7bfaeb3e2be19574fbd48776b71bbdb728ee1eedab2c2a4f0b951251899470318cee9d\",\n \"trace\": false,\n \"transactions\": [\n {\n \"header\": {\n \"batcher_public_key\": \"029de6b8d982a714b5e781e266a4f1e0ef88ba1ef6bd4a96e7b7f21da164d84cda\",\n \"dependencies\": [],\n \"family_name\": \"block_info\",\n \"family_version\": \"1.0\",\n \"inputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"nonce\": \"\",\n \"outputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"payload_sha512\": \"0104c4f12d1bc53ee1d14a71a036305cfc2b82b41cee52cc6d7b9d0905d5fa0aa0db8d01e28531676b319552ce2a33e719386cb3eb5b938d8996abfa64bd3488\",\n \"signer_public_key\": \"029de6b8d982a714b5e781e266a4f1e0ef88ba1ef6bd4a96e7b7f21da164d84cda\"\n },\n \"header_signature\": \"73b913d679d7ec5ccd6658909b71ebdbdef5d01ea510c620639f519812efa76e66710d1d2f932f6e23775f907e5ed6c41d80b1fe227dd3316ac82452d20487c8\",\n \"payload\": \"CtMCCNkzEoABMDk1YmM0MjQ4YjU4NjYzMTllNGE5YWQ2YzZkMWFkNGI3MDA5OTFmNmJjMGVjMGRlN2UwNGJhMTAxNGYxYTU3ZTI4OWE1MmE0MjVhNzc3ZTg3YjgzMzFjMjVkNmU4NTIwNmY1ZGZmNjk1ZGFiMTI0Yzc3YjQ2OWNhMzhhNDFjY2QaQjAyZjU3OWQ3NzU0ZTg3YmYwZTRlZDJlNTBmYjEzNmI4ZTM1NTg2OGU0ODMwODkwZTE0MjRlOWZmZGVhZjZiZTE2MyKAATQzMjA5ODdiYzU3YTJjMmZlYTMzNWFkM2UxZTFmNGU0NDk3YTJhYmM2MmFhYzdlZDIwY2RmZmY5NWFhY2JiMDgyNGU2ZTBmMGFiNGI4MmQxOGExOWEyYTVmMDE3OGE2Mjk0MDIyNjhmODExNzAyZmUxZTk0MzFmZmExMGEyNWI2KMTIreYF\"\n }\n ]\n }\n}\n```\n\nGet a batch status by its identifier \u2014 ``remme batch get-status``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------------ |\n| id | String | Yes | Identifier to get a batch status by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme batch get-status \\\n --id=61a02b6428342c4ac2bb0d9d253d48fd229d9b0a1344b2c114f22f127e7bfaeb3e2be19574fbd48776b71bbdb728ee1eedab2c2a4f0b951251899470318cee9d \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": \"COMMITTED\"\n}\n```\n\nGet a list of batches \u2014 ``remme batch get-list``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :-----: | :------: | -------------------------------------------------------- |\n| ids | String | No | Identifiers to get a list of batches by. |\n| start | String | No | Batch identifier to get a list of batches starting from. |\n| limit | Integer | No | Maximum amount of batches to return. |\n| head | String | No | Block identifier to get a list of batches from. |\n| reverse | Bool | No | Parameter to reverse result. |\n| ids-only | Bool | No | The flag to get a list of batches' identifiers. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme batch get-list \\\n --ids='6bd3382e3deef34d0bc63a7b450c88c7ae00152f5168c7b4dc4357feff6d52175209919cd0710441fa2768f4c12adf97143440ef8414bb5144b9459d78ff3e0e, 7a5daba99d5757adc997ea6a0b1b83263b3c16604dbd83c0153dc01c9fd780af4b570338c2ec60e086b1db58a4397a4dc661d6c93b0a7250fe75642e15b26e81' \\\n --start=6bd3382e3deef34d0bc63a7b450c88c7ae00152f5168c7b4dc4357feff6d52175209919cd0710441fa2768f4c12adf97143440ef8414bb5144b9459d78ff3e0e \\\n --limit=2 \\\n --head=57a7944497ca41f424932ae6b70897e7086652ab98450d4aba6a02a2d891501460947812a41028b8041f087066df6dc7e1100c4b0e5cc94bb58b002f6950eb02 \\\n --reverse \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": [\n {\n \"header\": {\n \"signer_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\",\n \"transaction_ids\": [\n \"376efc69c217a0b9deb545348ca32664ce61b3e35706252d1d0374bdb93b10e62abc35fc16a3d19f0d8346ddbadc1c0974af6b4364f98ffea66de72cfb11b238\"\n ]\n },\n \"header_signature\": \"ed0fc04a114e87ae7d2046db667bb82cf5a9bbab9b51024c4192b569a997785260ea5f4ad55ac4e2a167a04d50806b00f35b2a553bb4072bb5a36be7ba49b9be\",\n \"trace\": false,\n \"transactions\": [\n {\n \"header\": {\n \"batcher_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\",\n \"dependencies\": [],\n \"family_name\": \"block_info\",\n \"family_version\": \"1.0\",\n \"inputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"nonce\": \"\",\n \"outputs\": [\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\"\n ],\n \"payload_sha512\": \"7b11153de66545d8c8847004425f9c5815483636688e79fd2bfbb6d979218fbeb7ccdcb244241d8d52ea38a1b1d62c5d178cf74c3c7b5f496936059c616163e2\",\n \"signer_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\"\n },\n \"header_signature\": \"376efc69c217a0b9deb545348ca32664ce61b3e35706252d1d0374bdb93b10e62abc35fc16a3d19f0d8346ddbadc1c0974af6b4364f98ffea66de72cfb11b238\",\n \"payload\": \"CtMCCLwbEoABYmZiNzhkNGQxMWQyZjQzOWRlZjkzNTc2Y2YyN2M0NGVhZTNmYmMyM2Q2ODAwNmUyNGRlYmJmZGYxZWRiNmQ4MDY5MDExYzYxNWZjNjk4NGMxM2EzZDJjMDMyYzFhZTY2NWYzNmZjZTUxOWVjZTdlOGI2YmFjMGMxYWRlMTgxYWYaQjAzNzM4ZGYzZjRhYzM2MjFiYThlODk0MTNkM2ZmNGFkMDM2YzNhMGE0ZGJiMTY0YjY5NTg4NWFhYjZhYWI2MTRhZCKAAThmMjJkYjUyNTUyYzQ3MjE4ZTc0ZmE4OGExZTU2NGJhZTE1YjYwMmY0ZTI3ZTZiYTYwOWI0NzM4YjY0ZTllZTYzYzcwMjM4MjI3ZWU0NTU1OTVhNjMzYTIzOWU5ZGZiMWNiMGMxNWI1MzVhZGJkYTZmMGE2Yjk3MmU3ZWU3MWQyKLvr4eYF\"\n }\n ]\n }\n ]\n}\n```\n\nGet a list of batches' identifiers (can be combined with other parameters like `--limit`):\n\n```bash\n$ remme batch get-list --ids-only --node-url=node-6-testnet.remme.io\n{\n \"result\": [\n \"6bd3382e3deef34d0bc63a7b450c88c7ae00152f5168c7b4dc4357feff6d52175209919cd0710441fa2768f4c12adf97143440ef8414bb5144b9459d78ff3e0e\",\n \"7a5daba99d5757adc997ea6a0b1b83263b3c16604dbd83c0153dc01c9fd780af4b570338c2ec60e086b1db58a4397a4dc661d6c93b0a7250fe75642e15b26e81\",\n ...\n ]\n}\n```\n\n### Node\n\nGet the node configurations \u2014 ``remme node get-configs``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node get-configs --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"configurations\": {\n \"node_address\": \"1168296ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf\",\n \"node_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\"\n }\n }\n}\n```\n\nGet the node's peers \u2014 ``remme node get-peers``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node get-peers --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"peers\": [\n \"tcp://node-22-testnet.remme.io:8800\",\n \"tcp://node-9-testnet.remme.io:8800\",\n \"tcp://node-29-testnet.remme.io:8800\"\n ]\n }\n}\n```\n\nGet node information \u2014 ``remme node get-info``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node get-info --node-url=node-27-testnet.remme.io\n{\n \"result\": {\n \"information\": {\n \"is_synced\": true,\n \"peer_count\": 3\n }\n }\n}\n```\n\nOpen the node to participate in the network (executable only on the machine which runs the node) \u2014 ``remme node open``:\n\n```bash\n$ remme node open\n{\n \"result\": {\n \"batch_id\": \"b877a10ddc0ef7f28b0b4a075cbab580b5f7be4dc4063e282a87ce812105316569ccba6c554176c36174bb62025181dc7bb9d83cba57d90dd27c04c043261c9c\"\n }\n}\n```\n\nGet the initial stake of the node \u2014 ``remme node get-initial-stake``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------- |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme node get-initial-stake --node-url=node-27-testnet.remme.io\n{\n \"result\": 250000\n}\n```\n\n### Masternode\n\nOpen the masternode (executable only on the machine which runs the node) \u2014 ``remme masternode open``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :-------: | :--------: | ----------------------------------------------------------- |\n| amount | Integer | Yes | Starting amount of tokens to put to the masternode account. |\n\n```bash\n$ remme masternode open --amount=300000\n{\n \"result\": {\n \"batch_id\": \"b877a10ddc0ef7f28b0b4a075cbab580b5f7be4dc4063e282a87ce812105316569ccba6c554176c36174bb62025181dc7bb9d83cba57d90dd27c04c043261c9c\"\n }\n}\n```\n\nClose the masternode (executable only on the machine which runs the node) \u2014 ``remme masternode close``:\n\n```bash\n$ remme masternode close\n{\n \"result\": {\n \"batch_id\": \"ae0ad8d5379beb28211cdc3f4d70a7ef66852eb815241cb201425897fc470e727c34e67ea77525ac696633afd27cca88227df52493889edcbb6fb840b4c93326\"\n }\n}\n```\n\nSet the masternode betting behavior (executable only on the machine which runs the node) \u2014 ``remme masternode set-bet``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ---------------------------------------------------------------- |\n| bet | String | Yes | Bet to set to the masternode account. |\n| | | | Possible values are `min`, `max`, or an integer value (e.g. 20). |\n\n```bash\n$ remme masternode set-bet --bet=max\n{\n \"result\": {\n \"batch_id\": \"a58c23ba6b346aeb3c7186754e436eb23162a5250384667a6c3ce70f7f02e19c42e8ca31f871e4aea333849b8ea752321882977499b1df098832a8296b0c6e9a\"\n }\n}\n```\n\n### Public key\n\nGet a list of the addresses of the public keys by account address \u2014 ``remme public-key get-list``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | --------------------------------------------------------------------- |\n| address | String | Yes | Account address to get a list of the addresses of the public keys by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme public-key get-list \\\n --address=1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"addresses\": [\n \"a23be10b3aad1b4a98f338c71d6dcdb2aa2f296c7e31fb400615e335dc10dd1d4f62bf\",\n \"a23be14b362514d624c1985277005327f6fc40413fb090eee6fccb673a32c9809060ff\"\n ]\n }\n}\n```\n\nGet information about public key by its address \u2014 ``remme public-key get-info``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ---------------------------------------------------------- |\n| address | String | Yes | Public key address to get information about public key by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme public-key get-info \\\n --address=a23be17addad8eeb5177a395ea47eb54b4a646f8c570f4a2ecc0b1d2f6241c6845181b \\\n --node-url=node-genesis-testnet.remme.io\n{\n \"result\": {\n \"information\": {\n \"address\": \"a23be10d215132aee9377cfe26b6d301d32da070a799c227fb4701103e5626d48cd6ba\",\n \"entity_hash\": \"1edd6d5b1c722a83e03b17180b888d89ec4c079a0044f074b7c8bb2720cad8ba4e97a80c7edbd24c1824f5312dfd8a0877453394a63410b52c1f16e1d60ef754\",\n \"entity_hash_signature\": \"1322ca51fb6d33e44d2b6c028eb668b5712a5277bbdea089112203e8e950d1c7d02d446291865a2f5fca4c6767fb84583e53205df850f1fc05ea6f22c736635f425b0159881f7f998da52378bf08353d87d2a2c226a7ababea9a245e69be06d54c573a42c3be907ca49589a67b5e9cc4d8ed12cea8546b2df531fd9620f4dc71869d8fa0bfcbef239d9a6e2e3bf12bcac4fd562b22ff408d7b077b75d8e59af0348264a7c9e7e61b4c5f844636a0fbbcfae61955efdf10323a992ea2a1734eb0ee7952519b00e696a02e7460771b0e0887e011b709e88abfda896b68150c08dcf6b4bf7c70f996f6031c13311056ab935ce1fdf63d3f19b5a3ca6ae604c4f12b\",\n \"is_revoked\": false,\n \"is_valid\": true,\n \"owner_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\",\n \"public_key\": \"30820122300d06092a864886f70d01010105000382010f003082010a02820101008b29cc5ec32dab21b48b63faf2fd00f88879b9d4286c3cde6218d19263ea8226fce499039968c5f9736149e298bbc56680b516f2d83507d88fb95771445ca3c59bcdbb31bb5993a4e5dfcd2c4bc86328ec76e95e2f4582f9cac8223a2f16a2b14c4358b6fb105e37baf9daa9bd5b708ab204d8015a1ce782e28024eae1801151616c90a3b1aa1916d5b8dd021b3aa4cec77450660841f8619a7234c6199d01ccd43b1d6ff7fa5f50bf80bc06b682b126bdca0753a6830b7a95afca79442ec64fd09ddcc34627dcbdad0c5e66317db98d0e1c24c3f992b83f4b0f97e2b0300a2cb51e33eccf060f26b4e19a88f15216f8c17be5f5e023a1f260f7c93a2a4523ed0203010001\",\n \"type\": \"rsa\",\n \"valid_from\": 1556118334,\n \"valid_to\": 1587222334\n }\n }\n}\n```\n\n### State\n\nGet a state by its address \u2014 ``remme state get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ---------------------------------- |\n| address | String | Yes | Account address to get a state by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme state get \\\n --address=000000a87cb5eafdcca6a8cde0fb0dec1400c5ab274474a6aa82c12840f169a04216b7 \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"state\": {\n \"data\": \"CmwKJnNhd3Rvb3RoLnNldHRpbmdzLnZvdGUuYXV0aG9yaXplZF9rZXlzEkIwMmE2NTc5NmYyNDkwOTFjMzA4NzYxNGI0ZDljMjkyYjAwYjhlYmE1ODBkMDQ1YWMyZmQ3ODEyMjRiODdiNmYxM2U=\",\n \"head\": \"95d78133eb98628d5ff17c7d1972b9ab03e50fceeb8e199d98cb52078550f5473bb001e57c116238697bdc1958eaf6d5f096f7b66974e1ea46b9c9da694be9d9\"\n }\n }\n}\n```\n\nGet a list of states \u2014 ``remme state get-list``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :-----: | :------: | ----------------------------------------------------- |\n| address | String | No | Account address to get a list of states by. |\n| start | String | No | Account address to get a list of states starting from.|\n| limit | Integer | No | Maximum amount of transactions to return. |\n| head | String | No | Block identifier to get a list of states to. | \n| reverse | Bool | No | Parameter to reverse result. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme state get-list \\\n --address=00001d0024b20fbe284cdaca250b30f40c30c3999e2cafbace268f2f26d9d493a4d09b \\\n --start=00001d0024b20fbe284cdaca250b30f40c30c3999e2cafbace268f2f26d9d493a4d09b \\\n --limit=1 \\\n --head=d3b9c12f76bf33ed0fb70df9f0ab9af9b3e29a6c9cf3e446fb2d799bdae07a92721cc52a0f3c683a972d562abae6a041d09a90c4157fce9bd305036e1cb15149 \\\n --reverse \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": [\n {\n \"address\": \"00001d0024b20fbe284cdaca250b30f40c30c3999e2cafbace268f2f26d9d493a4d09b\",\n \"data\": \"CmkKH25vZGVfYWNjb3VudF9wZXJtaXNzaW9uc19wb2xpY3kSRggBEkIwMzczOGRmM2Y0YWMzNjIxYmE4ZTg5NDEzZDNmZjRhZDAzNmMzYTBhNGRiYjE2NGI2OTU4ODVhYWI2YWFiNjE0YWQ=\"\n }\n ]\n}\n```\n\n### Transaction\n\nGet a list of transactions \u2014 ``remme transaction get-list``:\n\n| Arguments | Type | Required | Description |\n| :---------: | :-----: | :------: | -------------------------------------------------------------- |\n| ids | String | No | Identifiers to get a list of transactions by. |\n| start | String | No | Transaction identifier to get a list transaction starting from. |\n| limit | Integer | No | Maximum amount of transactions to return. |\n| head | String | No | Block identifier to get a list of transactions from. |\n| reverse | Bool | No | Parameter to reverse result. |\n| ids-only | Bool | No | The flag to get a list of transactions' identifiers. |\n| family-name | String | No | List of transactions by its family name. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme transaction get-list \\\n --ids='568a1094e574747c757c1f5028d9b929105984e509c4f2f3cb76e5f46f03ca4c3681ca0eeca86a4bd4bb5a3eaaa52fd73b08ebc5d5d85fbb1957b064f8b71972, \n d9b891d3efdd51cd47156ad2083bf5cabd5b35bb2ebe66813996d1a0f783e58721bbc50917ff284a40696f24058ef1e22e48600abf37d500ace78eadf7f4ecff' \\\n --start=568a1094e574747c757c1f5028d9b929105984e509c4f2f3cb76e5f46f03ca4c3681ca0eeca86a4bd4bb5a3eaaa52fd73b08ebc5d5d85fbb1957b064f8b71972 \\\n --limit=2 \\\n --head=39566f24561727f5ab2d19eb23612f1a38ff5f0cf9491caa0275261706a7cf8b080d38da0a38fa5b1cbef0cced889fdf6da679cc616a9711380f76b33e53efdf \\\n --reverse \\\n --family-name=account \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"data\": [\n {\n \"header\": {\n \"batcher_public_key\": \"03d4613540ce29cd1f5f28ea9169a5cb5853bd53dede635903af9383bc9ffaf079\",\n \"dependencies\": [],\n \"family_name\": \"account\",\n \"family_version\": \"0.1\",\n \"inputs\": [\n \"112007db16c75019f59423da4de3cd5c79609989d7dc1697c9975307ea846e1d4af91f\",\n \"1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf\"\n ],\n \"nonce\": \"99ccdbcfeb008e2c8407870b7033117e316b4b12df4173f3e2ffd510676e524a77ac64a0b65e6c7889a797fbd4e4462830548f455497e2362dde1bbf35d5372f\",\n \"outputs\": [\n \"112007db16c75019f59423da4de3cd5c79609989d7dc1697c9975307ea846e1d4af91f\",\n \"1120076ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf\"\n ],\n \"payload_sha512\": \"1f0313cb9cd67559c1d33d61104882b3ebca80dfcd091d5ae3b0ee99bd27723af591551dfeea43be05e2b24a2f9a54adc6c357b60fc5c5720b161c5ff9d10ae1\",\n \"signer_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\"\n },\n \"header_signature\": \"d9b891d3efdd51cd47156ad2083bf5cabd5b35bb2ebe66813996d1a0f783e58721bbc50917ff284a40696f24058ef1e22e48600abf37d500ace78eadf7f4ecff\",\n \"payload\": \"CAASTQgAEkYxMTIwMDdkYjE2Yzc1MDE5ZjU5NDIzZGE0ZGUzY2Q1Yzc5NjA5OTg5ZDdkYzE2OTdjOTk3NTMwN2VhODQ2ZTFkNGFmOTFmGOgH\"\n }\n ],\n \"head\": \"39566f24561727f5ab2d19eb23612f1a38ff5f0cf9491caa0275261706a7cf8b080d38da0a38fa5b1cbef0cced889fdf6da679cc616a9711380f76b33e53efdf\",\n \"paging\": {\n \"limit\": 2,\n \"next\": \"\",\n \"start\": \"568a1094e574747c757c1f5028d9b929105984e509c4f2f3cb76e5f46f03ca4c3681ca0eeca86a4bd4bb5a3eaaa52fd73b08ebc5d5d85fbb1957b064f8b71972\"\n }\n }\n}\n```\n\nGet a list of transactions' identifiers (can be combined with other parameters like `--limit`):\n\n```bash\n$ remme transaction get-list --ids-only --node-url=node-6-testnet.remme.io\n{\n \"result\": [\n \"eb662acc48d313c9bba4a72359b0462d607bba8fc66aeb3d169d02fafd21849b6bf8bea8396b54b6fc907e1cce2a386f76bd19889d0f3e496b45b8440b161ebc\",\n \"206a3767f368c1db9d07b273f80d4824d201ae61b9ced8a6aeedac58032c5557544ac622d5e3fd59f6d9873d97af1c6114d0131b4b1a191cbba7d5a8aa5a3caf\",\n \"63ed3259b6067525ae241a12f66b5be1e1502cdbd6f475b139bf94cf4ba842643577835fcef0482d25190243b8dfab3a1f9913f7fd0edc425ad0c19333d8bd4b\",\n ...\n ]\n}\n```\n\nGet a transaction by identifier \u2014 ``remme transaction get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | --------------------------------- |\n| id | String | Yes | Identifier to get transaction by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme transaction get \\\n --id=64d032fbaae9bc59f9e5484ec6f52cbceef567923456039a26a1cfb8bc9ee2431ac2b5de43efce28ef11820a3734dab9fa56db57a1b2fbdc2323036cceeab6ab \\\n --node-url=node-6-testnet.remme.io\n{\n \"result\": {\n \"data\": {\n \"header\": {\n \"batcher_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\",\n \"dependencies\": [],\n \"family_name\": \"consensus_account\",\n \"family_version\": \"0.1\",\n \"inputs\": [\n \"116829\",\n \"112007\",\n \"0000007ca83d6bbb759da9cde0fb0dec1400c54773f137ea7cfe91e3b0c44298fc1c14\",\n \"0000007ca83d6bbb759da9cde0fb0dec1400c5034223fb6c3e825ee3b0c44298fc1c14\",\n \"0000007ca83d6bbb759da9cde0fb0dec1400c5e64de9aa6a37ac92e3b0c44298fc1c14\",\n \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"00b10c00\",\n \"fd0e4f0000000000000000000000000000000000000000000000000000000000000000\"\n ],\n \"nonce\": \"b8baa6c54ab9463590627c18fb9c10ed\",\n \"outputs\": [\n \"116829\",\n \"112007\",\n \"fd0e4f0000000000000000000000000000000000000000000000000000000000000000\"\n ],\n \"payload_sha512\": \"cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e\",\n \"signer_public_key\": \"03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad\"\n },\n \"header_signature\": \"64d032fbaae9bc59f9e5484ec6f52cbceef567923456039a26a1cfb8bc9ee2431ac2b5de43efce28ef11820a3734dab9fa56db57a1b2fbdc2323036cceeab6ab\",\n \"payload\": \"\"\n }\n }\n}\n```\n\n### Receipt\n\nGet a list of the transaction's receipts by identifiers \u2014 ``remme receipt get``:\n\n| Arguments | Type | Required | Description |\n| :-------: | :----: | :------: | ------------------------------------------------------- |\n| ids | String | True | Identifiers to get a list of transaction's receipts by. |\n| node-url | String | No | Node URL to apply a command to. |\n\n```bash\n$ remme receipt get \\\n --ids='e79a883581c184787360de8607c5f970cdeeaa684af3e50d8532aa9dd07afa8e7fc92f0dc509b41b9695e795704bdd50455bebd1ed327a5330710ba40698b492, \n 6593d21046519022ba32c98e934d7dfc81e8b4edf6c064dbf70feb13db4310873ec00816bce8660cafd4fa2a8c80d0147d63cf616c624babd03142c694272017' \\\n --node-url='159.89.104.9'\n{\n \"result\": [\n {\n \"data\": [],\n \"events\": [],\n \"id\": \"e79a883581c184787360de8607c5f970cdeeaa684af3e50d8532aa9dd07afa8e7fc92f0dc509b41b9695e795704bdd50455bebd1ed327a5330710ba40698b492\",\n \"state_changes\": [\n {\n \"address\": \"00b10c0100000000000000000000000000000000000000000000000000000000000000\",\n \"type\": \"SET\",\n \"value\": \"CL0BGIACIKwC\"\n },\n {\n \"address\": \"00b10c00000000000000000000000000000000000000000000000000000000000000bd\",\n \"type\": \"SET\",\n \"value\": \"CL0BEoABZmQ3ODBjZTA3NjQwYmE0MTEyMjQ4NjkxNTgxYTU5NTg0NWZlNzYyYmYzZmViNDliODQzOTc0YWFlNTc4NDc4YzZiZjUxODczOWVjZGM0OWQ3MDE5MzgzZDNiZDllM2FhNmZhMGFmODM4NGI0NDkxOGYwYmZmMzc0MDJiNTEwYjIaQjAyZDFmYmRhNTBkYmNkMGQzYzI4NmE2YTlmYTcxYWE3Y2UyZDk3MTU5YjkwZGRkNDYzZTA4MTY0MjJkNjIxZTEzNSKAAWZlNTZhMTZkYWIwMDljYzk2ZTcxMjVjNjQ3YjZjNzFlYjEwNjM4MThjZjhkZWNlMjgzYjEyNTQyM2VjYjE4NGY3ZjFlNjE4MDJiZjY2MzgyZGE5MDQ2OTg0MTNmODA4MzEwMzFmOGExYjI5MTUwMjYwYzNmYTRkYjUzN2ZkZjRjKIzggeYF\"\n }\n ]\n },\n ...\n ]\n}\n```\n\n## Development\n\n

Requirements

\n\n- Docker \u2014 https://www.docker.com. Install it with the [following reference](https://docs.docker.com/install).\n\n### Docker\n\nClone the project and move to project folder:\n\n```bash\n$ git clone https://github.com/Remmeauth/remme-core-cli && cd remme-core-cli\n```\n\nIf you already worked with the project, you can clean it's container and images with the following command:\n\n```bash\n$ docker rm remme-core-cli -f || true && docker rmi remme-core-cli -f || true\n```\n\nRun the ``Docker container`` with the project source code in the background mode:\n\n```bash\n$ docker build -t remme-core-cli . -f Dockerfile.development\n$ docker run -d --network host -v $PWD:/remme-core-cli --name remme-core-cli remme-core-cli\n```\n\nEnter the container bash:\n\n```bash\n$ docker exec -it remme-core-cli bash\n```\n\nAnd now being in the container, you can develop the project. For instance, run tests and linters:\n\n```bash\n$ coverage run -m pytest -vv tests\n$ coverage report -m && coverage xml\n$ flake8 cli && flake8 tests/\n$ bash <(curl -s https://linters.io/isort-diff) cli tests\n```\n\nWhen you have developed new functionality, check it with the following command. This command creates the ``Python package``\nfrom source code instead of installing it from the ``PyPi``.\n\n```bash\n$ pip3 uninstall -y remme-core-cli && rm -rf dist/ remme_core_cli.egg-info && \\\n python3 setup.py sdist && pip3 install dist/*.tar.gz\n```\n\nSo after this command, you are free to execute the command line interface as if you installed in through ``pip3 install``:\n\n```bash\n$ remme --version\n```\n\nWith the commands above you could test your features as if user will use it on own.\n\n```bash\n$ docker rm $(docker ps -a -q) -f\n$ docker rmi $(docker images -q) -f\n```\n\n## Production\n\nTo build the package and upload it to [PypI](https://pypi.org) to be accessible through [pip](https://github.com/pypa/pip),\nuse the following commands. [Twine](https://twine.readthedocs.io/en/latest/) requires the username and password of the\naccount package is going to be uploaded to.\n\n```build\n$ python3 setup.py sdist\n$ twine upload dist/*\nusername: remme\npassword: ********\n```\n\n## Contributing\n\nClone the project and install requirements:\n\n```bash\n$ git clone https://github.com/Remmeauth/remme-core-cli && cd remme-core-cli\n$ pip3 install -r requirements.txt -r requirements-dev.txt -r requirements-tests.txt\n```\n\nWhen you make changes, ensure your code:\n\n* pass [the checkers](https://github.com/Remmeauth/remme-core-cli/blob/develop/.travis.yml#L16),\n* is covered by tests using [pytest](https://docs.pytest.org/en/latest),\n* follow team [code style](https://github.com/dmytrostriletskyi/nimble-python-code-style-guide).\n\nIf you are new for the contribution, please read:\n\n* Read about pull requests \u2014 https://help.github.com/en/articles/about-pull-requests\n* Read how to provide pull request \u2014 https://help.github.com/en/articles/creating-a-pull-request-from-a-fork\n* Also the useful article about how to contribute \u2014 https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/\n\n### Request pull request's review\n\nIf you want to your pull request to be review, ensure you:\n1. [Branch isn't out-of-date with the base branch](https://habrastorage.org/webt/ux/gi/wm/uxgiwmnft08fubvjfd6d-8pw2wq.png).\n2. [Have written the description of the pull request and have added at least 2 reviewers](https://camo.githubusercontent.com/55c309334a8b61a4848a6ef25f9b0fb3751ae5e9/68747470733a2f2f686162726173746f726167652e6f72672f776562742f74312f70792f63752f7431707963753162786a736c796f6a6c707935306d7862357969652e706e67).\n3. [Continuous integration has been passed](https://habrastorage.org/webt/oz/fl/-n/ozfl-nl-jynrh7ofz8yuz9_gapy.png).", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Remmeauth/remme-core-cli", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "remme-core-cli", "package_url": "https://pypi.org/project/remme-core-cli/", "platform": "", "project_url": "https://pypi.org/project/remme-core-cli/", "project_urls": { "Homepage": "https://github.com/Remmeauth/remme-core-cli" }, "release_url": "https://pypi.org/project/remme-core-cli/0.6.0/", "requires_dist": null, "requires_python": "", "summary": "The command-line interface (CLI) that provides a set of commands to interact with Remme-core.", "version": "0.6.0" }, "last_serial": 5313587, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "34362930599486d159da347b0f40a6af", "sha256": "b131561c27055c11352f77762cf6f5e9f9f94f77a637eb920b05456c89aaba9a" }, "downloads": -1, "filename": "remme-core-cli-0.1.1.tar.gz", "has_sig": false, "md5_digest": "34362930599486d159da347b0f40a6af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3658, "upload_time": "2019-04-09T12:38:49", "url": "https://files.pythonhosted.org/packages/7e/88/b532f2bd6c0031f0633b89574a4115b8cfda53da9abc9502b458d1fa8eb2/remme-core-cli-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "cfedc4c38d13f31af3f8d4a89a70c5a3", "sha256": "d722c5c5e775db811bb39d58a3c5f2e725c5fac2318b006753f698767727af6f" }, "downloads": -1, "filename": "remme-core-cli-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cfedc4c38d13f31af3f8d4a89a70c5a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18883, "upload_time": "2019-05-03T13:17:50", "url": "https://files.pythonhosted.org/packages/7b/f7/44883a77701e3cab0108734dbd15f658d184f91dbd7e6d0e9643acce34ae/remme-core-cli-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "ca3db2a7da05301661e279e15e1b3256", "sha256": "3b13a6bfedd64311325dc59c4a6c9989a87cbf0c46d7cb3104bd84722f6cb80a" }, "downloads": -1, "filename": "remme-core-cli-0.3.0.tar.gz", "has_sig": false, "md5_digest": "ca3db2a7da05301661e279e15e1b3256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26420, "upload_time": "2019-05-08T14:28:44", "url": "https://files.pythonhosted.org/packages/ba/4f/32aa1550837a9a81378f3c7a8b558e4bb288519e30c0475d59e8364f5849/remme-core-cli-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "e3fb7bd7f4ef5c2119a183c06041e1e4", "sha256": "ba7acb6cb1da1922e46a6362056c54b289ccb0ef59f8670a4dd50d6336078f3b" }, "downloads": -1, "filename": "remme-core-cli-0.4.0.tar.gz", "has_sig": false, "md5_digest": "e3fb7bd7f4ef5c2119a183c06041e1e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58752, "upload_time": "2019-05-20T12:31:31", "url": "https://files.pythonhosted.org/packages/04/7c/3ab11dd4bfe00193cab3211f9dd758f8183bdabcea90505888837a1a2cd9/remme-core-cli-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "4c7b1517ac516f7676c5815ebc190c07", "sha256": "6b3cc33510aa35a22821ccc1af17b270c7a21f856dd083a6189068f16ca09777" }, "downloads": -1, "filename": "remme-core-cli-0.5.0.tar.gz", "has_sig": false, "md5_digest": "4c7b1517ac516f7676c5815ebc190c07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60365, "upload_time": "2019-05-21T11:12:21", "url": "https://files.pythonhosted.org/packages/96/99/37510284e5339e3549b2f7c655e4930df7c98f240dc5beb72a815065db07/remme-core-cli-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "6122754885d26bdaa791a5a47bc6177d", "sha256": "1d56168266021370470991b41bb8b9aead330f353bef3481be68a11f855b749c" }, "downloads": -1, "filename": "remme-core-cli-0.6.0.tar.gz", "has_sig": false, "md5_digest": "6122754885d26bdaa791a5a47bc6177d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63466, "upload_time": "2019-05-24T16:21:34", "url": "https://files.pythonhosted.org/packages/55/15/35bc8dba953bea07e3dceb4326d1da8466b07d3bbbb8644ebf442d0ab14e/remme-core-cli-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6122754885d26bdaa791a5a47bc6177d", "sha256": "1d56168266021370470991b41bb8b9aead330f353bef3481be68a11f855b749c" }, "downloads": -1, "filename": "remme-core-cli-0.6.0.tar.gz", "has_sig": false, "md5_digest": "6122754885d26bdaa791a5a47bc6177d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63466, "upload_time": "2019-05-24T16:21:34", "url": "https://files.pythonhosted.org/packages/55/15/35bc8dba953bea07e3dceb4326d1da8466b07d3bbbb8644ebf442d0ab14e/remme-core-cli-0.6.0.tar.gz" } ] }