WalCup 26Walrus Sessions 4

How WalCup 26 Works

A World Cup 2026 prediction arena where every pick is stored permanently on Walrus, and an AI agent remembers everything across sessions.

What is WalCup 26?

WalCup 26 is a World Cup prediction game built on the Sui blockchain and powered by Walrus Memory (MemWal) β€” a decentralized blob storage protocol with semantic search, giving the AI agent genuine cross-session memory.

Built for the Walrus Sessions 4 hackathon, it demonstrates a real use case for persistent on-chain memory: an agent that knows your history, detects your prediction biases, and roasts you for them β€” across every session, forever.

48

Teams

∞

Walrus Blobs

1

Agent that never forgets

Making Predictions

1

Connect Wallet

Connect your Sui wallet. Your address becomes your unique on-chain identity β€” no sign-up needed.

2

Pick & Sign

Choose a match, pick the winner, predict the score, and sign with your wallet. Your wallet proves ownership of every prediction.

3

Stored on Walrus

The prediction is stored as a memory blob on the Walrus network. You get a blob ID you can verify live on WalrusScan.

🦭 Walrus Memory β€” How It Works

MemWal SDK wraps the Walrus blob storage protocol with a namespace-based memory layer. Each wallet gets a dedicated namespace: wc2026-sui-[wallet]. Predictions are written as natural-language memory texts, stored as encrypted blobs, and indexed with vector embeddings for semantic search.

// Prediction storage flow

1. User signs prediction with Sui wallet

2. API formats it as natural language memory

3. memwal.rememberAndWait(text) β†’ blob stored on Walrus

4. Returns blob_id β€” verifiable on WalrusScan

5. blob_id saved to user record in Convex DB

πŸ”’

Wallet-scoped

Each namespace is tied to a Sui wallet address. Only predictions from your wallet live in your namespace.

🌐

Decentralized blobs

Data lives on the Walrus network of storage nodes β€” no single server controls your memories.

♾️

Cross-session

Memories persist across browser sessions, devices, and app redeployments. The agent remembers Day 1.

πŸ”

Semantic recall

Vector-indexed blobs. The agent queries "Brazil predictions" and finds all relevant memory across all sessions.

Every blob is publicly verifiable: walruscan.com/blob/[blob_id] β†— β€” paste any blob ID from your dashboard to inspect the raw on-chain memory.

πŸŽ™οΈ The Commentator β€” AI Agent

Powered by Groq Llama 3.3-70b via the Vercel AI SDK. Before every response, the agent queries your Walrus namespace for semantically relevant memories β€” past predictions, stated opinions, detected biases β€” and injects them into the system context.

// Agent memory retrieval flow

1. User sends message to /api/agent

2. memwal.recall(query, limit=15) β†’ top blob matches

3. Blob texts injected into Groq system prompt

4. Llama 3.3-70b generates response with full context

5. Agent detects biases, tracks accuracy, roasts freely

Without a Sui wallet, the agent uses in-app predictions only β€” no persistent Walrus memory. Connect a wallet to unlock full cross-session recall.

πŸ† Points System

Correct winner β€” Group Stage3 pts
Exact score prediction bonus+2 pts
Correct winner β€” Round of 324 pts
Correct winner β€” Round of 165 pts
Correct winner β€” Quarter Finals6 pts
Correct winner β€” Semi Finals7 pts
Correct winner β€” Final8 pts
Tournament Champion10 pts

βš™οΈ Tech Stack

Frontend:Next.js 15 + React 19 + Tailwind CSS
Blockchain:Sui Mainnet Β· @mysten/dapp-kit
On-chain memory:Walrus Memory (MemWal SDK v0.0.7)
Database:Convex (persistent) + Vercel /tmp (fallback)
AI Agent:Groq Llama 3.3-70b-versatile Β· Vercel AI SDK
Deployment:Vercel Β· walcup26.vercel.app

⚠️ About Match Data

Fixtures and results are based on the official World Cup 2026 schedule but are not auto-synced with live scores. Results are updated manually. For official standings visit fifa.com β†—.