pepasur
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 ðž
An on-chain Mafia game powered by U2U, ENS, and Filecoin
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.
ð Features
On-chain Mafia Gameplay: fair play with staking + commit-reveal actions
ENS Subnames: automatic identity like
player.prepasur.ethfor every userNFT 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
ð ïž Tech Stack
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
ð Contracts
PepAsur.solâ core game contract (roles, staking, commit-reveal)U2UToken.solâ in-game ERC20-style tokenSimpleU2UFaucet.solâ faucet for testnet tokensMarketplace.solâ NFT trading contract (in progress)
Deployed on U2U Testnet
PepAsurGameâ 0x1fbA70E7A768448EC1Bf34DC53558b47De7b872cU2UTokenâ0xabcd5678...Faucetâ0x9876efgh...
You can set your environment variable as:
U2U_PEPASUR_CONTRACT_ADDRESS=0x1fbA70E7A768448EC1Bf34DC53558b47De7b872c
ð ENS Integration
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.)
ðïž Filecoin Integration
Assets stored with Synapse SDK on Filecoin
Example CID:
ipfs://bafy...â points to avatar & NFT metadataGuarantees permanence, integrity, and tamper resistance
ð® Demo
Live app: prepasur.vercel.app
Video demo: YouTube / Loom link
Screenshots: located in
/demo/
â¡ Quickstart
Prerequisites
Node.js v18+
U2U wallet (connected to U2U Mainnet)
ENS testnet domain (
prepasur.eth)
Install & Run
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
ð§© Hackathon Progress
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.