Exchange market for FLO to rupee# and vise-versa
Go to file
sairajzero f9551c856d Updating sell-requirement
- Users can only sell when enough sell-chips (for asset) are available.
- sell-chips are obtained by
  . buying assets
  . receiving asset from distributor
  . deposit (FLO only) as launch-seller (maximum of 1 million)
- Updated coupling for the requirement
- Improved getBestSeller and getBestBuyer: Directly fetch from SQL query
- Removed group.js (moved required functions to market.js)
- Updated SQL schema
2022-04-17 03:44:34 +05:30
args Updating sell-requirement 2022-04-17 03:44:34 +05:30
docs Distributor feature and Balance structure change 2022-04-13 01:06:01 +05:30
setup Arranging files 2022-03-16 01:06:59 +05:30
src Updating sell-requirement 2022-04-17 03:44:34 +05:30
.gitattributes Initial commit 2021-08-30 21:57:41 +05:30
.gitignore Bug fix: getRate for an asset not working 2022-03-29 15:53:01 +05:30
LICENSE Adding package.json 2021-10-16 00:19:48 +05:30
package.json multi-node support 2022-01-23 03:24:27 +05:30
README.md Update README.md 2022-01-26 02:31:23 +05:30
start.js Create start.js and main.js 2021-08-30 22:04:19 +05:30

exchange-market

Exchange market for FLO to rupee# and vise-versa

Run commands


npm install                     - Install the app and node modules.
npm run help                    - List all commands.
npm run setup                   - Finish the setup (configure and reset password).
npm run configure               - Configure the app.
npm run reset-password          - Reset the password (for private-key).
npm run create-schema           - Create schema in MySQL database.

npm start                       - Start the application (main).

NOTE: env variable PASSWORD required for npm start.

Windows:

$env:PASSWORD="<password>"; npm start

Linux:

PASSWORD="<password"> npm start

(Optional) Multiple instance can be run/setup on the same dir with different config files by using env variable 'I'.

Windows:

$env:I="<instance_ID>"; <command>

Linux:

I="<instance_ID>" <command>