🤖 AI Summary
Existing blockchain oracles struggle to simultaneously achieve decentralization, autonomy, and trustlessness, often introducing single points of failure or centralized trust assumptions. This paper proposes a decentralized off-chain data consensus architecture leveraging autonomous robot swarms: onboard sensors enable real-time physical-world perception, while peer-to-peer communication and Byzantine Fault Tolerance (BFT) protocols ensure distributed data validation. We design a multi-stakeholder coordination mechanism and an on-chain token-driven reputation system to dynamically suppress malicious behavior and support autonomous fault recovery. The architecture securely injects verified real-world data into smart contracts without relying on trusted third parties. Experimental evaluation demonstrates high environmental consensus consistency under both simulated and adversarial conditions, along with long-term robustness and self-healing capability.
📝 Abstract
Blockchain consensus, rooted in the principle ``don't trust, verify'', limits access to real-world data, which may be ambiguous or inaccessible to some participants. Oracles address this limitation by supplying data to blockchains, but existing solutions may reduce autonomy, transparency, or reintroduce the need for trust. We propose Swarm Oracle: a decentralized network of autonomous robots -- that is, a robot swarm -- that use onboard sensors and peer-to-peer communication to collectively verify real-world data and provide it to smart contracts on public blockchains. Swarm Oracle leverages the built-in decentralization, fault tolerance and mobility of robot swarms, which can flexibly adapt to meet information requests on-demand, even in remote locations. Unlike typical cooperative robot swarms, Swarm Oracle integrates robots from multiple stakeholders, protecting the system from single-party biases but also introducing potential adversarial behavior. To ensure the secure, trustless and global consensus required by blockchains, we employ a Byzantine fault-tolerant protocol that enables robots from different stakeholders to operate together, reaching social agreements of higher quality than the estimates of individual robots. Through extensive experiments using both real and simulated robots, we showcase how consensus on uncertain environmental information can be achieved, despite several types of attacks orchestrated by large proportions of the robots, and how a reputation system based on blockchain tokens lets Swarm Oracle autonomously recover from faults and attacks, a requirement for long-term operation.