Automatiza tus Bucles de Juego On-Chain
Games for Pennies
Todo lo que Necesitas para Automatizacion On-Chain
Un protocolo completo para automatizacion de contratos inteligentes descentralizada, con permisos y eficiente en costos.
Ejecucion de Bucles Descentralizada
Los workers off-chain detectan automaticamente cuando tu contrato esta listo y ejecutan los bucles del juego. Sin servidores centralizados, sin puntos unicos de fallo.
Aleatoriedad Verificable Integrada
Generacion nativa de pruebas ECVRF y verificacion on-chain. Aleatoriedad demostrablemente justa en cada tick para dados, botines y mas — sin oraculos externos.
Hybrid VRF — Aleatoriedad Cuando la Necesitas
Ticks a costo estandar con VRF solo cuando tu contrato lo solicita. Tu juego decide cuando importa la aleatoriedad — botines, golpes criticos, apariciones — y paga gas de VRF solo en esos ticks. ~$0.009/tick combinado al 10% VRF.
Modelo de Pago por Ejecucion
Paga solo cuando los bucles realmente se ejecutan. Reembolso de gas mas una pequena tarifa base dividida entre el protocolo y los controladores.
Amigable para Desarrolladores
Funciones simples, hooks directos. Contratos de ejemplo incluidos.
Listo para Multiples Redes
Despliega en Ethereum mainnet, testnet Sepolia o Anvil local para desarrollo. Configurable por red con herramientas de despliegue automatico.
Con Permisos y Seguro
El control de acceso basado en roles asegura que solo los controladores registrados puedan activar los bucles. La verificacion VRF on-chain previene la manipulacion.
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.
Funcionando en 4 Pasos
De contrato a bucle de juego automatizado en minutos, no meses.
Heredar
Extiende uno de tres contratos base:
- •AutoLoopCompatible — automatizacion pura
- •AutoLoopHybridVRFCompatible — aleatoriedad selectiva (botines, criticos, apariciones)
- •AutoLoopVRFCompatible — aleatoriedad en cada tick
Implementar
Agrega shouldProgressLoop() para senalar disponibilidad y progressLoop() para ejecutar tu logica de juego.
Registrar y Fondear
Registra tu contrato on-chain y deposita ETH para cubrir gas y tarifas.
Dejalo Correr
Los workers detectan y ejecutan tus bucles automaticamente. Relajate y mira tu juego cobrar vida.
Juegos por Centavos
Tres niveles de automatizacion on-chain — desde ejecucion pura hasta Full VRF en cada tick. Esto es lo que cuesta cada uno a los precios actuales de gas.
Desglose de Tarifas
Simple por Diseno
Integra Autoloop con solo dos funciones. Aqui tienes un contrato completo funcionando.
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}Mira Como Nos Comparamos con Chainlink
Tres modos de automatizacion — Standard, Hybrid VRF y Full VRF — todo en un protocolo. Sin suscripciones separadas. Mas barato que Chainlink en cada nivel.