AtomicDEX

Patrick McGuire
BMoreToken
Published in
1 min readJul 14, 2021

P2P Trading BALT-LTC

Once you are done with the MM2 setup you will have RPC set up on port 7783 https://developers.komodoplatform.com/basic-docs/atomicdex/atomicdex-setup/get-started-atomicdex.html

Use the following information with this https://developers.komodoplatform.com/basic-docs/atomicdex/atomicdex-tutorials/how-to-become-a-liquidity-provider.html

This was the hard page to find, it will show you how to set up other ERC20 tokens you hold to trade for BALT https://developers.komodoplatform.com/basic-docs/atomicdex/atomicdex-api.html#using-atomicdex-software-on-an-eth-based-network

./coins

[ {
“coin”: “BALT”,
“name”: “balt”,
“fname”: “BMoreToken”,
“rpcport”: 80,
“mm2”: 1,
“chain_id”: 1,
“required_confirmations”: 3,
“avg_blocktime”: 0.25,
“protocol”: {
“type”: “ERC20”,
“protocol_data”: {
“platform”: “ETH”,
“contract_address”: “0xbDd4f273C2b0f0B84a51BD733AAc617D91159376”
}
}
},{
“coin”: “LTC”,
“name”: “litecoin”,
“fname”: “Litecoin”,
“rpcport”: 9332,
“pubtype”: 48,
“p2shtype”: 50,
“wiftype”: 176,
“txfee”: 0,
“dust”: 5460,
“segwit”: true,
“bech32_hrp”: “ltc”,
“mm2”: 1,
“required_confirmations”: 2,
“avg_blocktime”: 2.5,
“protocol”: {
“type”: “UTXO”
}
}]

LTCconnect.sh

#!/bin/bash
source userpass
curl — url “http://127.0.0.1:7783" — data “{\”userpass\”:\”$userpass\”,\”method\”:\”electrum\”,\”coin\”:\”LTC\”,\”servers\”:[{\”url\”:\”electrum-ltc.bysh.me:50001\”},{\”url\”:\”electrum.ltc.xurious.com:50001\”}]}”

BALTconnect.sh

#!/bin/bash
source userpass
curl — url “http://127.0.0.1:7783" — data “{\”userpass\”:\”$userpass\”,\”method\”:\”enable\”,\”coin\”:\”BALT\”,\”urls\”:[\”http://eth1.cipig.net:8555\"],\"swap_contract_address\":\"0x8500AFc0bc5214728082163326C2FF0C73f4a871\"}"

--

--