← Back to home

Cross-Chain Mon

This is a Pokemon game spanned across multiple EVM chains. Players have to bridge across chains via Autonomous World contracts to collect all pokemon (Cross-Chain-Mons)

Screenshots

Cross-Chain Mon screenshot 1
Cross-Chain Mon screenshot 2
Cross-Chain Mon screenshot 3
Cross-Chain Mon screenshot 4
Cross-Chain Mon screenshot 5

Problem Statement

This project is an attempt at a fully on-chain, multi-chain, pokemon collection game. Each player is represented as an NFT, and resides in their "chain-of-birth". They start catching Pokemon (Cross-Chain-Mons) and hope to populate the whole of their pokedex. However, this can only be achieved if they bridge their Player-representation-NFT to other chains to explore new worlds which encourages multi-chain usage, thus also promoting inter-chain gaming activity.

Solution

The main code for this game is based on Mud.dev's fully-on-chain gaming library stack. The onboarding experience of wallet connection is first brought through using Dynamic's email/social sign in options. And the gaming(move transaction) experiences is facilitated by their session keys usage. Dynamic's serviced wallet thus also serve as a Gaming-Burner wallet of sorts to ensure a thorough secure state of funds stored. In game NPCs are brought to life by ChatGPT's model with the help of Phala Network's redpill typescript code and validated GPT models, thereby allowing NPCS to have colourful character in game. The bridging of player-representing NFT, is achieved with the help of Chainlink's CCIP messaging and bridging. Allowing us to have the concept of "cross-chain portals". With this project, we deployed Mud.dev's autnomous world contracts into Morph's Holesky testnet, Rootstock Testnet, Flow's EVM testnet.

Hackathon

ETHGlobal Singapore

2024

Contributors