MCPcopy Index your code
hub / github.com/Adamant-im/adamant-exchangebot

github.com/Adamant-im/adamant-exchangebot @v2.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.6.0 ↗ · + Follow
223 symbols 432 edges 33 files 126 documented · 57%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ADAMANT Exchange Bot is software that allows you to launch your own exchange, anonymous, instant, and convenient. Exchange bots work in ADAMANT Messenger chats directly.

Coins supported:

  • ADAMANT Messenger (ADM)
  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Lisk (LSK)
  • Dash (DASH) with InstantSend
  • Stably Dollar (USDS ERC20)
  • Binance Coin (BNB ERC20)
  • Dai (DAI ERC20)
  • Tether (USDT ERC20)
  • USD Coin (USDC ERC20)
  • Onyxcoin (XCN ERC20)

Exchanging Dash to Ethereum

Read more: Multiple anonymous crypto exchanges on the ADAMANT platform.

Installation

Requirements

Setup

su - adamant
git clone https://github.com/Adamant-im/adamant-exchangebot
cd ./adamant-exchangebot
npm i

Pre-launch tuning

The bot will use config.jsonc if available, or config.default.jsonc otherwise.

cp config.default.jsonc config.jsonc
nano config.jsonc

Parameters: see comments in the config file.

Launching

You can start the Exchange Bot with the node app command, but it is recommended to use the process manager for this purpose.

pm2 start --name exchangebot app.js

Add Exchange Bot to cron

crontab -e

Add string:

@reboot cd /home/adamant/adamant-exchangebot && pm2 start --name exchangebot app.js

Updating

su - adamant
cd ./adamant-exchangebot
pm2 stop exchangebot
npm i

Update config.jsonc if config.default.jsonc changed.

Then pm2 restart exchangebot.

Core symbols most depended-on inside this repo

Shape

Method 121
Function 80
Class 22

Languages

TypeScript100%

Modules by API surface

helpers/utils.js25 symbols
helpers/cryptos/btcBaseCoin.js22 symbols
helpers/cryptos/exchanger.js21 symbols
helpers/cryptos/lsk_utils.js19 symbols
helpers/cryptos/eth_utils.js19 symbols
helpers/cryptos/btc_utils.js17 symbols
helpers/cryptos/doge_utils.js15 symbols
helpers/cryptos/lskBaseCoin.js14 symbols
helpers/cryptos/dash_utils.js14 symbols
helpers/cryptos/adm_utils.js11 symbols
helpers/dbModel.js10 symbols
helpers/log.js7 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add adamant-exchangebot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page