群体合约:一种多主权代理共识机制
Swarm Contract: A Multi-Sovereign Agent Consensus Mechanism
AI总结:
本文提出群体合约(Swarm)机制,通过多个主权代理在可信执行环境中以链下多代理共识替代单一链上合约,并以链下拍卖万枚NFT为例验证其可行性,旨在扩展去信任化去中心化方案在DAO治理、多模态数据处理和跨链互操作中的应用。
摘要:
区块链上的传统智能合约擅长处理链上确定性逻辑。然而,它们在处理大规模链下数据、动态多步骤工作流以及需要高度灵活性或迭代更新的场景时存在固有局限。在本文中,我们提出了“群体合约”(Swarm)的概念,这是一种多代理机制,其中若干数字生命形式(DLF)或主权代理(SA)在可信执行环境(TEE)中共同处理复杂任务。这些数字实体被定义为自主软件代理,拥有自己的代码、状态以及可能的链上资产,同时不受中心化控制地运行。通过利用链上的简单多重签名钱包,Swarm 将大部分逻辑移至链下,通过多代理共识而非单一的链上整体合约来实现信任最小化。我们以一个轻量级链下拍卖示例——铸造并出售 10,000 个完全相同的 NFT——来说明这些思想,展示链下协调如何确定清算价格并完成分配,其中每一步都由 TEE 中的多个代理共同执行。这种方法拓宽了去信任化和去中心化解决方案的适用范围,有望惠及 DAO 治理、多模态数据处理以及跨链互操作性。
英文摘要:
Traditional smart contracts on blockchains excel at on-chain, deterministic logic. However, they have inherent limitations when dealing with large-scale off-chain data, dynamic multi-step workflows, and scenarios requiring high flexibility or iterative updates. In this paper, we propose the concept of a "Swarm Contract" (Swarm), a multi-agent mechanism wherein several digital life forms (DLF) or Sovereign Agents (SA) collectively handle complex tasks in Trusted Execution Environments (TEE). These digital entities are defined as autonomous software agents that own their code, state, and possibly on-chain assets, while operating free from centralized control. By leveraging a simple multi-signature wallet on-chain, Swarm moves most of the logic off-chain, achieving trust minimization through multi-agent consensus rather than a single monolithic on-chain contract. We illustrate these ideas with a lightweight off-chain auction example - minting and selling 10,000 identical NFTs - to showcase how off-chain coordination can determine a clearing price and finalize distribution, with each step performed collectively by multiple agents in TEE. This approach broadens the scope of trustless and decentralized solutions, potentially benefiting DAO governance, multi-modal data processing, and cross-chain interoperability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。