Challenge

Mogaland is a gamified financial education platform — users stake $MOGA tokens to access courses, earn yield while learning, and collect verifiable credentials. The team had serious pedigree: founder Matthias Kröner previously founded Fidor Bank (one of Europe's first digital banks), and CTO Dom Derrien was the technology lead on Ubisoft's Far Cry franchise (70M+ users).

They had tokenomics designed and deep fintech/gaming expertise. What they didn't have was blockchain implementation experience. They brought me in to translate their token design into production-ready smart contracts and advise on Web3 architecture for their Unity-based game client.

Solution

Smart Contract Suite: I designed and implemented three contracts for the OpenCampus EDU chain (EVM-compatible):

  • MogaToken — ERC20 with 1 billion max supply and delayed TGE. Admin controls exactly when and how tokens enter circulation, critical for phased launches.
  • MogaVesting — Flexible vesting schedules supporting both revocable and non-revocable grants. Team allocations, investor lockups, scholarship distributions — each with different release curves.
  • MogaStaking — Fixed and flexible-term staking with compound interest, using the Synthetix-style time-weighted accumulator pattern.

Operational Infrastructure: Beyond contracts, I wrote 13 deployment and management scripts for the full token lifecycle: TGE triggers, vesting schedule creation, staking offer management, bulk operations. The team needed to operate this infrastructure long-term without deep Solidity knowledge.

Advisory & Documentation: Since the team was new to Web3, a significant part of the engagement was knowledge transfer: best practices for interacting with contracts from Unity, architecture guidance for connecting Web2 gameplay with Web3 elements, and comprehensive documentation for their admin dashboard.

What Made This Hard

Banking UX on a Blockchain: Matthias came from Fidor Bank. His reference point wasn't DeFi dashboards — it was real-time banking apps. Users should see instant feedback on balances and projected returns. "At 10% APY with your current stake, you'll have X tokens in 6 months" — updating dynamically as rates change, without gas fees or claim transactions.

The problem: typical staking contracts require state-changing transactions to "realize" rewards. Blockchain doesn't do speculative math for free.

The solution was architecting all reward computation as gasless read-only functions. The time-weighted accumulator maintains a global index; querying current or projected rewards just runs the compound interest math on-demand. The frontend can poll the contracts like a REST API — past rewards, current balance, future projections at any time horizon. The blockchain provides transparency; the UX feels like a banking app.

Translating Tokenomics to Code: Tokenomics documents describe intent. Smart contracts require precision. Edge cases that look fine on a spreadsheet become exploits on-chain. A meaningful part of my work was reviewing their design, identifying ambiguities, and making implementation decisions that preserved their goals while being secure and gas-efficient.

Results

  • Status: Live on OpenCampus EDU chain (launched July 2025)
  • Token: $MOGA trading on Sailfish DEX
  • Infrastructure: Staking/vesting powers Mogaland Academy enrollment
  • Contracts: Open-source, verified on-chain (MIT license)
  • Tech stack: Solidity, Hardhat, OpenZeppelin, JavaScript

The infrastructure I built in 2023–2024 is now the foundation of their live product. Users stake tokens to unlock courses, earn yield while learning, and interact with a system designed to feel like banking — not DeFi.

Founder: Matthias Kröner (Fidor Bank) | CEO: Tracy Chang (CPO, Fidor Bank) | CTO: Dom Derrien (Ubisoft Far Cry)