Currently, the SuperNET development branch is needed in order to run BarterDEX. Switch to that branch in your local repository:

cd SuperNET/iguana
checkout dev

Now you can install the API scripts required to use BarterDEX. The following install command will copy them to the SuperNET/iguana/dexscripts directory, from where you can run them and customize them if you want without conflicting with SuperNET software updates.

cd exchanges
./install

Set your user password.

nano userpass

Replace <put the userpass value from the first API call here> with a strong password of your choice. This password will be required to run any private API BarterDEX requests. Save and close the file. Then set the passphrase for the wallet you want to use with BarterDEX.

nano passphrase

Replace <put a very strong passphrase here> with the passphrase. This can be the passphrase for a wallet already existing in Iguana, or a passphrase for a new wallet. It is VERY IMPORTANT that you use a long, random string as passphrase. For instance, a 64 characters string including uppercase and lowercase letters, numbers and symbols. It is also important that you save a copy in a secure place!! FInally, copy your userpass and passphrase data to the SuperNET/iguana/dexscripts directory, and move there.