A cross-chain Game of Life powered by Circle's CCTP. Mine unique cellular patterns through proof-of-work simulation, bringing Ethereum games to Solana users and beyond.
Beyond Payments: Circle's CCTP isn't just a payment protocol - it's a powerful primitive for building any cross-chain application or game.
0xcell.mp4
- PoW → Cells: Hash your way to unique patterns
- Any Chain: Solana users playing on Ethereum? Yes.
- One Click: Send tx. Watch cells evolve. Done.
User (Any Chain) → CCTP Message → PoW Hash → Cell Pattern → Evolution
# Clone the repository
git clone https://github.com/yourusername/0xcell.git
cd 0xcell
# Install dependencies
pnpm install
# Set up environment variables
cp .env.example .env
# Add your Alchemy API key and WalletConnect project ID
# Run development server
pnpm dev
Visit http://localhost:3000
to start playing!
- Mining Phase: Click "Start Mining" to generate a unique hash through proof-of-work
- CCTP Transfer: Send 0.1 USDC from Ethereum Sepolia to Base Sepolia
- Approve USDC spending
- Burn USDC on source chain
- Wait for Circle attestation (~15 min)
- Mint USDC on destination chain
- Game Phase: Your hash generates unique patterns for both you and the bot
- Evolution: Watch 100 generations of cellular evolution
- Victory: Player with most living cells wins!
- Chain ID: 11155111
- USDC Contract:
0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238
- Token Messenger:
0x9f3B8679c73C2Fef8b59B4f3444d4e156fb70AA5
- Chain ID: 84532
- CCTP Hook Wrapper:
0x3e6d114f58980c7ff9D163F4757D4289cFbFd563
- RPC: https://sepolia.base.org
0xcell/
├── app/ # Next.js app directory
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ └── wagmi.ts # Wagmi configuration
├── circle/ # CCTP SDK integration
├── contracts/ # Smart contracts
└── public/ # Static assets
- Next.js + TypeScript
- CCTP Hooks
- Solidity + Rust
- Conway's Rules
Permissionless. Cross-chain. Beautiful chaos.