How Card Sharkie reads on-chain game data 🧵
Wagmi's useReadContract hooks pull directly from Base Sepolia:
• getOpenGames() → lobby
• getGame(id) → game state
• getPlayerStats(addr) → win/loss
No backend. Just your wallet talking to the blockchain.
#BuildOnBase#Web3
Just deployed my first smart contract on @base — CardSharkieEscrow, a trustless
P2P escrow for skill-based card games. 52 tests passing, verified on Basescan.
https://t.co/Z9KKtYkiMr
#BuildOnBase