CKB Ecosystem Biweekly Update

CKB Ecosystem Biweekly Update #9

Welcome to the latest CKB Ecosystem Biweekly update! Starting this issue, we will publish the full, detailed report here on Nervos Talk to facilitate better discussion and archiving.
欢迎阅读最新一期的 CKB 生态系统双周更新!从本期开始,我们将把完整的详细报告发布在 Nervos Talk 上,以便更好地进行讨论和存档。

Here is what the builders have been up to recently:
以下是开发者们近期的工作进展:

Infrastructure & Tooling :wrench:

  • @APP5Labs updated the new CKB Explorer (Jan 4): expanded asset info, better tx tracking, improved calculation accuracy & visuals.
  • @FiberDevs v0.6.1 is fixing node stability, with mainnet contracts upgrade to follow. New landing page v2 & demo videos in progress.
  • @CKBdev released CKB v0.204.0 with native proxy/onion support, OffCKB v0.4.3 & v0.4.2, ongoing improvements on light client & Rust toolchain, and CFI extension support to the VM.
  • @CKBDevrel is adding BTC PSBT & RGB++ script support to CCC, UDT module refactoring & performance optimizations, and @Hanssen published a Fiber essay: [EN/CN] 十年期 Fiber - 观 Nervos 一角 / Ten-Year Fiber - Inside a Corner of Nervos

Web5 & DAO :globe_showing_europe_africa:

  • Web5 SDK is under development, DID Cache (centralized DID pre-registration) completed.
  • BBS v0.3 is to finish development this week, beta testing next week.
  • DAO 1.1 held its first biweekly AMA. Next AMA mid-Jan. First Steward Team member onboarded. Governance workflow development & docs underway.
  • [DIS] CKB Integration for Rosen Bridge successfully passed Phase 1: Discussion Stage; Voting Security Measures of the Transitional Period are ready

Ecosystem Projects :mobile_phone:

Spark Program & Nervos Community Catalyst :fireworks:

New year, new momentum. Let’s keep building! :flexed_biceps:

基础设施和工具 :wrench:

  • @APP5Labs 新版 CKB 浏览器已于 1 月 4 日完成核心功能更新和问题修复,包括扩展资产信息、优化交易跟踪、提高数据计算精度以及增强可视化功能。

  • @FiberDevs v0.6.1 正在修复节点稳定性相关问题,修复完成后将同步更新主网合约;Fiber 网站落地页第二版及 Demo 视频正在制作中。

  • @CKBdev 发布了 CKB v0.204.0,支持原生代理/洋葱路由;同时发布了 OffCKB v0.4.3 和 v0.4.2;轻客户端和 Rust toolchain 持续改进中;虚拟机新增 CFI 扩展支持。

  • @CKBDevrel 正在推进 BTC PSBT 签名模块代码合并至 CCC,新增对 RGB++ 脚本支持,以及对 UDT 模块进行重构与性能优化; @Hanssen 发布了一篇关于 Fiber 的散文:[EN/CN] 十年期 Fiber - 观 Nervos 一角 / Ten-Year Fiber - Inside a Corner of Nervos

Web5 & DAO :globe_showing_europe_africa:

  • Web5 SDK 持续开发中,其中 Web5 DID Cache(中心化 DID 预注册)模块已完成开发。

  • BBS v0.3 预计本周完成开发,下周进入测试阶段。

  • DAO 1.1 已举办首次双周 AMA,下一场 AMA 将于 1 月中旬举行;已招募首位物业团队成员;开发团队正在完成治理流程的开发,完善相关文档。

  • [DIS] CKB Integration for Rosen Bridge 已成功通过 Phase 1: Discussion Stage; 过渡期投票安全措施 已就绪

生态项目 :mobile_phone:

星火计划和 Nervos Community Catalyst :fireworks:

新年新气象,让我们持续建设,持续前行!:flexed_biceps:


Previous Biweekly
#8 https://x.com/CKBEcoFund/status/1998635281025830961?s=20
#7 https://x.com/CKBEcoFund/status/1988958238080217534?s=20
#6 https://x.com/CKBEcoFund/status/1984197236172157092?s=20
#5 https://x.com/CKBEcoFund/status/1978807589589987823?s=20
#4 https://x.com/CKBEcoFund/status/1966312835874722004?s=20
#3 https://x.com/CKBEcoFund/status/1966312835874722004?s=20
#2 https://x.com/CKBEcoFund/status/1960239793125941580?s=20
#1 https://x.com/CKBEcoFund/status/1955118976973021220?s=20

7 Likes

Hey @zz_tovarishch, thank you for posting these updates, they are pretty useful for understanding what’s going on in the Community!

I was wondering, why no mention of the Community DAO Rosen Bridge Integration successful Phase 1 voting?

Pretty sure it’s part of the Ecosystem too,
Phroi

4 Likes

Thanks for the reminder, added!

5 Likes

any more information on this?

3 Likes

Forwarding the explanation from AirFi:

  1. How did we establish Perun channels even though JoyID doesn’t support it?

RE: The trick is that JoyID doesn’t need to understand Perun at all. We created a workaround using temporary wallets. Here’s how it works: when a user wants to use WiFi, our backend generates a tempor\ary wallet (a random secp256k1 keypair) on the server side. The user just needs to send CKB from whatever wallet they have like JoyID, Neuron, or anything else to this temporary address. Once our backend detects the incoming CKB, it handles all the Perun stuff: opening the channel, signing states, processing payments, everything. From the user’s perspective, they just scan a QR code, send CKB, and the WiFi starts working. They don’t need to know Perun exists. All the complexity is abstracted away in the backend. The relevant code is in internal/guest/wallet.go for wallet generation and cmd/backend/channel.go for the channel opening logic.

  1. Who is the channel established with and where do the funds flow?

RE: The channel is opened between two parties: the Guest (the person who wants to use WiFi) and the Host (our backend server that provides the WiFi service). The fund flow goes like this: First, the user sends CKB to the temporary wallet address. Our backend monitors the blockchain and detects when the payment arrives. At this point, we also identify the sender’s original address from the transaction inputs - this is important for refunds later. Once we detect sufficient funding, the backend opens a Perun channel. The guest’s contribution goes into the channel (minus a reserve for channel setup costs), and the host adds 100 CKB as well. The channel is now active on CKB Testnet. During usage, micropayments flow from guest to host through off-chain state updates. When the session ends, the channel settles on-chain, and any remaining balance gets sent back to the user’s original wallet address. We use the official Perun smart contracts deployed on CKB Testnet, specifically PCTS for channel state management, PCLS for access control, and PFLS for fund locking and release. The deployment details are in internal/perun/deployment.go

Transaction Hash

This for channel funding https://testnet.explorer.nervos.org/address/ckt1qrfrwcdnvssswdwpn3s9v8fp87emat306ctjwsm3nmlkjg8qyza2cqgqq8q9c0qjkd5ykce4qa5ctwzzt4kmedgsquw7pfjh

And this for transaction https://testnet.explorer.nervos.org/transaction/0x0308379ce51cae5e91bc2225e3ece927488501303e3e628bb2c9ecbbbd852868

  1. How do pricing and payments work during channel usage?

RE: The default rate is 500 CKB per hour, which works out to about 8.33 CKB per minute. Users need to send at least 1000 CKB to start, 500 for channel setup reserve and 500 for minimum one hour of usage. The payment mechanism is handled by a background loop that runs every 60 seconds. Each iteration, the system checks the user’s remaining balance. If there’s enough to cover the next minute, it sends an off-chain payment through the Perun channel, the guest’s balance decreases and the host’s balance increases. If there’s not enough balance left, the channel gets settled immediately. The key thing here is that these payments happen off-chain. There’s no blockchain transaction every minute - just state updates that both parties sign. This makes it efficient, instant, and cheap. The go-perun library handles all the cryptographic signing automatically. For security, every state update requires valid signatures from both the guest and host. The backend tracks balances in its database and automatically triggers settlement when funds run low. The code for this is in cmd/backend/session.go around lines 88-145

  1. How does channel closing and fund refunds work?

RE: Settlement can be triggered in three ways: the session times out, the balance isn’t enough for the next micropayment, or the user manually ends their session. When settlement happens, the process goes like this: First, we mark the channel state as final. Then we submit the settlement transaction to the CKB blockchain. The Perun smart contracts verify the signatures and distribute the final balances back to each party according to the last agreed state. For the refund specifically, we wait about 30 to 120 seconds for the settlement to confirm on-chain. Then we collect all the UTXOs that ended up in the guest’s temporary wallet. We build a single transaction that sweeps everything and sends it to the original sender address - the one we detected when the user first funded the wallet. We sign this with the guest’s private key and submit it to the network. The refund goes directly back to whatever address the user sent from originally. They don’t need to input anything manually, we figured out their address by looking at the first input of their funding transaction. The withdrawal logic is in internal/perun/withdraw.go and cmd/backend/session.go handles the orchestration.

Latest updates: Due to project architecture issues, the Spark Program Committee decided to terminate AirFi’s funding on Jan 17. More info and project architecture discussions can be found on Spark Program channels in Discord: https://discord.com/channels/657799690070523914/1430878385504124939

3 Likes

CKB Ecosystem Biweekly Update #10

Welcome to the latest CKB Ecosystem Biweekly Update. Below is a brief summary of key dev and ecosystem progress over the past two weeks.

Infrastructure & Tooling :wrench:

Web5 & DAO :globe_showing_europe_africa:

  • Web5 website domain setup is complete. Logo and docs in progress.

  • BBS v0.3 is scheduled to launch this week.

  • DAO 1.1 held its second biweekly AMA. Applications for Steward Team members are closed, and the final list will be announced when DAO v1.1 platform goes live. Dev is on track. Group testing starts this week, with community testing planned for next week.

  • @yixiu.ckbfans.bit released CKB DAO Watchdog, a Metaforo voting verification tool. Support for DAO 1.1 is under evaluation.

  • The CKB Integration for Rosen Bridge proposal passed the Voting Stage and will get funding from the CKB Community Fund DAO.

  • Fiber Link, an open-source Fiber-based payment layer, is applying for $20k from CKB Community Fund DAO. The proposal is now in the Discussion Stage.

Ecosystem Projects :mobile_phone:

Spark Program & Nervos Community Catalyst :fireworks:

Every step forward in the CKB ecosystem is powered by community participation and support. Let’s keep building! :flexed_biceps:

欢迎阅读最新一期 CKB 生态系统双周更新。以下为过去两周内,开发者与生态伙伴的主要进展汇总:

基础设施和工具 :wrench:

Web5 & DAO :globe_showing_europe_africa:

  • Web5 网站已完成域名配置,正在设计 Logo 和补充相关文档。

  • BBS 计划于本周上线 v0.3 版本。

  • DAO 1.1 第二次双周 AMA 顺利举行,物业团队成员申请已截止,最终名单将在 DAO v1.1 平台上线后同步公布。当前开发工作进展稳定,本周将进入集体测试阶段,并计划于下周向社区成员开放测试。

  • @yixiu.ckbfans.bit 开发了 Metaforo 投票验证工具 CKB DAO Watchdog,后续将评估并考虑支持 DAO 1.1。

  • Rosen Bridge 的 CKB 集成提案已投票通过,将获得 CKB Community Fund DAO 的资助。

  • 基于 Fiber Network 的开源支付层项目 Fiber Link 正在申请 CKB Community Fund DAO 的资助,申请金额为 $20,000,目前处于提案讨论阶段。

生态项目 :mobile_phone:

星火计划和 Nervos Community Catalyst :fireworks:

CKB 生态的每一步进展,都离不开社区的共同参与和支持,让我们继续建设!:flexed_biceps:


Thanks to @JackyLHH for his contribution to the edition of the bi-weekly report.

7 Likes