Protocol Overview
Midgard is built on one core idea: a game score can become a live market.
The three roles
Section titled “The three roles”1. Factory owners
Section titled “1. Factory owners”A factory owner stakes GARD behind a score. That factory then:
- burns over time
- earns inflation while it stays alive
- accepts open challenges
- can optionally take leverage from the vault
2. Challengers
Section titled “2. Challengers”A challenger pays a ticket for a run against the factory score.
- win and they receive a fixed payout
- lose and the factory’s burn obligation gets lighter
3. Vault investors
Section titled “3. Vault investors”Vault investors provide GARD liquidity to the leverage side.
- they do not directly run factories
- they own shares in a vault
- the vault earns from loan interest and liquidation outcomes
Economic loop
Section titled “Economic loop”What makes Midgard different
Section titled “What makes Midgard different”Midgard is not just a wagering layer and not just a yield layer.
It combines:
- an open challenge market
- a productive score-backed position
- a shared lending vault
That gives the protocol a clear spectrum of users:
- players who want quick, simple risk
- players who want to become the house
- investors who want to fund the system rather than play the games themselves
Core protocol guarantees
Section titled “Core protocol guarantees”The current contract design aims to preserve a few simple truths:
- a factory cannot exist without stake
- pending challenge payouts are reserved up front
- a challenged factory can only be leveraged if the vault remains covered
- lenders are paid first when a leveraged factory is closed or liquidated
- factory yield is snapshot-based, so new yield config changes do not rewrite old factory economics
Current supported games
Section titled “Current supported games”Midgard currently launches with two games enabled by default:
- zKube
- Loot Survivor
Both implement Midgard’s embeddable game interface for minting sessions, reading scores, and checking whether a run is over.
The live contract now also has a runtime game registry, so additional compatible games can be enabled later without changing the core factory and challenge math.
Dive deeper
Section titled “Dive deeper”- Factories — how factories are created and managed
- Challenges — pricing, settlement, and accounting
- Yield Engine — how bonus rates work
- Vault — deposits, shares, and withdrawals
- Leverage — borrowing, tiers, and liquidation
- Settlement — how factories close