PFP Pixel War is a collaborative game where the players use NFTs they own on L1 Ethereum mainnet to use them in L2 via Storage proofs and MUD. It's inspired from r/place by Reddit
PFP War is a collaborative experience in which participants place their NFT on pixel (or βtileβ) on an online canvas of 2500 (50 x 50) pixel squares, and wait a certain amount of time before placing another.
Technical motivations
What have we done ?
More details on our project README : https://github.com/cometh-game/pixel-war/blob/master/README.md
We made an autonomous world using MUD and Storage Proof verifier on OP-stack.
About the Ethereum Merkle Patricia Trie proof verifier:
The Ethereum state is a data structure (a modified Merkle Patricia Trie) which keeps all accounts (nonce, balance, codeHash, storageRoot) linked by hashes and reducible to a single root hash stored on the blockchain.
About PFP War that use the MPT verifier and MUD framework
We developed our project entirely with MUD / React. We have deployed our contracts with the MUD system and interacted with the hooks provided.
About Optimism and Storage proof
The full feedback about our experiment is available here https://medium.com/@vincentlg/pfp-war-project-use-the-l1-state-on-optimism-l2-with-storage-proof-fc0124db7caf