Prepasur 🐸 An on-chain Mafia game powered by Flow, ENS, and Filecoin Prepasur is a multiplayer Mafia-style social deduction game reimagined for Web3. Players take on mythological roles, Asur (Mafia)
Prepasur is a multiplayer Mafia-style social deduction game reimagined for Web3.
Players take on mythological roles — Asur (Mafia), Dev (Doctor), Manav (Villager), and Rishi (Detective) — and compete through staking, commit-reveal mechanics, and sabotage.
Each player gets an ENS subname (e.g., alice.prepasur.eth
) that links their Ethereum and U2U addresses and stores profile metadata. Pixel-art avatars, NFTs, and other assets are stored on Filecoin using the Synapse SDK, ensuring permanence and verifiability. Game logic, staking, and payouts run on the U2U Mainnet, chosen for its scalability, security, and ultra-low fees.
On-chain Mafia Gameplay: fair play with staking + commit-reveal actions
ENS Subnames: automatic identity like player.prepasur.eth
for every user
NFT Marketplace: trade in-game avatars and collectibles on U2U
Filecoin Storage: assets and metadata stored permanently via Synapse SDK
Cross-chain UX: U2U contracts + ENS identity + Filecoin permanence
Blockchain: U2U Mainnet
Identity: ENS Subnames (prepasur.eth
)
Storage: Filecoin Synapse SDK
Smart Contracts: Solidity + Hardhat
Backend: Node.js + Express
Frontend: Next.js with wagmi/viem for ENS + U2U SDK
Game Logic: Commit-reveal cryptography
PepAsur.sol
→ core game contract (roles, staking, commit-reveal)
U2UToken.sol
→ in-game ERC20-style token
SimpleU2UFaucet.sol
→ faucet for testnet tokens
Marketplace.sol
→ NFT trading contract (in progress)
Deployed on U2U Testnet
PepAsurGame
→ 0x1fbA70E7A768448EC1Bf34DC53558b47De7b872c
U2UToken
→ 0xabcd5678...
Faucet
→ 0x9876efgh...
You can set your environment variable as:
U2U_PEPASUR_CONTRACT_ADDRESS=0x1fbA70E7A768448EC1Bf34DC53558b47De7b872c
Parent domain: prepasur.eth
(Sepolia testnet)
Subnames: auto-assigned when users join (e.g., rishi.prepasur.eth
)
ENS Text Records: store player metadata (avatar, role, etc.)
Assets stored with Synapse SDK on Filecoin
Example CID: ipfs://bafy...
→ points to avatar & NFT metadata
Guarantees permanence, integrity, and tamper resistance
Live app: prepasur.vercel.app
Video demo: YouTube / Loom link
Screenshots: located in /demo/
Node.js v18+
U2U wallet (connected to U2U Mainnet)
ENS testnet domain (prepasur.eth
)
git clone https://github.com/<your-org>/Pepasur-game.git
cd prepasur-game
# Install dependencies
npm install
# Compile contracts
npx hardhat compile
# Run backend
node server.js
# Deploy contracts to U2U Mainnet
npx hardhat run scripts/deploy.js --network u2u
Prepasur was born during a hackathon out of late-night brainstorming, endless testing, and a shared obsession with building something truly on-chain.
We started with a simple idea: what if Mafia could live on the blockchain? From that spark, we merged U2U smart contracts, ENS identities, and Filecoin permanence to craft a fully decentralized social deduction experience.
Our first milestone was deploying the PepAsur.sol contract on U2U Testnet, enabling commit-reveal gameplay and staking. Then came ENS subnames, giving every player a unique identity like player.prepasur.eth
. By mid-hackathon, our Filecoin integration brought avatars and NFTs to life, pixel by pixel, CID by CID.
From technical sprints to meme-filled marketing nights, we built Prepasur as more than a game — it’s a Web3 experiment in identity, trust, and deception.
Follow our journey on X @0xPepasur 🐸
Prepasur was born during a hackathon out of late-night brainstorming, endless testing, and a shared obsession with building something truly on-chain. We started with a simple idea: what if Mafia could live on the blockchain? From that spark, we merged U2U smart contracts, ENS identities, and Filecoin permanence to craft a fully decentralized social deduction experience. Our first milestone was deploying the PepAsur.sol contract on U2U Mainnet, enabling commit-reveal gameplay and staking. Then came ENS subnames, giving every player a unique identity like player.prepasur.eth. By mid-hackathon, our Filecoin integration brought avatars and NFTs to life, pixel by pixel, CID by CID. From technical sprints to meme-filled marketing nights, we built Prepasur as more than a game it’s a Web3 experiment in identity, trust, and deception. Follow our journey @0xPepasur 🐸
Prepasur is currently seeking funding and strategic partnerships to accelerate the development of our on-chain Mafia game. Our goal is to expand from a hackathon prototype into a fully playable, scalable, and community-driven Web3 gaming ecosystem built on U2U, ENS, and Filecoin. We’re raising funds to: Scale our smart contract infrastructure on U2U Mainnet Enhance game UI/UX and multiplayer performance Integrate marketplace and staking features Support marketing, community building, and cross-chain expansion If you’re an investor, ecosystem partner, or collaborator interested in supporting Prepasur, reach out to us we’d love to connect.