All projects

Simon Stakes World MiniApp

A World Mini App built on Chainlink's CRE (Chainlink Runtime Environment) that turns the classic Simon memory game into a stake-to-earn experience. Players' cross-chain portfolio values, verified by the Chainlink Decentralized Oracle Network, determine a score multiplier, rewarding on-chain participation with higher game scores among other cross-chain features

Privacy Prediction Markets World

What it is

What is it? Simon Stakes is a high-stakes, cross-chain evolution of the classic Simon memory game, built as a World Mini App. It leverages the Chainlink Runtime Environment (CRE) to bridge a user's real-world on-chain reputation with their gaming experience. Unlike traditional games that exist in a vacuum, Simon Stakes "reads" your entire crypto portfolio across multiple blockchains to grant you competitive advantages.
How it works?

  1. Identity & Wallet: Players log in using World ID (via MiniKit SDK) to prove they are unique humans.
  2. Cross-Chain Verification: Upon login, a Chainlink CRE workflow is triggered. It scans four different networks (Ethereum Sepolia, Base Sepolia, Arbitrum Sepolia, and Polygon Amoy) to verify the user's asset balances.
  3. Reputation-Based Multiplier: The workflow uses Chainlink Data Feeds and external APIs to calculate the real-time USD value of the user’s portfolio. Based on this value, players are assigned a Score Multiplier (up to 3.0x for "Gold" tier holders).
  4. On-Chain Settlement: When the game ends, the CRE workflow generates a DON-signed attestation bundling the player’s score and portfolio data. This is written to a smart contract on Sepolia via the Keystone Forwarder, creating an immutable, verifiable leaderboard.
    What problem does it solve?
  • Siloed Ecosystems: Most Mini Apps are restricted to a single chain (like World Chain). Simon Stakes proves that a Mini App can access and verify data from any chain without the user moving funds or paying gas for the check.
  • Botting & Fair Play: By combining World ID (Proof of Personhood) with Chainlink-verified on-chain "skin in the game," the project creates a leaderboard that is resistant to bots and Sybil attacks.
  • Trustless Gaming: It replaces centralized game servers with a Decentralized Oracle Network (DON), ensuring that score multipliers and game results are cryptographically proven rather than just "claimed" by a database.

How it Works

The project uses a cutting-edge Dual-Mode Architecture:

  • Frontend: React 18, TypeScript, and Tailwind CSS. It integrates the World MiniKit SDK for authentication and World ID verification.
  • Chainlink CRE Workflow (The Core): A TypeScript-based workflow compiled to WASM that utilizes all 5 CRE capabilities:
    a. HTTP Trigger: Starts the process from the Mini App.
    b. EVM Read: Uses EVMClient to fetch Chainlink Data Feeds and cross-chain balances.
    c. HTTP Client: Implements a multi-source price cascade (CryptoCompare/CoinGecko) for tokens without native feeds.
    d. Compute: Performs BFT-consensus-backed medianization of prices and multiplier logic.
    e. EVM Write: Issues DON-signed reports to a Sepolia attestation contract.
  • Infrastructure:
    • Simulation Server: A custom Bun/TypeScript bridge that wraps the CRE CLI for rapid local development.
    • Request Coalescing & Caching Layer: A custom optimization that deduplicates identical wallet requests to preserve API rate limits and execution speed.
    • Keystone Forwarder: Used for asynchronous on-chain settlement.

Links

Created by

  • Andres Felipe Gutierrez Fernandez