diff --git a/README.md b/README.md index 70a9591b4..0e587bb9f 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,14 @@ You must have `node.js` and `npm` installed on your machine. Clone Agama Desktop App with EasyDEX-GUI submodule ```shell -1) git clone https://github.com/supernetorg/agama --recursive --branch pkg_automation_electrum --single-branch +1) git clone https://github.com/miketout/agama --recursive --branch pkg_automation_electrum --single-branch with this command you git clone agama - but explicitly just the pkg_automation_electrum branch (therefore --single-branch) which we also use for the release packages. 2) cd agama && cd gui/EasyDEX-GUI/ -3) git checkout electrum && git pull origin electrum -4) npm install && npm install webpack -5) ./binary_artifacts.sh -6) npm start in project root folder -7) cd gui/EasyDEX-GUI/react/src -8) npm start +3) npm install && npm install webpack +4) ./binary_artifacts.sh +5) npm start in project root folder +6) cd gui/EasyDEX-GUI/react/src +7) npm start 8) toggle dev and debug options in settings 9) restart the app 10) sync komodod and/or asset chains diff --git a/routes/nativeCoind.js b/routes/nativeCoind.js index 682888b26..feddab41f 100644 --- a/routes/nativeCoind.js +++ b/routes/nativeCoind.js @@ -1,4 +1,5 @@ const nativeCoind = { + // TODO Our coin goes into this list, along with the binary module and port 'btc': { name: 'Bitcoin', bin: 'bitcoin', @@ -95,4 +96,4 @@ const nativeCoind = { } }; -module.exports = nativeCoind; \ No newline at end of file +module.exports = nativeCoind; diff --git a/routes/shepherd/addCoinShortcuts.js b/routes/shepherd/addCoinShortcuts.js index 6397de901..61084350e 100644 --- a/routes/shepherd/addCoinShortcuts.js +++ b/routes/shepherd/addCoinShortcuts.js @@ -53,6 +53,7 @@ module.exports = (shepherd) => { //resolve(body); } }); +// TODO Add our coin selection here, along with NODE address etc. } else if (selection === 'REVS') { const herdData = { 'ac_name': 'REVS', @@ -246,4 +247,4 @@ module.exports = (shepherd) => { }; return shepherd; -}; \ No newline at end of file +}; diff --git a/routes/shepherd/dex/electrumServersList.js b/routes/shepherd/dex/electrumServersList.js index 5f20781c3..f8a055650 100644 --- a/routes/shepherd/dex/electrumServersList.js +++ b/routes/shepherd/dex/electrumServersList.js @@ -1,5 +1,5 @@ // TODO: merge with spv mode - +// TODO Add us to this list? const electrumServersList = { "ARG": [{"173.212.225.176": 50081},{"136.243.45.140": 50081}], "BET": [{"electrum2.cipig.net":10012},{"electrum1.cipig.net":10012}], @@ -36,4 +36,4 @@ const electrumServersList = { module.exports = (shepherd) => { shepherd.electrumServersList = electrumServersList; return shepherd; -}; \ No newline at end of file +}; diff --git a/routes/shepherd/dex/mmControl.js b/routes/shepherd/dex/mmControl.js index aff51d4fd..c9f11bcd4 100644 --- a/routes/shepherd/dex/mmControl.js +++ b/routes/shepherd/dex/mmControl.js @@ -64,7 +64,7 @@ module.exports = (shepherd) => { const defaultCoinsListFile = path.join(__dirname, '../dex/coins.json'); const _coins = fs.readJsonSync(defaultCoinsListFile, { throws: false }); let coins = {}; - + // TODO Mostly from coins.json with a few hard wired, I assume we add to coins.json for (let i = 0; i < _coins.length; i++) { coins[_coins[i].coin] = _coins[i]; } @@ -250,4 +250,4 @@ module.exports = (shepherd) => { } return shepherd; -}; \ No newline at end of file +}; diff --git a/routes/shepherd/explorer/remoteExplorers.js b/routes/shepherd/explorer/remoteExplorers.js index a7fee6dc6..4019427c5 100644 --- a/routes/shepherd/explorer/remoteExplorers.js +++ b/routes/shepherd/explorer/remoteExplorers.js @@ -17,5 +17,5 @@ const remoteExplorers = { COQUI: 'https://explorer.coqui.cash', MNZ: 'https://www.mnzexplorer.com', }; - -module.exports = remoteExplorers; \ No newline at end of file +// TODO Our landing page gets added to this list +module.exports = remoteExplorers; diff --git a/routes/shepherd/paths.js b/routes/shepherd/paths.js index 1dafcca97..7100ca2f5 100644 --- a/routes/shepherd/paths.js +++ b/routes/shepherd/paths.js @@ -1,7 +1,7 @@ const path = require('path'); const fixPath = require('fix-path'); const os = require('os'); - +// TODO add the path to our bin here module.exports = (shepherd) => { shepherd.pathsAgama = () => { switch (os.platform()) { @@ -79,4 +79,4 @@ module.exports = (shepherd) => { } return shepherd; -}; \ No newline at end of file +};