The Settlements BC consists of the following packages;
Public shared types. README
Domain library types. README
Infrastructure library. README
HTTP service for Settlements BC. README
Settlement library used to determine the settlement model for a settlement transfer. README
Mock implementation used for testing. README
npm run start:http-svc
More information on how to install NVM: https://github.com/nvm-sh/nvm
nvm install
nvm use
npm install
npm run build
npm run test:unit
Use https://github.com/mojaloop/platform-shared-tools/tree/main/packages/deployment/docker-compose-infra
Follow instructions in the docker-compose-infra README.md
to run the supporting services.
npm run start:http-svc
npm run test:integration
error:25066067:DSO support routines:dlfcn_load:could not load the shared library
Fix: https://github.com/mojaloop/security-bc.git export OPENSSL_CONF=/dev/null
The following documentation provides insight into the Settlements Bounded Context.
- Technical Flows -
../docs/flows
- Settlement Version 2 -
../docs/Settlement Version 2.pptx
- Settlement Operational Implementation - https://docs.mojaloop.io/business-operations-framework-docs/guide/SettlementBC.html#core-settlement-operations
- Reference Architecture - https://mojaloop.github.io/reference-architecture-doc/boundedContexts/settlements/
- MIRO Board - https://miro.com/app/board/o9J_lJyA1TA=/
- Settlement Functionality in MJL - https://docs.google.com/presentation/d/19uy6pO_igmQ9uZRnKyZkXD8a8uyMKQcn/edit#slide=id.p1
- Work Sessions - https://docs.google.com/document/d/1Nm6B_tSR1mOM0LEzxZ9uQnGwXkruBeYB2slgYK1Kflo/edit#heading=h.6w64vxvw6er4
- Admin API - Settlement Models - https://github.com/mojaloop/mojaloop-specification/blob/master/admin-api/admin-api-specification-v1.0.md#api-resource-settlementmodels