Skip to content

Protocol Overview

Midgard is built on one core idea: a game score can become a live market.

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

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

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
Factory creation Stake GARD, pick a game, mint the score-setting session.
Activation Submit the factory score and start the burn / inflation clock.
Challenges Players buy attempts. Losses burn GARD, wins mint payouts.
Leverage Vault liquidity can scale a factory’s stake and burn rate.

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

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

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.