Otomatiskan Loop Game On-Chain Anda

Tiga mode otomasi — Standard, Hybrid VRF, dan Full VRF — dengan keacakan terverifikasi bawaan. Tanpa oracle. Cukup deploy dan mainkan.

~60%
Cheaper than Chainlink
0
Token Swaps Needed
3 Modes
Standard · Hybrid · Full VRF

Games for Pennies

Standard
$0.0080
per tick · ~90k gas
Hybrid VRF
$0.0094
per tick · ~105k gas
Full VRF
$0.022
per tick · ~240k gas
Live on Ethereum
|Etherscan ↗
Mengapa Autoloop

Semua yang Anda Butuhkan untuk Otomasi On-Chain

Protokol lengkap untuk otomasi smart contract yang terdesentralisasi, berizin, dan hemat biaya.

Eksekusi Loop Terdesentralisasi

Worker off-chain secara otomatis mendeteksi kapan kontrak Anda siap dan mengeksekusi loop game. Tanpa server terpusat, tanpa titik kegagalan tunggal.

Keacakan Terverifikasi Bawaan

Pembuatan bukti ECVRF native dan verifikasi on-chain. Keacakan yang terbukti adil di setiap tick untuk lempar dadu, drop loot, dan lainnya — tanpa oracle eksternal.

Hybrid VRF — Keacakan Saat Anda Membutuhkannya

Tick berbiaya standar dengan VRF hanya saat kontrak Anda memintanya. Game Anda yang menentukan kapan keacakan penting — drop loot, critical hit, spawn — dan membayar gas VRF hanya pada tick tersebut. ~$0.009/tick campuran pada 10% VRF.

Model Bayar-saat-Eksekusi

Bayar hanya ketika loop benar-benar berjalan. Penggantian gas ditambah biaya dasar kecil yang dibagi antara protokol dan controller. Transparan dan dapat diprediksi.

Ramah Pengembang

Fungsi sederhana, hook langsung. Kontrak contoh disertakan.

Siap Multi-Jaringan

Deploy di Ethereum mainnet, testnet Sepolia, atau Anvil lokal untuk pengembangan. Dapat dikonfigurasi per-jaringan dengan alat deployment otomatis.

Berizin & Aman

Kontrol akses berbasis peran memastikan hanya controller terdaftar yang dapat memicu loop. Verifikasi VRF on-chain mencegah manipulasi.

19 Demo Contracts

Every Loop Here Fails the Self-Trigger Test

Games, agents, DeFi, AI — each for a different structural reason. Not design choices. Proofs.

🏗️
CrumbleCoreVRFGame

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.

🔒
Vault Dead SwitchNo VRFAgent

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.

🎟️
Airdrop DistributorVRFAgent

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.

🔨
SponsorAuctionNo VRFGame

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.

🏆
ForecasterLeaderboard3-contract chainGame

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.

🤖
AI Agent LoopNo VRFAgent

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.

Integrasi

Berjalan dalam 4 Langkah

Dari kontrak ke loop game otomatis dalam hitungan menit, bukan bulan.

01

Warisi

Perluas salah satu dari tiga kontrak dasar:

  • AutoLoopCompatible — otomasi murni
  • AutoLoopHybridVRFCompatible — keacakan selektif (loot, crit, spawn)
  • AutoLoopVRFCompatible — keacakan di setiap tick
02

Implementasi

Tambahkan shouldProgressLoop() untuk memberi sinyal kesiapan dan progressLoop() untuk mengeksekusi logika game Anda.

03

Daftar & Danai

Daftarkan kontrak Anda on-chain dan depositkan ETH untuk menutupi gas dan biaya.

04

Biarkan Berjalan

Worker secara otomatis mendeteksi dan mengeksekusi loop Anda. Duduk santai dan saksikan game Anda hidup.

Harga

Game dengan Biaya Receh

Tiga tingkatan otomasi on-chain — dari eksekusi murni hingga Full VRF di setiap tick. Inilah biaya masing-masing pada harga gas saat ini.

Rincian Biaya

Penggantian gas + buffer
70% biaya dasar (dari biaya gas)
50% biaya dasar ke controller
50% biaya dasar ke protokol
Gas
+
Base Fee
=
Controller
+
Protocol
Kode

Sederhana Secara Desain

Integrasikan Autoloop hanya dengan dua fungsi. Berikut kontrak lengkap yang berfungsi.

NumberGoUp.sol
1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.13;
3
4// Import the base contract that makes any
5// contract compatible with AutoLoop workers
6import {AutoLoopCompatible} from
7 "autoloop/AutoLoopCompatible.sol";
8
9// A simple demo: number goes up every interval
10contract NumberGoUp is AutoLoopCompatible {
11 uint256 public number;
12 uint256 public interval;
13 uint256 public lastTimeStamp;
14 uint256 private _loopID;
15
16 constructor(uint256 _interval) {
17 interval = _interval;
18 lastTimeStamp = block.timestamp;
19 }
20
21 // Workers call this every block to check
22 // if the contract is ready for an update
23 function shouldProgressLoop()
24 external view override
25 returns (
26 bool loopIsReady,
27 bytes memory progressWithData
28 )
29 {
30 // Ready when enough time has passed
31 loopIsReady =
32 (block.timestamp - lastTimeStamp) > interval;
33 // Pass loop ID to prevent duplicate runs
34 progressWithData = abi.encode(_loopID);
35 }
36
37 // Called by AutoLoop when shouldProgressLoop
38 // returns true — this is your update logic
39 function progressLoop(
40 bytes calldata progressWithData
41 ) external override {
42 uint256 loopID =
43 abi.decode(progressWithData, (uint256));
44 // Guard against stale or replayed calls
45 require(loopID == _loopID, "stale loop");
46 lastTimeStamp = block.timestamp;
47 ++number;
48 ++_loopID;
49 }
50}
AutoLoop
vsChainlink

Lihat Perbandingan Kami dengan Chainlink

Tiga mode otomasi — Standard, Hybrid VRF, dan Full VRF — semua dalam satu protokol. Tanpa langganan terpisah. Lebih murah dari Chainlink di setiap tingkatan.

~55%lebih murah per eksekusi
0pertukaran token dibutuhkan
Hybridotomasi + VRF, satu protokol
Lihat Perbandingan Lengkap
FAQ.sectionTag

FAQ.title

FAQ.whyNotChainlink.aSee the full comparison
FAQ.multichain.a