TapeVault 遗产保险箱机制详解:双密钥继承TapeVault Inheritance Safe Details: Dual-Key Heir Mechanism
开发者 xing8047 用 TapeOut 基础设施和 TapeKit 文档,首次 Web3 开发半天搭出 TapeVault 链上遗产保险箱基础框架:电路 NFT 作为保险箱文件夹,文件加密存于容器 /_tapevault/ 目录,设为遗产保险箱后不可撤销,链上密文无法删除;用户需定期钱包签名“报平安”,超时向继承人开放。上传、加密、下载已可用。纯去中心化自动释放密钥暂难实现,临时方案由继承人密钥与守护人密钥碎片共同解密,单方无法打开。Developer xing8047 used TapeOut infrastructure and TapeKit docs to build a basic TapeVault on-chain inheritance safe within half a day of their first Web3 development. Circuit NFTs act as safe folders; files are encrypted and stored in the container /_tapevault/ directory; once set as an inheritance safe it is irrevocable and the on-chain ciphertext cannot be deleted. Users must periodically sign with their wallet to "report safe"; on timeout, the legacy opens to heirs. Upload, encryption, and download are available. Fully decentralized automatic key release is not yet implemented; the interim solution requires both the heir's key and the guardian's key shards together to decrypt, with neither side able to open it alone.

来源 · 2 条Sources · 2
- @boostbob
我尝试基于 B 神 @blonskr 的 #tapeout 基础设施上实现一个安全的遗产保险箱产品 #TapeVault,这是我第一次尝试 web3 开发,得益于官方 tapekit 的良好文档和社区强大的资料索引,半天就完成了基本框架。 主要的产品逻辑是一个 NFT 电路 ID 就是一个文件夹,上传的文件放在容器下的 /_tapevault/ 目录下(作为一个 namespace) ,钱包主人把自己的小秘密上传到电路对应的容器中,可以设置某个文件夹是遗产保险箱,这个设置不可撤销(因为数据已经上链了,密文人人可查询,无法做到真删除)。 钱包主人在设置的 XX days 内必须报平安(一个按
- @xing8047
基于B神TapeOut基础设施开发TapeVault链上遗产保险箱,首次Web3开发半天搭完基础框架。 大白话精简版: 我在TapeOut做了TapeVault遗产保险箱,首次开发Web3,靠tapekit文档半天完成基础版本。 • 电路NFT当作保险箱文件夹,文件加密存在容器/_tapevault/目录,设为遗产保险箱后不可撤销,链上密文无法删除。 • 用户需要定期钱包签名“报平安”;超时未报平安,遗产应当开放给继承人。 • 上传、加密、下载功能已可用。 • 难点:纯去中心化自动释放密钥不好实现。临时方案:需要继承人密钥+守护人密钥碎片,二者结合才能解密,单方打不开。 • 目标