arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.15632cs.CY
收藏

非同质化程序:面向Web3的私有全栈应用

Non-Fungible Programs: Private Full-Stack Applications for Web3

Blake Regalia, Benjamin Adams

AI总结:

本文提出非同质化程序(NFP)模型,通过区块链分发自包含前端应用,结合加密智能合约私有数据库,实现无需主机的Web3全栈私有应用,为代币所有者提供交互性及安全新功能。

摘要:

Web3应用相比Web 2.0的最大优势在于数据访问层的演进。强制用户信任的不透明中心化服务被无需信任的智能合约去中心化系统取代。然而,智能合约交易的基于区块链数据库的公开性,通常对依赖数据隐私或参与者信息不完整的应用构成挑战。随着引入加密活跃合约内存状态及链上数据库的机密智能合约网络,这一情况已改变。凭借机密性,合约能更易实现此前不可行的新型交互机制。同时,在Web 2.0和Web3应用中,用户界面在将用户意图转化为可执行请求方面仍起关键作用。许多情况下,开发者将智能与自主性转移至客户端,利用Web技术进行计算、图形处理和网络通信。但Web3对此类前端的依赖暴露了痛点:若无持久主机托管应用,终端用户将无法访问去中心化应用。在此我们引入非同质化程序(NFP)模型,用于开发自包含前端应用,该应用通过区块链分发,由Web技术驱动,并由存储于加密智能合约中的私有数据库支持。根据NFT所有权模型,对前端代码及后端服务的访问由智能合约控制并保证,无需单独主机。进一步地,NFP应用为代币所有者带来交互性,并以安全方式实现新功能,如预言机授权机制、补充Web服务和覆盖网络。此外...

英文摘要:

The greatest advantage that Web3 applications offer over Web 2.0 is the evolution of the data access layer. Opaque, centralized services that compelled trust from users are replaced by trustless, decentralized systems of smart contracts. However, the public nature of blockchain-based databases, on which smart contracts transact, has typically presented a challenge for applications that depend on data privacy or that rely on participants having incomplete information. This has changed with the introduction of confidential smart contract networks that encrypt the memory state of active contracts as well as their databases stored on-chain. With confidentiality, contracts can more readily implement novel interaction mechanisms that were previously infeasible. Meanwhile, in both Web 2.0 and Web3 applications the user interface continues to play a crucial role in translating user intent into actionable requests. In many cases, developers have shifted intelligence and autonomy into the client-side, leveraging Web technologies for compute, graphics, and networking. Web3's reliance on such frontends has revealed a pain point though, namely that decentralized applications are not accessible to end users without a persistent host serving the application. Here we introduce the Non-Fungible Program (NFP) model for developing self-contained frontend applications that are distributed via blockchain, powered by Web technology, and backed by private databases persisted in encrypted smart contracts. Access to frontend code, as well as backend services, is controlled and guaranteed by smart contracts according to the NFT ownership model, eliminating the need for a separate host. By extension, NFP applications bring interactivity to token owners and enable new functionalities, such as authorization mechanisms for oracles, supplementary Web services, and overlay networks in a secure manner. In addition...

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑