Adamant-console is Command-line utilities to interact with ADAMANT blockchain.
It allows you to run commands like send tokens, create new address and get information.
Adamant-console is preferable way for interaction with ADAMANT blockchain.
ADAMANT node is based on Lisk 0.9 code, but with important difference. ADAMANT has only secure API, and you cannot transfer passphrase to node to make any action with wallet, like Lisk 0.9 does. Instead, node requires signed transaction to make any action.
Adamant-console connects to ADAMANT nodes on your choice (set in configuration file), it can be any node, locally installed on your machine, or from other side of the Earth. As Console doesn’t transfer passphrases to nodes, it is safe to connect to any node. Important thing, node you connect should have API enabled.
You can use any programming languages to interact with Adamant-console, like PHP, Python, NodeJS, bash.
The installation and configuration are described in Adamant-console Wiki.
Note, by default, network
parameter set to testnet
. If you want to work with mainnet, set the value to mainnet
.
There are two ways of interacting with ADAMANT blockchain. You can use command-line interface (CLI) or JSON-RPC on your choice. See Running Commands in Adamant console.
List of available for CLI commands see in Adamant-console Wiki also.
To use JSON-RPC interface, start JSON-RPC daemon on Adamant-console.
We wrote Integration notes with ADM token for Exchanges. Document describes how to create accounts for deposits, get balances and transactions info, as well as, how to make withdrawals.