You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can completely skip going over this readme/installation process and use one of below options to setup complete DEXBOT and BlockDX environment even from scratch on Debian/Ubuntu compatible operating systems:
Interactive/automatic command line Dexsetup framework installer: Dexsetup.installer
The wallet of any assets you will be trading. See list of compatible assets.
The Blocknet wallet and any other wallet you're trading out of must be fully synced and fully unlocked.
The wallets used for trading must be configured. For simple setup, use Block DX's automated configuration setup wizard. Having Block DX installed and opened is also useful to visually monitor the market and your open orders.
Make sure funds are split into multiple UTXOs. If you have an order for 1 LTC and you only have a single 10 LTC input, all 10 LTC will be locked in this order. Having multiple, preferably smaller, UTXOs will allow a better distribution of funds across orders.
Make sure funds are in legacy addresses (Eg. LTC funds should be in a "L" address).
Installation
Linux
Open the command line terminal to enter the following commands
Download via Github:
1. Navigate to https://github.com/nnmfnwl/dexbot
1. Click the green Clone or download button and select Download ZIP from the dropdown
1. Save the file and (if necessary) extract the contents to a folder
Navigate into the dexbot folder
Example: cd C:\Users\%USERNAME%\Downloads\ccwallets/dexbot
open strategy template file by text editor and edit one by one {} items according inline documentation,
like Edit RPC setings, edit the trading addresses to match the wallet addresses containing funds split into multiple UTXOs,
Make sure funds are in legacy addresses (Eg. LTC funds should be in a "L" address).
Every strategy file represents just one way trading. So if you want provide liquidity for BLOC->LTC and also LTC->BLOCK, than you will need two strategy files.
Save and close the file.
Running the Bot
Run the wallets of any assets being traded (fully synced, unlocked).
Run the Blocknet wallet (fully synced, unlocked).
Optional: Run Block DX for visual reference that the bot is working.
At this stage it would be a good idea to test making/taking an order without using the bot to ensure everything is setup properly.
Navigate to the dexbot directory in the terminal.
Maker Bot Usage
To prevent multiple bot strategies pulling same data from external sources there is dexbot proxy process
So at first there must be running bot pricing proxy instance:
python3 dexbot_v2_proxy_run.py
dexbot strategy config file represents one way market, for bidirectional trading there are always two strategies needed to run.
For example to start specific previously created bidirectional dexbot strategy, where files are named strategy_BLOCK_LTC_liquidity.py and strategy_BLOCK_LTC_liquidity.py, need to run two commands in two terminal tabs:
Many options to support Dexbot, Dexsetup, Dexsetup.installer and Dexsetup.videos continuous development, testing, liquidity providing and making video tutorials could be found on Dexsetup Installer page here
About
Cross-chain crypto currency p2p decentralized exchange customizable trading bot system for Blocknet.