Midaz is an open-source ledger system that is part of a Core Banking Platform being developed by Lerian. The ledger and the other components of the platform are currently UNDER CONSTRUCTION and should not be used in production.
Midaz is designed to address the limitations of traditional ledger systems and provide a comprehensive, multi-asset, multi-currency, and immutable ledger solution for the modern financial landscape.
At Lerian, we view a core banking system as a comprehensive platform consisting of four main components:
-
Ledger (Core): The central database that manages all transactions and accounts. This is where Midaz plays a crucial role, serving as the foundation of the core banking system.
-
Transactional Services: These generate debits and credits in the ledger. Examples include instant payments (like PIX in Brazil), card transactions, and wire transfers.
-
Governance: This component includes integrations for onboarding, anti-fraud/AML measures, management reporting, regulatory compliance, and accounting.
-
Connectivity Infrastructure: This provides the necessary (if any, since most advanced regional financial systems are moving to the cloud) physical connections to external systems and networks.
Our open-source approach allows developers to integrate Midaz seamlessly with other components, creating a complete core banking solution tailored to their specific needs. Whether you're building a new financial product, modernizing legacy systems, or creating innovative fintech solutions, Midaz provides the solid foundation you need for your core banking infrastructure.
Lerian is committed to also providing a robust set of Transactional Services and Governance integrations to complement Midaz. More to come soon.
- Open-source under Apache 2.0 License: Freely available for developers to access, modify, and contribute.
- Double-entry chart-of-accounts engine: Ensures financial integrity and accuracy.
- Multi-asset and multi-currency support: Seamlessly handle transactions across various currencies and asset types.
- Complex "n:n" transactions: Efficiently process transactions involving multiple senders and receivers.
- Native immutability and auditability: Tamper-proof transaction records for enhanced security and compliance.
- Cloud-native and cloud-agnostic design: Flexible deployment across various cloud environments.
- API-based + CLI and console: Easy integration and interaction with existing systems.
- Advanced security measures: Including encryption and double-token authentication.
- SOC-2, GDPR and PCI-DSS ready: Adherence to strict security and compliance standards.
- Customizable governance flows: Define and implement custom transaction approval workflows.
- Proprietary DSL: For efficient transaction modeling and customization.
- Smart contract integration: Enabling the programming of complex types of transactions, as well as automated compliance.
To start using Midaz, please follow our Getting Started Guide. For comprehensive documentation on Midaz features, API references, and best practices, visit our Official Documentation.
First, make sure you have Docker and Docker Compose installed.
# Clone the repository
git clone https://github.com/LerianStudio/midaz.git
cd midaz
# Set up environment variables
make set-env
# Start all services
make up
This will start all components using Docker Compose:
- Authentication Service
- Infrastructure Service
- Ledger Service
- Transaction Service
- Run tests:
make test
- Format code:
make format
- Run linter:
make lint
- Set up git hooks:
make setup-git-hooks
- Show help:
make help
for all possible project management commands
- Join our Discord community for discussions, support, and updates.
- For bug reports and feature requests, please use our GitHub Issues.
- If you want to raise anything to the attention of the community, open a Discussion in our GitHub.
- Follow us on Twitter for the latest news and announcements.
We welcome contributions from the community! Please read our Contributing Guidelines to get started. Midaz is released under the Apache License 2.0. See LICENSE for more information. In a nutshell, this means you can use, modify, and distribute Midaz as you see fit, as long as you include the original copyright and license notice.
Midaz is developed by Lerian, a tech company founded in 2023, led by a team with a track record in developing ledger and core banking solutions. For any inquiries or support, please reach out to us at [email protected] or simply open a Discussion in our GitHub repository.