什么?在 Nervos 的状态通道 Layer2 上也能够有 GameFi!|CKB Weekly #66
source link: https://www.chainnews.com/articles/693172479622.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
火花
1、Kabletop:基于 CKB 的状态通道打造的回合制区块链游戏开发框架
Kabletop 是一个基于 CKB 状态通道打造的回合制区块链游戏开发框架,能够基于多款游戏引擎打造,目前主要是 Godot,未来会加入 Unity3D、Unreal、CocosCreator,同时通过运用状态通道技术,能够使得除了在通道开启或关闭的时候外,平常的数据交换都可以直接发生在链下,提升了游戏对战时所需的性能以及体验。
在本周 Nervos 的开发者@ 李宇坤给大家演示了 Kabletop 的合约脚本(包含 NFT、Wallet、Payment 以及运行链上游戏的逻辑)以及使用了 CKB-SDK 和 Game-SDK 等工具,并且最后演示了如何用 Lua 以及 GDScript 来实现核心验证以及表现层的逻辑。
目前 Kabletop 使用的场景包含双人回合制对战游戏,包括回合制的卡牌、塔防、战旗、策略和角色扮演,后期将能够支持多人即时对战类别的游戏。
如果对 Kabletop 开发框架有兴趣的小伙伴,可以查看这个视频了解更多的细节。
视频链接:
https://www.bilibili.com/video/BV1Kf4y1E7Ep?spm_id_from=333.999.0.0
2、如何使用 CKB-DEBUGGER 来进行 CKB 脚本调试
CKB-dubeugger 是个可以调试和调优的 CKB 脚本的工具,本周在 Snapfinger 社区,CKB VM 开发者徐建栋带大家了解了如何使用 CKB-Debugger 这个调试工具来进行 Nervos CKB 脚本开发,包含基础环境的配置。
例如 Playground 的库如何使用,并且介绍 ckb-debugger 运行的模式(Full、GDB、Fast),以及如何将性能进行优化,如果有兴趣了解更多 CKB 底层编程以及调试的小伙伴,欢迎看看这次 Demo 的视频回顾。
CK B
- (#3022) 基于新的 pr 文件对 backport 进行重新构造
https://github.com/nervosnetwork/ckb/pull/3022
- (#3010) 发布 ci V2 版工作流程
https://github.com/nervosnetwork/ckb/pull/3010
- (#3034) 将 anyhow 从 1.0.43 提升到 1.0.44
https://github.com/nervosnetwork/ckb/pull/3034
- (#3032) 将 serde_json 从 1.0.67 升级到 1.0.68
https://github.com/nervosnetwork/ckb/pull/3032
- (#3028) 将 「connected_duration」持续时间单位改为「毫秒」
https://github.com/nervosnetwork/ckb/pull/3028
- (#2989) 对孤块池的过期区块进行清理
https://github.com/nervosnetwork/ckb/pull/2989
- (#3030) 调整 tx_pool 默认的路径
https://github.com/nervosnetwork/ckb/pull/3030
- (#3024) 删除 heim dep
https://github.com/nervosnetwork/ckb/pull/3024
Dev Tools
Godwoken-polyjuice 【 Godwoken 的 EVM 兼容层]
- (#85) 修复 MockedHost.get_block_hash() 的内存不足问题
https://github.com/nervosnetwork/godwoken-polyjuice/pull/85
Neuron
- (#2095) 更新 README
https://github.com/nervosnetwork/neuron/pull/2095
- (#2094) 更新问题模板
https://github.com/nervosnetwork/neuron/pull/2094
CKB Explorer
Frontend
- (#852) 将主程序合并到开发中
https://github.com/nervosnetwork/ckb-explorer-frontend/pull/852
- (#850) 添加 UniPass 标签
https://github.com/nervosnetwork/ckb-explorer-frontend/pull/850
- (#848) 将开发操作合并到主程序
https://github.com/nervosnetwork/ckb-explorer-frontend/pull/848
- (#844) 在区块信息中添加矿工信息
https://github.com/nervosnetwork/ckb-explorer-frontend/pull/844
Layer 2
Godwoken[CKB 上的 Rollup 框架]
- (#344) 发生错误后对 toml 值进行修复
https://github.com/nervosnetwork/godwoken/pull/344
- (#343) 从 DBTransaction 中删除检查点验证代码
https://github.com/nervosnetwork/godwoken/pull/343
- (#342) 允许跳过无效区块的检查节点进行检查
https://github.com/nervosnetwork/godwoken/pull/342
- (#341) 只有当 exit_code 状态为成功时才检查 nonce
https://github.com/nervosnetwork/godwoken/pull/341
- (#340) 对内存池 nonce 错误进行重置
https://github.com/nervosnetwork/godwoken/pull/340
- (#328) 更新 db 区块验证器
https://github.com/nervosnetwork/godwoken/pull/328
- (#330) 在执行失败时支持转储 Tx
https://github.com/nervosnetwork/godwoken/pull/330
- (#337) 应用区块状态时验证检查节点
https://github.com/nervosnetwork/godwoken/pull/337
- (#338) 如果遇到错误就退出 poll_loop 函数
https://github.com/nervosnetwork/godwoken/pull/338
- (#336) 增加 Gw 工具等待时间
https://github.com/nervosnetwork/godwoken/pull/336
- (#318) 在 Chanllenge 中用 ckb-merkle-tree 替换 Merkel tree impliment
https://github.com/nervosnetwork/godwoken/pull/318
- (#334) 对 txs 顺序进行修复
https://github.com/nervosnetwork/godwoken/pull/334
- (#333) 优化 ChainEvent 的日志
https://github.com/nervosnetwork/godwoken/pull/333
- (#332) 减少内存池锁
https://github.com/nervosnetwork/godwoken/pull/332
- (#331) 在 nonce 报错中输出 account_id 的错误
https://github.com/nervosnetwork/godwoken/pull/331
原文链接:
https://ckbweekly.substack.com/
点击阅读原文,即可订阅 CKB Weekly。
点击👇关注即可查看更多精彩内容
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK