项目名称
CKB-UGMP —— 基于 CKB 的通用 Spore/DOB 无感铸造基础设施原型
(UGMP: Universal Gasless Minting Platform)
团队 / 个人简介及联系方式
- 负责人:刘向奥(独立开发者)
- 背景简介:武汉理工大学本科生,中科院软研所 PLCT 、OERV 实习生。有贡献大型项目的能力,在 PLCT GNU小队期间为 riscv-gnu-toolchain 提交 bug 修复 patch,并完成相关公开技术报告。
- 联系方式:
- E-mail: [email protected]
- Discord: @hno3miracle
- Telegram: @HNO3Miracle
行业痛点与核心议题:Web3 资产发行的 HCI 摩擦与高门槛
当前 CKB 生态向外扩张(Mass Adoption)面临的核心壁垒,与其说是底层性能的瓶颈,不如说是人机交互(HCI)层面的巨大摩擦力。 当用户希望在 CKB 生态发行或铸造数字纪念品、活动门票或个人艺术品时,不仅面临着繁琐的底层合约配置,还面临着“存储困境”:CKB 链上空间极具价值(1 Byte = 1 CKB),普通开发者和用户难以在“去中心化永久存储”与“昂贵的上链成本”之间找到完美的平衡和极简的实现路径。我们需要一个人人可用、端到端集成去中心化存储的通用铸造平台。
解决方案:CKB-UGMP 原型架构与经济模型
本项目在原型验证阶段将专注于 To-C 的经济模型与核心前端体验闭环。由终端用户自行承担测试网铸造费用,旨在打造一个无需理解底层机制的“一键铸造 DApp”。
- 端到端的铸造体验闭环:前端 Demo 将实现完整的“本地图片上传 → 铸造 DOB → 展示 DOB”核心流。用户连接钱包后,只需在可视化界面操作,即可完成资产的发行与确权。
- 自由选配的混合存储方案 (Storage Selector):为了解决上链成本问题,平台将深度集成去中心化存储方案。用户在上传本地图片时,可通过前端下拉菜单自由选择存储层(如:通过 Pinata API 自动上传至 IPFS 去中心化网络,或选择纯文本原生上链)。或者选择上传到传统的中心化平台。平台会自动将生成的资源哈希(CID)写入 Spore DOB 的
dob_metadata中,在去中心化与经济性之间取得完美平衡。 - 钱包中立的极简交互:深度集成
@ckb-ccc/core,全面支持 JoyID、MetaMask 等主流钱包环境。由 C 端用户直接签名并支付铸造费用,隐藏复杂的铸造细节,验证面向终端用户的核心上链逻辑。
与 CKB 生态的关联性
- 本项目精确对齐星火计划对齐 Web5 设计理念的愿景,致力于为 CKB 提供即时可用的公共基础设施:
- 提供即时可用的生态基建:,UGMP 可以立即服务于 CKB 生态内的任何票务、POAP、创作者经济等场景。降低入门的门槛梯度。
- 释放 Spore 协议与 Cell 模型的底层潜力:让普通用户也能轻松调用 Spore 协议。每次通过 UGMP 铸造 DOB,都会将真实的去中心化数据锚定在 CKB 的物理空间(Capacity)上,持续赋能 CKB 的价值捕获。
预期交付成果与可复现验收标准
MVP 将部署于 CKB Testnet (测试网),并提供详尽的开源代码与可独立复现的验证路径:
- 开源代码仓库
- 交付内容:完整的通用前端 DApp 源码与相关技术文档。
- 验收标准:评审员可 clone 仓库,执行
npm install与npm run start成功拉起本地前端服务,无致命报错。
- 通用一键铸造大厅 (Web Demo)
- 交付内容:一个覆盖完整核心流程的响应式 DApp 网页应用。
- 验收标准:
- 上传与存储选择:评审员打开网页,可直接上传本地图片,并在下拉菜单中选择“IPFS 去中心化存储”。
- 签名与铸造:前端自动将图片推送到 IPFS 获取 CID,随后唤起评审员的测试网钱包(如 JoyID / MetaMask)完成交易签名与测试币支付。
- 解析与展示:页面捕获链上状态反馈铸造成功,并在大厅页面逆向解析
dob_metadata,完美展示刚刚铸造的图片 DOB 资产。
所需资金 (Budget Breakdown)
本项目申请总资金为 $1,000 美元。由于砍掉了复杂的 B 端代付逻辑,预算将全面倾斜并最高效地分配给前端体验闭环与去中心化存储的整合开发:
- $450 - DApp 核心逻辑与 SDK 深度集成:补贴开发者在短周期内攻克技术难点的工时。重点解决基于
@ckb-ccc/core的跨钱包连接、终端用户签名唤起,以及封装 Spore 协议复杂交易(Transaction)的拼装逻辑。 - $450 - 前端全链路与去中心化存储 (IPFS) 引擎开发:用于开发前端极简 Web UI。核心工作包括:集成 Pinata 等 IPFS 服务商 API 实现本地图片的一键静默上传确权;开发 Indexer 数据渲染模块,实现链上 DOB 二进制数据的实时逆向解码(Decoder)与外部 IPFS 图片的无缝渲染展示。
- $100 - 测试网基础设施与前端托管:覆盖 Vercel 等前端托管服务开销,以及高频抓取链上状态所需的 RPC 请求开销。
预计完成时间与敏捷路线图
本项目开发周期预计为 8 周 (约 2 个月)。
- 第 1-2 周(前端基建与钱包集成):初始化 React/Next.js 前端工程;接入
@ckb-ccc/core实现 MetaMask、JoyID 等多钱包连接与状态管理。 - 第 3-4 周(存储集成与链上联调):集成第三方 IPFS 服务(如 Pinata API),实现本地文件拖拽上传并返回 CID;在 CKB Testnet 彻底跑通用户自行支付的 Spore DOB 铸造核心交易流。
- 第 5-6 周(全链路闭环与解析层):将上传、选择、签名步骤串联为极简 UI;开发数据解析器,读取链上
dob_metadata并渲染出对应的 IPFS 图片内容。 - 第 7-8 周(交付与沉淀):端到端全链路压测联调;整理开源代码与本地运行文档;录制“图片上传 → 铸造 → 展示”的完整操作演示 Demo,向 Committee 提交结项。
未来演进 (Future Roadmap)
在 Spark 计划内跑通面向 C 端用户的核心铸造逻辑与存储闭环后,项目将在未来的迭代中扩展 B2B2C 代付网关系统。届时将引入服务端 Sponsor 资金池,允许 B 端项目方为 C 端用户静默垫付 Capacity 与矿工费,最终达成完全无感的 Web3 资产发行终极愿景。
清晰的 To-do List
Frontend (DApp 核心流开发)
- 初始化 React/Next.js 前端工程,构建“本地图片上传 → 选择存储方案 → 铸造”的完整交互 UI。
- 接入
@ckb-ccc/core,支持 C 端用户通过 MetaMask、JoyID 等钱包直连并签名支付。 - 集成 IPFS (Pinata API),实现本地图片静默上传去中心化网络并获取哈希值。
- 封装基于 C 侧签名的
createSpore交易组装逻辑,将存储链接写入dob_metadata。
数据解析与展示层
- 接入 CKB GraphQL 或第三方 RPC,查询当前连接钱包地址下的 Spore 资产。
- 开发数据渲染模块:逆向解析链上 DOB/0 协议,兼容读取并渲染外部 IPFS 图片源。
测试与交付
- 在 CKB Testnet 完成“端到端”的实机交互测试。
- 撰写开源技术文档 (
README.md),详细说明本地复现步骤与测试网体验指南。
Project Name
CKB-UGMP — Prototype of a Universal Gasless Spore/DOB Minting Infrastructure on CKB
(UGMP: Universal Gasless Minting Platform)
Team / Personal Profile & Contact Information
- Project Lead: Xiang’ao Liu (Independent Developer)
- Background: Undergraduate student at Wuhan University of Technology (WHUT); Intern at PLCT Lab (ISCAS) and OE-RV. Capable of contributing to large-scale projects; submitted bug-fix patches for
riscv-gnu-toolchainduring the PLCT GNU team stint and published related public technical reports. - Contact Information:
- E-mail: [email protected]
- Discord: @hno3miracle
- Telegram: @HNO3Miracle
Industry Pain Points & Core Issues: HCI Friction and Storage Dilemma in Web3 Asset Issuance
The core barrier facing the CKB ecosystem’s outward expansion (Mass Adoption) is not so much a bottleneck in underlying performance, but rather the massive friction at the Human-Computer Interaction (HCI) layer. When users wish to issue or mint digital souvenirs, event tickets, or personal artworks in the CKB ecosystem, they face not only cumbersome underlying contract configurations but also a “storage dilemma”: CKB on-chain space is highly valuable (1 Byte = 1 CKB), making it difficult for ordinary developers and users to find a perfect balance and a minimalist implementation path between “decentralized permanent storage” and “expensive on-chain costs.” We urgently need a universal minting platform accessible to everyone, with end-to-end integration of decentralized storage.
Solution: CKB-UGMP Prototype Architecture & Economic Model
During the prototype validation phase, this project will focus on the To-C economic model and the core frontend experience loop. End users will bear the Testnet minting costs themselves, aiming to build a “one-click minting DApp” that requires no understanding of underlying mechanisms.
- End-to-End Minting Experience Loop: The frontend Demo will implement the complete core flow of “local image upload → mint DOB → display DOB.” After connecting their wallets, users only need to operate on the visual interface to complete the issuance and confirmation of assets.
- Freely Configurable Hybrid Storage Solution (Storage Selector): To solve the problem of on-chain costs, the platform will deeply integrate decentralized storage solutions. When uploading local images, users can freely choose the storage layer via a frontend dropdown menu (e.g., auto-uploading to the IPFS decentralized network via Pinata API, or choosing pure text native on-chain). Users can also choose to upload to traditional centralized platforms. The platform will automatically write the generated resource hash (CID) into the
dob_metadataof the Spore DOB, achieving a perfect balance between decentralization and economic viability. - Wallet-Agnostic Minimalist Interaction: Deeply integrating
@ckb-ccc/core, it fully supports mainstream wallet environments like JoyID and MetaMask. C-side users will directly sign and pay the minting fees, hiding the complex minting details and validating the core on-chain logic aimed at end-users.
Relevance to the CKB Ecosystem
- This project precisely aligns with the Spark Program’s vision of the Web5 design philosophy, dedicating itself to providing immediately usable public infrastructure for CKB:
- Providing Ready-to-Use Ecological Infrastructure: UGMP can immediately serve any ticketing, POAP, or creator economy scenarios within the CKB ecosystem, significantly lowering the barrier to entry.
- Unleashing the Underlying Potential of the Spore Protocol and Cell Model: Enabling ordinary users to easily invoke the Spore protocol. Every DOB minted via UGMP anchors real decentralized data to CKB’s physical space (Capacity), continuously empowering CKB’s value capture.
Expected Deliverables & Reproducible Verification Standards
The MVP will be deployed on the CKB Testnet, providing comprehensive open-source code and independently reproducible verification paths:
- Open-Source Code Repository
- Deliverables: Complete source code for the universal frontend DApp and related technical documentation.
- Verification Standard: Reviewers can clone the repository and execute
npm installandnpm run startto successfully launch the local frontend service without fatal errors.
- Universal One-Click Minting Hall (Web Demo)
- Deliverables: A responsive DApp web application covering the complete core flow.
- Verification Standard:
- Upload & Storage Selection: Reviewers open the webpage, directly upload a local image, and select “IPFS Decentralized Storage” from the dropdown menu.
- Sign & Mint: The frontend automatically pushes the image to IPFS to obtain the CID, and then invokes the reviewer’s Testnet wallet (e.g., JoyID / MetaMask) to complete the transaction signature and test token payment.
- Parse & Display: The page captures the on-chain status feedback indicating successful minting, and reverse parses the
dob_metadatain the hall page to perfectly display the newly minted image DOB asset.
Budget Breakdown
The total funding requested for this project is $1,000 USD. Having removed the complex B-side sponsorship logic, the budget will be fully tilted and most efficiently allocated to the frontend experience loop and the integration of decentralized storage:
- $450 - DApp Core Logic & SDK Deep Integration: Subsidizes developer hours for overcoming technical difficulties within a short cycle. Focuses on resolving cross-wallet connections based on
@ckb-ccc/core, invoking end-user signatures, and encapsulating the complex transaction assembly logic of the Spore protocol. - $450 - Frontend Full-Link & Decentralized Storage (IPFS) Engine Development: Allocated for developing the minimalist frontend Web UI. Core work includes: integrating API services like Pinata to achieve one-click silent uploading and confirmation of local images; developing the Indexer data rendering module to achieve real-time reverse decoding (Decoder) of on-chain DOB binary data and seamless rendering of external IPFS images.
- $100 - Testnet Infrastructure & Frontend Hosting: Covers frontend hosting service costs like Vercel, as well as the RPC request costs required for high-frequency on-chain state fetching.
Estimated Completion Time & Agile Roadmap
The development cycle for this project is estimated to be 8 weeks (approx. 2 months).
- Weeks 1-2 (Frontend Infrastructure & Wallet Integration): Initialize the React/Next.js frontend project; integrate
@ckb-ccc/coreto achieve multi-wallet connection and state management for MetaMask, JoyID, etc. - Weeks 3-4 (Storage Integration & On-Chain Co-debugging): Integrate third-party IPFS services (e.g., Pinata API) to achieve local file drag-and-drop upload and return CID; fully run the user-paid Spore DOB minting core transaction flow on the CKB Testnet.
- Weeks 5-6 (Full-Link Loop & Parsing Layer): String together the upload, select, and sign steps into a minimalist UI; develop a data parser to read on-chain
dob_metadataand render the corresponding IPFS image content. - Weeks 7-8 (Delivery & Consolidation): End-to-end full-link stress testing and integration; organize open-source code and local execution documentation; record a complete operation demonstration video of “Image Upload → Mint → Display”, and submit for project completion to the Committee.
Future Roadmap
After successfully running the core minting logic and storage loop for C-side users within the Spark program, the project will expand into a B2B2C Payment Gateway System in future iterations. At that time, a server-side Sponsor pool will be introduced, allowing B-side projects to silently sponsor Capacity and miner fees for C-side users, ultimately achieving the ultimate vision of completely gasless Web3 asset issuance.
Clear To-do List
Frontend (DApp Core Flow Development)
- Initialize the React/Next.js frontend project, building a complete interaction UI for “Local Image Upload → Select Storage Solution → Mint”.
- Integrate
@ckb-ccc/coreto support C-side users to directly connect and sign payments via wallets like MetaMask and JoyID. - Integrate IPFS (Pinata API) to achieve silent uploading of local images to the decentralized network and obtain the hash value.
- Encapsulate the
createSporetransaction assembly logic based on C-side signatures, writing the storage link intodob_metadata.
Data Parsing & Presentation Layer
- Connect to CKB GraphQL or a third-party RPC to query Spore assets under the currently connected wallet address.
- Develop the data rendering module: reverse parse the on-chain DOB/0 protocol, ensuring compatibility to read and render external IPFS image sources.
Testing & Delivery
- Complete “end-to-end” actual device interaction testing on the CKB Testnet.
- Write open-source technical documentation (
README.md), detailing local reproduction steps and Testnet experience guidelines.