Skip to content

Quick Start

adamant-al edited this page Jun 19, 2023 · 14 revisions

Terminology

  1. Account is an account in the ADAMANT blockchain, an entity that can send and receive transactions and messages. Account addresses are public and look like U1407733406047016223.
  2. PassPhrase is essentially a password, or, more specifically, a phrase that consists of 12 words and gives access to an ADAMANT account. Passphrases are private; keep them secret.

How to create accounts in ADAMANT.

Set up

  1. Follow README.md to install the bot;
  2. Fill in the necessary fields in the config file:
  • passPhrase The bot's secret passphrase. Create a separate ADM account for the bot. Bot's ADM address will correspond to this passphrase. You'll contact this address via ADAMANT Messenger to manage the bot.
  • admin_accounts Add your ADAMANT account address from which you’ll send commands to the bot. You gotta have 2 separate ADAMANT accounts, one of which you will use as an admin account and send the commands from it; the other one you will leave to the bot and provide its passPhrase in config.
  • Set exchange to the cryptocurrency exchange where the bot will work, and a trade pair
  • API keys to access your account on exchange: apikey & apisecret
  1. Start the bot.

When you provide API keys for trading, consider:

  • Create separate keys for the CoinOptimus bot. Don’t use this account for other bots.
  • Top up this account with enough, but not an excessive amount of coins. Start with a lower balance, and then consider topping up more.
  • Don’t provide withdrawal rights to API keys, only read+trading

Basics

  1. Make sure everything is alright with the installation. Installation troubleshooting.
  2. Start a chat with the bot. The bot will ignore contacts from accounts not included in admin_accounts.
  3. Name the bot like Test CoinOptimus [Pair@Exchange] for your convenience
  4. Send /balances command to the bot (note: all the commands start with slash /), and you should get a reply:
P2PB2B balances:
0.00972085 BTC
643.40463 DOGE
376 369.1 VCN (347 077.39 available & 29 291.71 frozen)
2.11177553 LTC
970.09399713 USDT (929.02178413 available & 41.072213 frozen)
Total holdings ~ 1 354.02 USD or 0.06648047 BTC
Total holdings (non-VCN) ~ 1 354.02 USD or 0.06648047 BTC.

You are all set!

Start trading

To start trading with Ladder/ Grid strategy, follow the Ladder trading.

You can place manual /buy and /sell orders. If you need to remove some type of orders, use /clear command.

Try:

/buy ADM/USDT amount=200 price=0.005

The bot will place an order to buy 200 USD at 0.005 USDT price.

See Commands to read the command reference.

Notifications

A bot sends notifications on warnings and errors, which you’ll probably want to handle. For example, balance is not enough.

The CoinOptimus supports notifications in ADAMANT Messenger, Slack, and Discord. F. e., to add notifications in ADAMANT, fill in the config:

  1. Find and copy your ADAMANT address: open ADAMANT Messenger ⟶ navigate to Account section ⟶ tap on the ADM address icon ⟶ Copy address
  2. Open the bot's config
  3. Paste your ADAMANT address to adamant_notify. It will look like this:

"adamant_notify": ["U4831643402757107438"],

Now you will get notifications for warnings and errors.

Clone this wiki locally