0.0.13 • Published 5 years ago
fund-unitizer v0.0.13
fund-unitizer
TODO
Setup & Installation
Prerequisites
The following needs to be installed: 1. mongodb 2. node 10.12.0+
The following needs to be running:
Installation
git clone git@github.com:AdharaProjects/fund-unitizer.git
cd fund-unitizer
npm install
Starting the Fund Unitizer API server
npm start
Testing
Unit tests
npm test
Integration tests
- get the latest token plus configuration setup
adhara start
- Run the following from the demonet folder. It will restart what needs to be restarted and configure the contracts correctly
adhara kill regis* && node scripts/deployConfiguredContracts.js && CURRENCY_CONTRACT_ID=TOKEN_ZAR UNITS_CONTRACT_ID=TOKEN_UNITS MARKET_MAKER_UNITS_CONTRACT_ID=MARKET_MAKER_UNITS MARKET_MAKER_CURRENCY_CONTRACT_ID=MARKET_MAKER_ZAR node scripts/zarx/setupMarketMakersForNewFund.js && adhara restart token-proxy-*
USE_MOCK_APIS_IN_TESTS=false npm test
0.0.13
5 years ago