Skip to content

Releases: Adamant-im/adamant-console

v3.0.0

19 Jun 12:50
0352603
Compare
Choose a tag to compare
  • The response of the get message command now keeps the message encrypted inside the transaction.asset.chat object and introduces the transaction.decoded field for the already decrypted by ADAMANT Console message if the transaction includes the configured user’s public key:

    { // adm get message 3745646290027012070
      "success": true,
      "nodeTimestamp": 214429446,
      "transaction": {
        "id": "3745646290027012070",
        // ...
        "asset": {
          "chat": {
            "message": "d6247af9ff5cd53eeb88a48e62cb47c33cc8b1b37d38e784e0481b8251149d", // <--- encoded message
            "own_message": "ae3f5203f252fa75705a6681fee3244b46da5bb0aa169498",
            "type": 1
          }
        },
        "decoded": "Hello, ADAMANT!" // <--- decoded message
      }
    }
  • Fixed validation of the parameters for public keys and delegate names in vote for command.

  • Added new fields for client version command:

    {
      "success": true,
      "version": "3.0.0",
      // The new fields:
      "config": "/home/username/.adm/config.jsonc",
      "network": "mainnet",
      "account": "U3716604363012166999"
    }

v2.3.0

29 Mar 17:13
594df8c
Compare
Choose a tag to compare

Added

  • adm init [path] command that allows to copy default config to ~/.adm/ or the given path:

    # to copy to ~/.adm/$ADM_CONFIG_FILENAME
    $ adm init
    # to copy to the specific directory
    $ adm init ./my-dir

v2.2.0

16 Feb 09:24
5e36901
Compare
Choose a tag to compare
  • Wiki was updated
  • Updated dependencies
  • Rewrited to mjs to support modern libraries
  • Added prettier

Breaking changes

  • config
    • passPhrase -> passphrase
    • config.json -> config.jsonc, config.default.json -> config.default.jsonc
  • account new response: passPhrase -> passphrase
  • adm --passPhrase="" -> adm --passphrase=""

v2.1.0

16 Aug 17:00
525de6a
Compare
Choose a tag to compare

Fixed bugs

  • Unknown subcommand stops the interactive mode
  • String arguments are space delimited
  • Up and down arrows do not move commands in the history

Features

  • Add support for json comments inside configuration files

v2.0.0

16 Jul 09:28
26eef52
Compare
Choose a tag to compare
  • Full refactoring
  • Using adamant-api
  • Decrypt messages
  • Help on commands
  • Interactive mode
  • Include as JS library
  • Update dependencies
  • Bug fixes

v1.4.8

14 Jun 14:32
46f9af2
Compare
Choose a tag to compare

Added get message command

v1.4.4

19 Dec 08:07
52ff384
Compare
Choose a tag to compare

Hotfix release:

Fix errors when using passPhrase argument in Json-RPC calls

v1.4.2

13 Dec 22:26
ce5ef1d
Compare
Choose a tag to compare

Features:

  • new get blocks command
  • New JSON-RPC methods : getBlocks, getTransactionsInBlockByHeight, getTransactionsInBlockById

Fixes:

  • Fixing incorrect extending of ~ in environment variables in some versions of ubuntu
  • Fixing issue with default parameters not being overrided in custom config file
  • Fixing issue with getTransactionsReceivedByAddress skipping transactions received with comments.

v1.4.1

06 Dec 15:36
2c92e8e
Compare
Choose a tag to compare
  • new client version command
  • new node commands subgroup, now it is node height and node version commands
  • clientVersion,nodeHeight,nodeVersion json-rpc methods

v1.4.0

05 Dec 10:45
29fc085
Compare
Choose a tag to compare
  • new rpc server command
  • JSON-RPC server functionality