# System Design

**KStore serves as the backend for:**

* User Management: Addresses, wallet balances, and details.
* Purchase Management: Order evaluation, submission, status updates, and payment integrations.

**Core Components:**

* Repositories: Handle data persistence and retrieval.
* Lazy Chain: Manages blockchain-based transactions.
* SQS: Facilitates asynchronous messaging for certain operations.
* Slack: Sends notifications about critical events or errors.

<figure><img src="https://2461813667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6wrz3evgXnneuhnGBKfG%2Fuploads%2FKFSnn8jDBBmWYCzyCi74%2FSystem%20Design%20_%20Core%20components.png?alt=media&#x26;token=8271874f-d9a0-4b8d-a97e-df8a3d80e8e2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2461813667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6wrz3evgXnneuhnGBKfG%2Fuploads%2Feewj2jY3LvItpjd5jNL0%2FSystem%20Design_KStore%20Microservice%20Flow%20Chart.png?alt=media&#x26;token=bcc80048-11f8-4bf7-817d-d28daf244d80" alt=""><figcaption></figcaption></figure>

#### **B2B (Coming soon)**

<figure><img src="https://2461813667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6wrz3evgXnneuhnGBKfG%2Fuploads%2Fuo3V5rocdZK2uyk3hR9r%2FSystem%20Design_Rapport%20System%20Architecture.png?alt=media&#x26;token=4f293365-679b-4f77-88cc-682c21c55a0f" alt=""><figcaption></figcaption></figure>
