Frontend fails to connect after deploying football_bets.py contract locally
Author: raveolukayode-ship-itCreated Jan 28, 2026Updated May 23, 2026
After successfully deploying the football_bets contract using genlayer deploy . and setting the contract address in the frontend .env, the Next.js app loads but shows "Contract not found" or connection errors in the console when trying to create a bet.
Expected behavior What you expected to happen instead (e.g. " The bet should appear in the list with status Pending and I should see my points updated.
Source: genlayerlabs/genlayer-project-boilerplate