adamant-console
v3.0.0
Published
Console API and JSON-RPC for interacting with ADAMANT Blockchain
Downloads
37
Readme
Adamant-console
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.
Understanding interaction with ADAMANT blockchain
ADAMANT has only secure API, and you cannot transfer passphrase to node to make any action with wallet. 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's safe to connect to any node. Node you connect should have API enabled.
You can use any programming languages to interact with Adamant-console, like PHP, Python, NodeJS, bash.
Alternative ways to interact with ADAMANT blockchain:
Installing and configuring
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
.
Using Console
There are 3 ways of using ADAMANT Console tool:
- Command-line interface (CLI). List of available for commands see in Adamant-console Wiki.
- JSON-RPC. To use this interface, start JSON-RPC daemon on Adamant-console.
- Directly through the built-in library. The available methods see in Adamant-console Wiki also.
See Running Commands in Adamant console.
Integration notes with ADM token for Exchanges
See 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.