Scripts for funding and managing LP's
Switch branches/tags
Nothing to show
Clone or download
blackjok3rtt new file: dexscripts/auto_chipsbtc
	new file:   dexscripts/auto_chipskmd
	new file:   dexscripts/autoprice
	new file:   dexscripts/autopriceSNG_KMD
	new file:   dexscripts/autopriceZILLA
	new file:   dexscripts/balance
	new file:   dexscripts/balances
	new file:   dexscripts/baserelswaps
	new file:   dexscripts/bestfit
	new file:   dexscripts/bot_buy
	new file:   dexscripts/bot_list
	new file:   dexscripts/bot_pause
	new file:   dexscripts/bot_resume
	new file:   dexscripts/bot_sell
	new file:   dexscripts/bot_settings
	new file:   dexscripts/bot_status
	new file:   dexscripts/bot_statuslist
	new file:   dexscripts/bot_stop
	new file:   dexscripts/buy
	new file:   dexscripts/claim
	new file:   dexscripts/client
	new file:   dexscripts/client_osx
	new file:   dexscripts/client_static
	new file:   dexscripts/coins
	new file:   dexscripts/coinswaps
	new file:   dexscripts/debug
	new file:   dexscripts/deletemessages
	new file:   dexscripts/deposit1
	new file:   dexscripts/deposit10
	new file:   dexscripts/disable
	new file:   dexscripts/dividends
	new file:   dexscripts/dynamictrust
	new file:   dexscripts/electrum
	new file:   dexscripts/enable
	new file:   dexscripts/fundvalue
	new file:   dexscripts/get_supernet
	new file:   dexscripts/getcoin
	new file:   dexscripts/getcoins
	new file:   dexscripts/getmessages
	new file:   dexscripts/getpeers
	new file:   dexscripts/getpeersIP
	new file:   dexscripts/getprices
	new file:   dexscripts/getrawtransaction
	new file:   dexscripts/goal
	new file:   dexscripts/goals
	new file:   dexscripts/guistats
	new file:   dexscripts/help
	new file:   dexscripts/install
	new file:   dexscripts/inv
	new file:   dexscripts/invreset
	new file:   dexscripts/kickstart
	new file:   dexscripts/listunspent
	new file:   dexscripts/m_js
	new file:   dexscripts/millis
	new file:   dexscripts/mnzservers
	new file:   dexscripts/myprice
	new file:   dexscripts/myprices
	new file:   dexscripts/notarizations
	new file:   dexscripts/orderbook
	new file:   dexscripts/parselog
	new file:   dexscripts/pendings
	new file:   dexscripts/pendingswaps
	new file:   dexscripts/portfolio
	new file:   dexscripts/processfiles
	new file:   dexscripts/pubkeystats
	new file:   dexscripts/run
	new file:   dexscripts/run_osx
	new file:   dexscripts/secretaddresses
	new file:   dexscripts/sell
	new file:   dexscripts/sendrawtransaction
	new file:   dexscripts/setconfirms
	new file:   dexscripts/setpassphrase
	new file:   dexscripts/setprice
	new file:   dexscripts/snapshot
	new file:   dexscripts/snapshot_balance
	new file:   dexscripts/snapshot_loop
	new file:   dexscripts/statsdisp
	new file:   dexscripts/status
	new file:   dexscripts/stop
	new file:   dexscripts/trackbtc
	new file:   dexscripts/tradesarray
	new file:   dexscripts/trust
	new file:   dexscripts/trusted
Latest commit 91bf931 Jul 10, 2018
Permalink
Failed to load latest commit information.
install typo Jul 9, 2018
scripts new file: dexscripts/auto_chipsbtc Jul 10, 2018
vps_scripts modified: start May 19, 2018
LICENSE Initial commit May 18, 2018
README.md modified: README.md Jul 10, 2018

README.md

Scripts for creating a BOB node for BarterDEX

Installing MarketMaker

  1. Create a VPS (depending on how many coins you will run determines the size, 2 coins 2GB ram is fine)
  2. Add yourself a user and give it sudo access, installing a keypair with no password is a requirement!
  3. install git: sudo apt-get install git
  4. clone this repo: git clone https://github.com/blackjok3rtt/BOB_scripts.git
  5. cd ~/BOB_scripts/install
  6. ./install.sh
  7. If you are using komodo and its assets install it: ./buildkomodo.sh
  8. cd ~/BOB_scripts/vps_scripts
  9. You can use the scripts in this folder to install many coins, more are being added all the time. Pull requests welcome. The format of these scripts is pretty self explanitory.
  10. Sync all the coins you are using the usual way.
  11. If you are deploying more bobs, shut down your VPS after all coins are synced up and make the amount of copies that you need then start up all the VPS's.
  12. You need to SSH to each VPS and issue a command to start marketmaker, this can be automated on startup however, I fine that marketmaker can crash and its easier/safer to SSH and start it manually like so screen ./start from the ~/BOB_scripts/vps_scripts folder. Starting it in a screen is best so you can return to it, and it stays up after logout.

Installing Local Copy to your Linux Computer

This part of the guide will need updating. We should make a simple GUI for managing a while bunch of marketmakers with just a few clicks. THIS PART REQUIRES YOU ARE USING STANDARD PORT 22 for SSH if you are not you need to edit sshtunnel script accordingly

  1. Install git and jq. For ubuntu for example: sudo apt-get intall git jq
  2. git clone https://github.com/blackjok3rtt/BOB_scripts.git
  3. cd BOB_scripts/scripts
  4. First cp passphrase_sample passphrase then edit the passprase file, its an array of passphrases for all your bobs. The first line is empty by design please leave it like that.
  5. First cp IP_sample IP then edit the IP file, each line here matches the line of the passprases file.
  6. ./login X where X is the number of your VPS starting at 1.If you only have one VPS, just use 1.
  7. When you are finished working in this VPS ./logout

Setting up your VPS

  1. The userpass for this VPS is set when you run the login command.
  2. Best practice is to copy the dexscripts folder to a new folder for this set of BOBS. As you can edit the scripts as required and then, issue the API calls to all BOBs with a script or manually as required after login.
  3. A better guide for this section will be made in the future. It's very dependent on what coins you use and what you want to acheive.

Funding your bobs

Follow the guide in the README.md in the scripts folder.