Closed particle4dev closed 6 years ago
This is a good tutorial:
https://stackoverflow.com/questions/40688173/how-to-launch-an-external-process-synchronously-in-electron
Using child_process.execFileSync
Where should I store the marketmaker app?
Creating a loading screen https://discuss.atom.io/t/help-creating-a-splash-screen-on-electron/19089
The client can start marketmaker application via ipc #13
API
import marketmaker from 'marketmaker';
marketmaker.start();
marketmaker.stop();
marketmaker.isRunning();
Params https://docs.komodoplatform.com/barterDEX/barterDEX-API.html#client
const startparams = {
'gui': 'dICOapp-cm', // - to identify the CLI/GUI being used to run marketmaker.
'client': 1, // - to start marketmaker as client mode.
'canbind': 0,
'userhome': `${process.env.HOME}`, // - defines the data dir for barterDEX. DB dir contains PRICES, SWAPS, UNSPENTS and instantdex_deposit (0conf) files.
'passphrase': "default",
'coins': coindata
};
https://github.com/chainmakers/dicoapp/blob/glxt/.desktop/modules/marketmaker/index.js#L238
Title: Start marketmaker application in the background
Business/User Value: As user, I want to interact with blockchain
Acceptance Criteria
DEV NOTES
https://github.com/chainmakers/dicoapp/blob/glxt/.desktop/modules/marketmaker/index.js#L238
Using singleton pattern
DESIGN Notes None
---other items that you may add to a story---
NEEDS PM None
NEEDS DESIGN None
/label ~"story"