Shackled:以太坊智能合约中可编程的3D渲染引擎
Shackled: a 3D Rendering Engine Programmed Entirely in Ethereum Smart Contracts
摘要:
以太坊区块链允许开发和部署智能合约,这些智能合约可以在“链上”存储和执行代码,也就是说,完全在区块链网络中的节点上。智能合约传统上用于金融目的,但由于智能合约是图灵完备的,因此其算法范围比任何单一领域都要广泛。为此,我们设计、开发和部署了一个完全在以太坊智能合约中编程的综合3D渲染引擎,称为Shackled。Shackled从3D场景中计算2D图像,在以太坊上执行链上的每一次计算。据我们所知,Shackled是以太坊第一个也是唯一一个完全链上的3D渲染引擎。在这项工作中,我们1)提供三个独特的数据集,用于使用和基准测试Shackled,2)执行所述基准测试并提供结果,3)展示Shackled在令牌化生成艺术领域的潜在用例,4)为Shackled提供无代码用户界面,5)列举与Solidity智能合约中编程复杂算法相关的挑战,以及6)概述改进Shackled平台的潜在方向。我们希望这项工作能够提高以太坊区块链的本地图形处理能力,并能够增加智能合约对更复杂算法的使用,从而增加以太坊生态系统的整体丰富性。
英文摘要:
The Ethereum blockchain permits the development and deployment of smart contracts which can store and execute code 'on-chain' - that is, entirely on nodes in the blockchain's network. Smart contracts have traditionally been used for financial purposes, but since smart contracts are Turing-complete, their algorithmic scope is broader than any single domain. To that end, we design, develop, and deploy a comprehensive 3D rendering engine programmed entirely in Ethereum smart contracts, called Shackled. Shackled computes a 2D image from a 3D scene, executing every single computation on-chain, on Ethereum. To our knowledge, Shackled is the first and only fully on-chain 3D rendering engine for Ethereum. In this work, we 1) provide three unique datasets for the purpose of using and benchmarking Shackled, 2) execute said benchmarks and provide results, 3) demonstrate a potential use case of Shackled in the domain of tokenised generative art, 4) provide a no-code user interface to Shackled, 5) enumerate the challenges associated with programming complex algorithms in Solidity smart contracts, and 6) outline potential directions for improving the Shackled platform. It is our hope that this work increases the Ethereum blockchain's native graphics processing capabilities, and that it enables increased use of smart contracts for more complex algorithms, thus increasing the overall richness of the Ethereum ecosystem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。