Automatiseer Je On-Chain Game Loops
Games for Pennies
Alles Wat Je Nodig Hebt voor On-Chain Automatisering
Een compleet protocol voor gedecentraliseerde, rechtengebaseerde en kostenefficiënte smart contract automatisering.
Gedecentraliseerde Loop-Uitvoering
Off-chain workers detecteren automatisch wanneer je contract klaar is en voeren game loops uit. Geen gecentraliseerde servers, geen enkel storingspunt.
Ingebouwde Verifieerbare Willekeur
Native ECVRF bewijsgeneratie en on-chain verificatie. Aantoonbaar eerlijke willekeur bij elke tick voor dobbelworpen, buitdrops en meer — zonder externe orakels.
Hybrid VRF — Willekeur Wanneer Je Het Nodig Hebt
Standaardkosten-ticks met VRF alleen wanneer je contract erom vraagt. Jouw game bepaalt wanneer willekeur ertoe doet — buitdrops, kritieke treffers, spawns — en betaalt VRF-gas alleen bij die ticks. ~$0.009/tick gemiddeld bij 10% VRF.
Betaal-per-Uitvoering Model
Betaal alleen wanneer loops daadwerkelijk draaien. Gasvergoeding plus een kleine basisvergoeding verdeeld tussen protocol en controllers. Transparant en voorspelbaar.
Ontwikkelaarsvriendelijk
Eenvoudige functies, directe hooks. Voorbeeldcontracten inbegrepen.
Klaar voor Meerdere Netwerken
Deploy op Ethereum mainnet, Sepolia testnet of lokale Anvil voor ontwikkeling. Configureerbaar per netwerk met automatische deployment-tooling.
Rechtengebaseerd en Veilig
Rolgebaseerde toegangscontrole zorgt ervoor dat alleen geregistreerde controllers loops kunnen activeren. On-chain VRF verificatie voorkomt manipulatie.
Every Loop Here Fails the Self-Trigger Test
Games, agents, DeFi, AI — each for a different structural reason. Not design choices. Proofs.
Inverted self-interest
Every VRF tick picks a random floor and damages it. No floor owner will ever trigger the loop — it might hit their own asset. A neutral keeper is the only viable operator.
Nobody should hold the trigger
A dead man's switch that transfers your vault to a beneficiary if you miss a check-in window. The whole point is that no human should control when it fires.
Front-running attack surface
VRF selects winners from a registered pool on schedule. If player-controlled, the trigger holder knows who wins before calling. AutoLoop fires first, asks questions never.
Timing as attack surface
The high bidder wants the auction closed now. Counter-bidders want an extension. No player-controlled trigger is fair — proving the problem extends far beyond randomness.
4-way coordination failure
Third hop in KaijuLeague → KaijuOracle → ForecasterLeaderboard. Adversarial timing, cross-contract dependency, free-rider gas, prize-pool timing attack — no single player resolves all four.
Neutral on-chain schedule
An LLM agent that runs off-chain and acts on-chain every N blocks. The agent itself shouldn't decide when it fires — its operator, users, and rivals all have conflicting interests.
Operationeel in 4 Stappen
Van contract naar geautomatiseerde game loop in minuten, niet maanden.
Overerven
Breid een van drie basiscontracten uit:
- •AutoLoopCompatible — pure automatisering
- •AutoLoopHybridVRFCompatible — selectieve willekeur (buit, crits, spawns)
- •AutoLoopVRFCompatible — willekeur bij elke tick
Implementeren
Voeg shouldProgressLoop() toe om gereedheid te signaleren en progressLoop() om je gamelogica uit te voeren.
Registreren en Financieren
Registreer je contract on-chain en stort ETH om gas en vergoedingen te dekken.
Laat Het Draaien
Workers detecteren en voeren automatisch je loops uit. Leun achterover en kijk hoe je game tot leven komt.
Games voor Centen
Drie niveaus van on-chain automatisering — van pure uitvoering tot Full VRF bij elke tick. Dit is wat elk niveau kost bij huidige gasprijzen.
Vergoedingsoverzicht
Eenvoudig door Ontwerp
Integreer Autoloop met slechts twee functies. Hier is een compleet werkend contract.
1// SPDX-License-Identifier: MIT2pragma solidity ^0.8.13;34// Import the base contract that makes any5// contract compatible with AutoLoop workers6import {AutoLoopCompatible} from7 "autoloop/AutoLoopCompatible.sol";89// A simple demo: number goes up every interval10contract NumberGoUp is AutoLoopCompatible {11 uint256 public number;12 uint256 public interval;13 uint256 public lastTimeStamp;14 uint256 private _loopID;1516 constructor(uint256 _interval) {17 interval = _interval;18 lastTimeStamp = block.timestamp;19 }2021 // Workers call this every block to check22 // if the contract is ready for an update23 function shouldProgressLoop()24 external view override25 returns (26 bool loopIsReady,27 bytes memory progressWithData28 )29 {30 // Ready when enough time has passed31 loopIsReady =32 (block.timestamp - lastTimeStamp) > interval;33 // Pass loop ID to prevent duplicate runs34 progressWithData = abi.encode(_loopID);35 }3637 // Called by AutoLoop when shouldProgressLoop38 // returns true — this is your update logic39 function progressLoop(40 bytes calldata progressWithData41 ) external override {42 uint256 loopID =43 abi.decode(progressWithData, (uint256));44 // Guard against stale or replayed calls45 require(loopID == _loopID, "stale loop");46 lastTimeStamp = block.timestamp;47 ++number;48 ++_loopID;49 }50}Bekijk Hoe We Ons Verhouden tot Chainlink
Drie automatiseringsmodi — Standard, Hybrid VRF en Full VRF — allemaal in één protocol. Geen aparte abonnementen. Goedkoper dan Chainlink in elk niveau.