Go back to the server. Navigate to the directory with the bot:
cd ./adamant-tradebot
Create a bot configuration file by copying the default one:
cp config.default.jsonc config.jsonc
Open the config in the nano editor:
nano config.jsonc
Specify the main parameters:
passPhrase Passphrase of the bot account (Account-1). Example:
"passPhrase": "record pill lizard broom student..",
admin_accounts Bot administrator accounts. There may be several of them, but you will indicate only one (Account-2):
"admin_accounts": [
"U1470193608913646963"
],
exchange and pair Specify on which exchange and with which trading pair the market-making bot will work. Example:
"exchange": "XeggeX",
"pair": "TOKEN/USDT",
apikey, apisecret, apipassword Specify the exchange API keys:
"apikey": "0d5sfswsseef63a104f3adf965",
"apisecret": "8JBSQexbvi5wAaMB9ouEjzgTEXHj0qKmn2WIgve4Jajq",
"apipassword": "",
adamant_notify and/or slack Although not required, we recommend providing an ADAMANT address or Slack hook for notifications. If you want to receive notifications in ADAMANT, create a third account for this.
Keep other parameters default — you can do this later. To save changes in the nano editor, press F2, y, Enter.