---
# System prepended metadata

title: Onchain game leveraging Mina Protocol

---

# Paima Game engine

Onchain game leveraging Mina Protocol

## Project Background


## Proposal Overview

- **Problem**: It's hard to build a commercial product using Mina if you can't tap into the EVM userbase
- **Solution**: Create a template on how one can use Mina and EVM together to build an application
- **Impact**: This infrastructure will be directly used for our gaming project at Paima Studios, but will also be publicly available for any other team to use.

## Architecture & Design

**Architecture:**
- General Paima Engine architecture: https://docs.paimastudios.com/
- Mina integration architecture: https://blog.paimastudios.com/paima-zk-layer

**Vision**
Our plan is to leverage this template to build commercial games leveraging Mina protocol.

**Existing work:**
- Mina funnel support in Paima Engine: https://docs.paimastudios.com/home/react-to-events/funnel-types/mina-funnel
- Mina wallet support in Paima Engine: https://docs.paimastudios.com/home/multichain-support/wallet-layer/introduction
- Example of commercial games we've built in the past: https://tarochi.paimastudios.com/

**Production timeline:**
- May: Mina template for basic Paima Engine integration
- June: Mina template that uses ZkProgram for local proof generation (needed for the game to scale by having the user run a lot of the proof generation on their machine)
- July: Mina template leveraging LambdaBridge Mina<>EVM bridge
- The template will be live and updated with new features every month
- We plan to leverage this in a future commercial game (release date TBD)

## Budget & milestones

**Deliverables**
- A Paima Engine template that is updated into 3 parts. One for basic Mina support, another for ZkProgram support, and another for LambdaClass bridge support.

**Mid-point milestone:**
- A template with Mina support anybody can run, with partial implementation for the ZkProgram milestone

**Project timeline**: 3 months

**Budget**: 25k MINA

**Budget breakdown**: 8333 MINA/month on
- 1 senior developer for the core implementation of the template
- 2 senior developer part-time for as-needed support (Paima Engine feature requests, o1js support)
- 1 project manager to review code and ensure milestones are properly met

**Wallet Address:** B62qmsMCXDA9bbubwrZDnwUabeXV9MoaWLXyVaAP78Cr7mQxBCNimvs

# Team Info

**Proposer Github:**
https://github.com/SebastienGllmt

**Proposer experience:**
- Co-founded Zeko (zk rollup for Mina)
- Co-founded Paima Studios which has built multiple games live to mainnet including our game Tarochi with 100+ ETH in volume

**Team members:**
- Core developer for the project: https://github.com/SpaceManiac
- Paima Engine feautre support: https://github.com/ecioppettini
- o1js support: https://github.com/L-as
- Project Manager: https://github.com/SebastienGllmt

**Achievements:**
- Build Tarochi, a decentralized RPG game deployed to Arbitrum+Cardano which has 100+ ETH in lifetime volume
- Built Paima Engine, one of the largest sovereign rollups in crypto
- Build a lot of core infrastructure for Cardano including its most popular [Rust SDK](https://github.com/dcSpark/cardano-multiplatform-lib)

# Risks & Mitigations

- There are few dependencies for this project. The only main dependency is the LambdaClass bridge, but this bridge is already integrated with the Sepolia testnet, so we believe this project is far enough along that risk is minimal
- The main risk we forsee is that even with ZkProgram usage, performance may still be too slow to build a game. We have many options to speed it up including leveraging Zeko which has faster block times and can be used to create L3 with less restrictions than the Mina L1 (ex: more account updates), so we think we can surpass these risks