Lucky Races
Docs

Smart Contracts Docs

Lucky Races has verified Ethereum mainnet contracts ready for the upcoming public launch and a hosted beta environment for current play. The protocol is split across a Diamond proxy, a game-loop contract, and an update-queue contract. All race state — positions, items, results — lives on-chain.

Smart Contracts

Lucky Races has verified Ethereum mainnet contracts ready for the upcoming public launch and a hosted beta environment for current play. The protocol is split across a Diamond proxy, a game-loop contract, and an update-queue contract. All race state — positions, items, results — lives on-chain.

Diamond (Race Contract) ← All race reads & writes go here

├── RegistrationFacet ← registerRace, joinLobby, startRace

├── PlayerActionsFacet ← submitTurnChoices

├── RaceViewFacet ← getCurrentPositions, getResults, getPhase, ...

└── (other facets — diamond cuts may add more over time)