A primer for Open Game Protocol (V1)

Welcome to the official documentation for OG Protocol. This guide is your comprehensive resource for understanding how the protocol works, how to get involved, and how to build with it.


🧭 Introduction

What is OG Protocol?

OG Protocol powers a decentralized ecosystem where meme tokens, games, and communities intersect. It provides the infrastructure for:

  • Launching g-tokens linked to meme narratives and games

  • Rewarding game developers and players

  • Bootstrapping and migrating liquidity through DLMM pools

Key Features

  • Token Launchpad: Mint g-tokens on a bonding curve

  • Game Integration: Reward players with g-tokens

  • Governance: Community-driven allocation of rewards

  • Liquidity Lifecycle: Launch, graduate, and migrate to DLMM pools


🚀 Getting Started

For Game Developers

  1. Connect your wallet.

  2. Submit metadata and gameplay URL.

  3. Link g-tokens to your game to reward players.

  4. Your game will be automatically moderated for offensive content post-publishing by AI; flagged games are manually reviewed.

For Players

  1. Browse games and play to earn g-tokens.

  2. Stake your g-tokens to vote for your favorite games.


🔁 Token Mechanics

g-Tokens

  • Creation: Via bonding curve on the launchpad

  • Utility: Game rewards, staking to influence rewards distribution

  • Graduation Requirements:

    1. $120,000 market cap for liquidity

    2. 10 games created AND voted on

    3. 10,000 monthly active users across games

If only liquidity is met but not the other criteria, tokens can only be sold at the top of the curve until requirements are fulfilled.


🏗️ Protocol Architecture

Launchpad Mechanics

  • Tokens are minted and sold via a bonding curve.

  • Graduation upon meeting liquidity, game creation, and user activity milestones.

  • Post-graduation, token allocations:

    • Bonding curve holders

    • Liquidity pools

    • Game developers and players

Staking System

  • Stake g-tokens to vote for games and drive reward allocation.

  • 7-day unstaking period

Reward Distribution Mechanics

Pre-Graduation Game Rewards

Inputs:

  • votes[game_id]

  • unique_users[game_id]

  • total_vote_sum = sum of all votes

  • total_users = total number of unique users

  • w_vote = 0.8, w_traffic = 0.2

  • total_reward_pool

Formulas:

vote_share = votes[game_id] / total_vote_sum
traffic_share = unique_users[game_id] / total_users
reward_share = (w_vote * vote_share) + (w_traffic * traffic_share)
rewards[game_id] = reward_share * total_reward_pool

Pre-Graduation Player Rewards

Inputs:

  • rewards[game_id]

  • player_scores[game_id][player_id]

Distribute rewards:

for game_id in rewards:
    total_score = sum(player_scores[game_id].values())
    if total_score == 0:
        continue
    for player_id, score in player_scores[game_id].items():
        player_share = score / total_score
        player_reward = rewards[game_id] * player_share
        player_rewards[player_id] += player_reward

Post-Graduation Daily Rewards

  • Sourced from:

    • Reward pool allotment

    • Trading fees

  • Distributed as:

    • 50% to game creators

    • 40% to voters (weighted by staked g-tokens)

    • 10% to players

EMA (Exponential Moving Average) Smoothing for User Activity

Inputs:

  • users_today[game_id]

  • previous_ema[game_id]

  • alpha = 0.2

Formula:

if previous_ema does not exist:
    ema_today[game_id] = users_today[game_id]
else:
    ema_today[game_id] = alpha * users_today[game_id] + (1 - alpha) * previous_ema[game_id]

🧩 Integration Guides

Visit the Pre-release Onboarding App and create an account. You'll receive your Public API Key and Secret to start making requests.

For a more detailed onboarding go to

OGP Onboarding Guide

🛡️ Security & Best Practices

Code Transparency

  • All contracts will be open-sourced post-launch.

  • Regular audits scheduled.

Security

  • Moderation AI for content offense detection.


🗂️ Appendices

Glossary

  • g-token: Game/meme-linked token launched via bonding curve.

  • DLMM: Dynamic Liquidity Market Maker.

  • Bonding Curve: Dynamic pricing mechanism for token supply.

Contract Addresses

  • [Coming Soon]

Event Dictionary

  • Events will cover:

    • Staking actions

    • Token swaps

    • Reward distributions

FAQs

  • Do I need crypto knowledge to submit a game? No.

  • Can I earn rewards as a non-dev? Yes, by playing and staking.

  • Is there exclusivity? No. You retain full rights over your games.


For more in-depth guides and tutorials, check back often. OG Protocol is always evolving.

Last updated