OpenST Payments - Advance Payment infrastructure on top of the OpenST network
While OpenST 0.9 is available as-is for anyone to use, we caution that this is early stage software and under heavy ongoing development and improvement. Please report bugs and suggested improvements.
npm install @openstfoundation/openst-payments --save
Start DynamoDb with specified path (in dbPath). Delete the Dynamo DB data file if already exists.
> java -Djava.library.path=~/dynamodb_local_latest/DynamoDBLocal_lib/ -jar ~/dynamodb_local_latest/DynamoDBLocal.jar -sharedDb -dbPath ~/openst-setup/logs/
cd mocha_test/scripts/
sh start_test_chain.sh
cd mocha_test/scripts
source env_vars.sh
DynamoDB initial migrations for shard management are run in it and one shard is created and registered for storing token balance.
node tools/dynamo_db_init.js
node tools/deploy/EIP20TokenMock.js conversionRate symbol name decimals gasPrice configStrategyFile
node tools/deploy/pricer.js brandedTokenContractAddress baseCurrency gasPrice chainID configStrategyFile
node tools/deploy/workers.js gasPrice chainId configStrategyFile
node tools/deploy/airdrop.js brandedTokenContractAddress baseCurrency workerContractAddress airdropBudgetHolder gasPrice chainId configStrategyFile
cd mocha_test/scripts
source env_vars.sh
cd mocha_test/scripts
source deploy_price_oracle.sh
node migrations/create_tables.js
For complete documentation of all the services of OpenST Platform, please refer Developer Guide.