Protocol Specification
This document serves as the canonical specification for the Hyperbridge protocol. It is frequently updated to reflect the latest changes in the protocol. It is divided into the following sections:
Cryptographic Primitives
Hyperbridge is at it's fundamental level a coprocessor for expensive cryptographic operations needed to confirm the correctness of cross-chain messages. This section details all of the cryptographic primitives used in within the various sub-systems in Hyperbridge. These primitives are used to produce and verify the correctness of consensus proofs, consensus fault proofs, state proofs and state transition validity proofs. The primitives are:
- Hash Functions
- Merkle Trees
- Digital Signatures
- Polynomial Commitment Schemes
- Verkle Tries
- APK Proofs
Interoperability Proofs
Interoperability proofs are the cryptographic proofs that attest to the validity of cross-chain messages. These consists of consensus proofs which convinces a blockchain of the finalized chain of it's counterparty. State proofs which attest to some portions of the finalized state of a counterparty chain. Combined, these proofs can be used to mediate secure communication between blockchains.
Interoperable State Machine Protocol
The Interoperable State Machine Protocol (ISMP) is a simplified protocol for cross-chain interoperability. The goal of ISMP is to provide secure cross-chain messaging and state reads. The protocol is designed to be simple and easy to implement, while still providing the necessary security guarantees.
- Host Interface
- Consensus Client
- State Machine Client
- Router
- Dispatcher
- Requests
- Responses
- Timeouts
- Proxies
Consensus Algorithms
These are the algorithms that are used to verify the consensus mechanism for a given chain. Different chains can have different consensus mechanisms, and so different algorithms are needed to verify the correctness of each mechanism. The consensus verification algorithms implemented in Hyperbridge are:
State Machine Algorithms
These are the algorithms that are used to verify the state commitments for a given state machine. In this context, these are the state commitments posted to it's consensus layer. Where the hyperbridge protocol must leverage the state trie scheme for it's consensus layer to verify the finalized state of a state machine. The state machine verification algorithms implemented in Hyperbridge are: