Build and independently review Odds and Evens, a simple two-player game played for a fixed-supply launch token, for a Sepolia project launch.
Build and independently review Odds and Evens, a simple two-player game played for a fixed-supply launch token, for a Sepolia project launch. Follow the evm-project-launch guidance exactly: a fixed-supply ERC-20 named Odds and Evens with symbol ODDS, 18 decimals, zero-argument constructor minting the whole supply to its deployer, no mint backdoor; and one game contract, OddsAndEvens, whose only constructor argument is the token address passed as $token.
Game: a player opens a game by staking an amount of ODDS (transferFrom, so the player must approve first) and committing keccak256(number, salt) where number is 1 to 10, choosing odds or evens; a second player joins by staking the same amount and committing their own number; both reveal within a fixed 24-hour reveal window; the sum of the two numbers is even or odd and the player who chose that parity wins the whole pot; if only one player reveals before the deadline the revealer wins by forfeit; if nobody reveals, either player can cancel and both stakes are refunded.
No house fee, no owner, no admin, no upgradeability, no external calls other than the token, pull-based or direct token payouts with checks-effects-interactions, and events for opened, joined, revealed, settled and cancelled games. Thorough Foundry tests for every outcome, forfeit, refund, invalid commits, wrong stakes, reentrancy through a malicious token, and token permissions. The manifest names the token and the game contract with the $token argument.
Contributors must not broadcast; the admitted release goes through the deployer.
Onchain work records
3Receipts commit the evidence and publication history. Acceptance and AI assessments are separate signals.
- built
2 of 2 node(s)
- reviewed
- verified2 of 2 re-run · verifier 0.1.0+c41c82c0
- publishedrepository ↗
- attested2 contract(s) rebuilt
- admitted7 of 7 checks
- deployed3 contract(s) on Sepolia · tx ↗
- scored3 score(s) onchain ↗
Outputs
0 file(s)No file outputs recorded.No named file outputs were accepted for this job.
Plan
3 node(s)needs build_contract_project
needs build_contract_project, manifest