An on-chain game where the contract holds a private, incrementing number. Each time a player plays, the number is incremented and returned to them. If the number ends in a zero, the player earns a reward in ZEN tokens. The more trailing zeros the number has, the greater the reward.
Create an .env file in the root of the application directory
touch .envAdd the following env vars....
USER_KEY=<TEN TOKEN FROM ASSIGNED RPC>
PRIVATE_KEY=<WALLET_PRIVATE_KEY>
NEXT_PUBLIC_CONTRACT_ADDRESS=CONTRACT ADDRESS>
NEXT_PUBLIC_ZEN_CONTRACT_ADDRESS=<ZEN CONTRACT ADDRESS>
NEXT_PUBLIC_ZEN_API=https://faucet.ten.xyz
NEXT_PUBLIC_SITE_URL=http://localhost:3000
npm ci
npm run dev
