Go to file
satindergrewal 0d20e611d4 passphrase API implimented 2017-12-06 02:20:56 +13:00
assets passphrase API implimented 2017-12-06 02:20:56 +13:00
gui passphrase API implimented 2017-12-06 02:20:56 +13:00
ipc Settings menu updated with settings controls 2017-12-03 02:56:31 +13:00
private electron update, shepherd-ipc base started 2017-08-18 01:22:31 +12:00
.gitignore readme update 2017-08-21 04:13:36 +12:00
LICENSE continuing from the dICOApp 0.6.4-beta2 codebase 2017-11-17 10:24:39 +13:00
ReadMe.md ReadMe update 2017-12-05 21:24:14 +13:00
main.js version bump, and other small changes 2017-12-05 17:16:54 +13:00
package-lock.json ReadMe update 2017-12-05 21:24:14 +13:00
package.json version bump, and other small changes 2017-12-05 17:16:54 +13:00
renderer.js electron enabled with basic setup 2017-08-17 23:47:38 +12:00

ReadMe.md

BarterDEX App

Before starting make sure you have marketmaker daemon compiled and running on your machine.

You can find instructions to install marketmaker here:

https://github.com/SuperNETorg/komodo/wiki/Setting-up-Liquidity-Provider-(LP)-Node#installing-liquidity-provider-lp-node-on-ubuntudebian-system

Setup

Once running, follow these steps:

git clone https://github.com/SuperNETorg/BarterDEX.git
cd BarterDEX
git checkout v0.7
npm install
npm start

It will download "BarterDEX". Open "BarterDEX", and from there open "index.html" file in your web browser.

Update

To update, follow these steps:

cd BarterDEX
git checkout v0.7
git pull

For end users

To build the production ready app, install electron-packager and electron-prebuilt packages from npm

sudo npm install electron-packager -g
sudo npm install electron-prebuilt -g

Instructions to test

  1. Start Komodo Native Wallet
  2. Start Monaize Native Wallet
  3. Wait for both Komodo and Monaize to sync 100%
  4. Start BarterDEX
  5. Select 'Monzie (MNZ) dICO' option at the login screen.
  6. Login with passphrase (either pre-generated or make a new one).
  7. Look for the KMD address and send KMDs to it. Once sent, it will start reflecting there in a minute.
  8. Give the maximum price that you would like to pay for MNZ. Example: 0.15
  9. Give the maximum amount of MNZ you would like to buy. Example: 19
  10. Wait and watch the MNZ balance increasing as trades happen.

Report Issues

Please feel free to test and post any bugs or issues found here: https://github.com/SuperNETorg/BarterDEX/issues

Testing Notes

If your wallet is encrypted, the app will not work with it. This feature will be made available in coming releases.

Build the App

Refer to the original electron-packager repository for more detailed information.

Linux

Change directory to BarterDEX and execute the following command to build the Linux app

cd BarterDEX
electron-packager . --platform=linux --arch=x64 --icon=assets/icons/barterdex/128x128.png --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite

change architecture build parameter to --arch=x32 for 32 bit build

OSX

Change directory to BarterDEX and execute the following command to build the OSX app

cd BarterDEX
electron-packager . --platform=darwin --arch=x64 --icon=assets/icons/barterdex/barterdex.icns --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite
Windows

Change directory to iguana and execute the following command to build the Windows app

dir iguana
electron-packager . --platform=win32 --arch=x64 --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite

# If generating 32bit desktop package
electron-packager . --platform=win32 --arch=ia32 --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite

# To build both x64 and x86 desktop package
electron-packager . --platform=win32 --arch=all --icon=assets/icons/barterdex/barterdex.ico --out=build/ --buildVersion=VERSION_NUMBER_HERE --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite

change architecture build parameter to --arch=x64 for 64 bit build