> For the complete documentation index, see [llms.txt](https://docs.minervachain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.minervachain.org/bridge/how-it-works.md). Agents can also search and read this documentation through its [MCP server](https://docs.minervachain.org/~gitbook/mcp).

# How the bridge works

The Minerva bridge moves MRV between the ERC-20 on Robinhood Chain and native MRV on Minerva. It is **liquidity-backed**: neither side mints or wraps anything. Each side pays out of inventory it already holds, and every payout is authorised by a guardian quorum and verified by the receiving contract.

![The bridge at mainnet.minervachain.org/bridge](https://15420461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6nJaiwtSaPxngEc1oUhI%2Fuploads%2Fgit-blob-67307da09de485d6bf1dd9583c7ab33f4a3e1a0c%2Fbridge-mainnet.png?alt=media)

## The two directions

**Robinhood Chain to Minerva.** You deposit ERC-20 MRV into the deposit adapter on Robinhood Chain. The relayer waits for the deposit to be final, collects guardian attestations, and submits a release to the native vault on Minerva, which pays native MRV to your Minerva account out of the bridge reserve. The deposit stays in escrow on Robinhood Chain until the release is confirmed, then settles into the vault's inventory.

**Minerva to Robinhood Chain.** You lock native MRV in the native vault with a native transaction from Minerva Wallet. After the Minerva confirmations, guardians attest and the relayer submits a release on Robinhood Chain, where the liquidity vault pays ERC-20 MRV to your Robinhood address out of inventory deposited by liquidity providers. This direction is therefore bounded by how much ERC-20 MRV liquidity providers have supplied.

## Components

| Component           | Robinhood Chain                                                              | Minerva                                                                   |
| ------------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| Vault               | `MRVBridgeLiquidityVault`: LP deposits, releases, ledger                     | `MinervaNativeBridgeVault`: the reserve, locks, releases, refunds, ledger |
| Deposit entry       | `MRVBridgeDepositAdapter.bridgeToMinerva`                                    | `MinervaNativeBridgeVault.lock`                                           |
| Message registry    | nonces, executed and expired records                                         | `MinervaBridgeMessageRegistry` at `0x…0301`                               |
| Guardians           | guardian manager, secp256k1, threshold 2                                     | `MinervaPQGuardianVerifier` at `0x…0302`, ML-DSA-65, 3 keys, threshold 2  |
| Relayer             | one service watching both chains; it submits but cannot authorise            |                                                                           |
| Indexer and web app | `mainnet.minervachain.org/bridge`, status at `/bridge/relayer/bridge/status` |                                                                           |

## A message

Every transfer is a message carrying the source and destination chain ids, both assets, sender, recipient, amount, fee, nonce, deadline, the source transaction hash and the domain `keccak256("MINERVA_BRIDGE_MESSAGE_V1")`. The receiving vault hashes the message, checks chains and assets, requires the deadline not to have passed, verifies the guardian threshold and records execution in its registry. A message executes once, on one chain, or never.

## When a transfer cannot complete

No timer ever refunds on its own. If the destination cannot pay before the deadline (for example the Robinhood vault lacks liquidity), the flow is:

1. After `deadline + 900 s` anyone can record the message as **Expired** on the destination. From then on it can never be released there.
2. Guardians attest the cancellation, a hash over the message hash and the destination chain id.
3. The lock or deposit on the source chain becomes refundable by its sender.

Executed transfers are settled on the source chain by the relayer and can never be cancelled; cancelled transfers can never be executed. Double payout is impossible by construction.

## Finality

| Direction                  | Standard lane                                                                                                                       | Fast lane                                               |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| Robinhood Chain to Minerva | the deposit block must be at or below Robinhood's `finalized` tag (batch posted to Ethereum and that block final), about 20 minutes | releases up to 1,000 MRV go out after 1 Robinhood block |
| Minerva to Robinhood Chain | 12 Minerva blocks                                                                                                                   | releases up to 1,000 MRV go out after 3 Minerva blocks  |

The fast lane caps the total of fast releases not yet fully final at 5,000 MRV; once that exposure is used, further transfers wait for the standard lane until earlier ones finalise. Right before any release the relayer re-reads the source receipt and refuses to pay if the transaction is gone, reverted or moved to a different block. A reorg below a release already paid is carried by the pool, never by a user.

## Live status

`https://mainnet.minervachain.org/bridge/relayer/bridge/status` reports the relayer mode, each chain's latest and finalized block, the finality rules, the fast-lane settings and the open exposure. The web app's Status tab renders the same data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.minervachain.org/bridge/how-it-works.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
