Technical Overview

Ordibank Off-Chain Balance State and Operational Environment:

To achieve a virtualized off-chain balance state environment and process money market operations effectively on the Ordibank platform, several key components come into play, each serving a distinct role in the overall system architecture.

The Ord Library:

The Ord Library plays a pivotal role in encapsulating core functionalities and abstractions required by the Ordibank protocol. Key aspects include:

Modularity and Abstraction:

The Ord Library ensures modularity by encapsulating functions related to transactions, off-chain server interactions, and data handling. This allows for easy integration of new features and updates without affecting the entire codebase.


Server Logic Interactions:

The Ordibank server houses virtualised Compoud logic on the Bitcoin network, handling functions such as minting, redeeming, borrowing, and repaying within the Ordibank protocol.

Consistent API:

The Ord Library provides a consistent and user-friendly API for developers, abstracting away complex blockchain interactions and enabling seamless integration with the platform.


Bitcoin Core / Bitcoin Nodes:

Bitcoin Core and the connected network of Bitcoin nodes are fundamental to Ordibank's operation. They play the following crucial roles:

Off-Chain State Management:

Ordibank relies on Bitcoin Core for off-chain state management. Our platform uses Bitcoin nodes to maintain an up-to-date, accurate representation of users' balances and transactions, ensuring consistency across the network.

Transaction Verification:

Transactions initiated on Ordibank are validated by Bitcoin nodes, ensuring that all interactions are secure and compliant with Bitcoin's consensus rules.

Blockchain Indexing:

Indexing mechanisms within Bitcoin Core are employed to efficiently retrieve relevant data, such as transaction history and account balances. This ensures quick and reliable access to required information for money market operations.


Ordibank Server:

The Ordibank server acts as an orchestrator, coordinating various processes and maintaining a comprehensive view of the off-chain state. Key functionalities include:

Virtualized Off-Chain State:

The Ordibank server manages a virtualized off-chain balance state, providing a high-level abstraction of user balances and market conditions. This state is periodically synchronized with the Bitcoin network to ensure accuracy.

Modular Operation Handling:

Ordibank is designed with modularity in mind, allowing for the seamless addition of new features, asset support (Atomical and any Inscription Standard), and protocol enhancements. This modularity extends to interactions with the Ord Library, enabling flexible and scalable development.

Indexing and Oracle Pricing:

Indexing mechanisms within the server allow efficient retrieval of historical data and pricing information. Oracle pricing, based on external data feeds, is integrated into the off-chain state to provide real-time market values for assets.

Transaction Broadcasting:

Upon user interactions through the platform, the Ordibank server is responsible for broadcasting transactions to the Bitcoin network. This includes minting, redeeming, borrowing, and repaying operations.


Technical Considerations:

Oracles and Pricing Feeds:

Ordibank employs external oracles to fetch real-time pricing data for BRC-20 and Atomical assets. This data is critical for maintaining accurate market conditions within the off-chain state.

Event-Driven Architecture:

The Ordibank system follows an event-driven architecture, allowing efficient handling of user interactions, market updates, and state changes. This contributes to the responsiveness of the platform.

Gas Efficiency:

Ordibank's off-chain state management minimizes on-chain transactions, optimizing gas usage. This approach is critical for cost-effective and scalable operations on the Bitcoin network. We explore this further here.

Security and Consensus:

  • Consensus mechanisms within Bitcoin Core ensure the security and integrity of the platform. Ordibank relies on the robustness of the Bitcoin network for transaction validation and state synchronization.


Last updated