GamePayX — instant off-chain game payments with on-chain cross-chain settlement.
PayX is a cross-chain decentralized game store built with Avail Nexus SDK, enabling players to buy an item on one blockchain and use it across others. It leverages Avail’s Data Availability layer for proof-based ownership and Lighthouse IPFS for encrypted asset storage. Smart contracts handle item purchases, while the frontend (Next.js + Wagmi + Viem) offers seamless wallet connection, network switching, and in-game item access. Players gain a unified inventory verified across Sepolia and Base Sepolia through Nexus proofs.
Built using Hardhat 3, Solidity, Next.js 15, and Avail Nexus SDK, PayX connects smart contracts, proofs, and storage into one workflow. Purchases emit on-chain events → Nexus SDK generates cross-chain proofs → proofs are stored on Avail DA → other chains verify ownership. Lighthouse encrypts assets so only verified owners can decrypt them. The app uses Viem for blockchain calls, Wagmi v2 for wallet handling, and TailwindCSS for the UI. Avail Nexus SDK handles proof generation, submission, and verification, enabling true cross-chain game asset ownership.

