Joe Chen (@joechendev) header
Joe Chen (@joechendev) profile picture

对酒当歌,人生几何

Joined March 2022
Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)Photo by Joe Chen (@joechendev)
Joe Chen retweeted
iPhone Duo Review: 10,000 Folds Later...
8,540
17,593
3,426
193,974
58,937,739
😍Happy Valentine's Day from Rooch – 25,000,000 $GROW Giveaway!😍 Celebrate with a red packet for 200 lucky winners! 🔗 Claim here: rooch.link/6cp5wVc ⏰ Ends at 12 PM, Feb 16 (UTC+8) 🧙‍♂️ What you can do with $GROW: 💚 Swap it for $RGAS or later for $USDT 💚 Use $GROW to vote for projects and earn BitXP on Rooch’s GrowBitcoin platform: grow.rooch.network/projects 💚 BitXP is linked to the Rooch mainnet airdrop! 🎁 #Airdrop #RoochNetwork
23
19
48
5,687
1/4 🎉 Unlock Liquidity for Your Babylon-Staked Bitcoin with Rooch Network! 🚀 @babylonlabs_io’s Bitcoin Staking Cap3 is live! Stake BTC to secure the network & earn rewards. With Rooch Network's pre-mainnet, your staked #BTC can do even more: ✅ Access liquidity without unstaking ✅ Earn $GROW tokens, BitXP, & rewards ✨ Participated in Cap2? You're eligible too! 👇 Learn more: rooch.network/blog/unlock-ba… #Babylon #RoochNetwork
1
8
7
31
11,565
🥳We’re thrilled to partner with @NativeNetwork to push the boundaries of the Bitcoin ecosystem! 💥Through this collaboration, Rooch Network will integrate Native’s BLISS (Bitcoin Liquidity and Interoperability Scaling Stack), enhancing our secure, decentralized architecture with a trust-minimized bridge for cross-chain capabilities and boosted liquidity!
12
14
1
25
3,888
🚨 Join Rooch Network at Babylon Hacker House in Bangkok, Nov. 5-9! Exclusive slots for two teams! 😍 Receive resources from both @babylonlabs_io and Rooch Network, plus direct listing of your demo projects on Rooch’s Grow Bitcoin Launchpad. 🔗 Apply by Oct 19: forms.gle/w7cNaqJhMZBdD7Yc7 👇 More details below: rooch.network/blog/hacker-ho… #Babylon #RoochNetwork #HackerHouse
9
10
3
24
8,844
We're thrilled to announce our strategic collaboration with @nubit_org , the leading Bitcoin-native Data Availability (DA) layer, to enhance Bitcoin ecosystem scalability and security! 🔗 Integration with Nubit DA: Rooch will integrate Nubit DA within the Rooch node, making the Nubit DA an out-of-box choice for any Rooch Network validators. 💡 Developing the Next-Gen CSV Assets Standard: Together, we aim to create a Bitcoin-native, easy-to-program CSV assets protocol, unlocking new possibilities for the Bitcoin ecosystem. 📢 Upcoming Rooch & Nubit Joint Campaign: We’re launching a campaign on the Nubit testnet to showcase the enhanced capabilities of our partnership, offering users a chance to interact and experience our innovations firsthand. 👉Learn more: rooch.network/blog/partnersh… #RoochNetwork #Nubit #BTCL2 #Partnership
6
12
42
5,689
"Grow Rooch" with Self-Custody Mining Grow Rooch brings to the forefront an innovative concept of self-custody mining, a novel approach allowing users to engage in mining activities by simply maintaining their assets on the Bitcoin blockchain untouched. This innovative method promises unparalleled security for user assets, setting a new paradigm in the crypto mining industry. At the heart of Rooch's platform is its advanced stackable Layer 2 framework, which seamlessly incorporates all states of Layer 1. In RoochBTC case, this allows applications built on Rooch to directly interact with Bitcoin's UTXO and extended protocol assets, such as RGB and inscriptions. What sets Rooch apart is its unique "atomic binding" mechanism, ensuring that any asset transfer on L1 instantly triggers corresponding state updates on L2. In the context of Grow Rooch, this means if a user's assets are transferred, the mining lock state is automatically adjusted, maintaining the integrity and continuity of the mining process. Stay tuned for upcoming official announcements regarding supported asset types and detailed rules about "Grow Rooch" campaign. #BTC #BTClayer2 #GrowRooch
193
10,333
75
1,228
70,437
Joe Chen retweeted
这篇文章描述了 RoochBTC 方案和其他 BTC layer2 方案的不同之处,以及一个如何通过 Rooch 给 BTC 铭文实现全链游的例子。文章中文版 rooch.network/zh-CN/blog/roo…
1/ Bitcoin L2 Solutions Existing Bitcoin L2 solutions are all great, though they all have their pros and cons. Lightning Network can largely reduce transaction costs but its application scenario is pretty limited to payment only. Offchain protocols and VMs such as RGB and BitVM can reduce transaction costs and also enable turing completion for applications at the same time, but the problem is all users are required to provide a signature to every single runtime step, which causes a barrier for UX. Multisig committee based sidechains or rollups can bring Bitcoin assets to arbitrary crypto applications. However, these solutions also introduce significant trust costs when they require their users to hand over their assets to the committee’s custody when porting them. All solutions here are trying to balance between application scenarios and trust barrier, so is the solution we are presenting here, the On-Chain Bitcoin Indexer, which we believe can enable most of the application scenarios with no assets custody. Here’s how it works ⬇️
9
13
2
40
21,838
Joe Chen retweeted
Movescriptions $MOVE 快要打完了,然后打算录制个最后几个 Epoch 的视频,结果发现 Epoch 结束了,但还蹭蹭增加,没停下来。吓了一跳,不会代码写的有 Bug 了吧,赶忙排查。因为按规则,最后多出一个 Epoch 是有预期的,总量除 Epoch 数会有余数,但不应该多出 20 个。 写代码模拟了下,发现每个 Epoch 的内的玩家平分的时候,也会有余数,累积下来就多出 20 个 Epoch。所以总量没有超发,算是个小彩蛋吧😅。元旦前赶着上线,没有测试到这样的边界条件。现在应该如何修改呢? 每个 Epoch 最后一个用户可以得个奖,获得这个余数?大家有关于分发机制的建议,也可以说说。
11
5
1
28
14,141
SocialFi 2.0: xpet.tech mainnet is live! ❤️‍🔥 Set up the extension, raise pets on 𝕏 and receive $BPET. Download the extension: xpet.tech Code for newcomers: xpet-early-access Don't forget that you can share your code to receive additional $BERRY. Drop your code below 👇 #Airdrop #SocialFi #xpet
78,393
134,481
8,245
142,572
9,271,065
Joe Chen retweeted
从半同质化资产角度看铭文 昨天在 Wamo 清迈 Builder Day 的分享会上聊了一下铭文,《从半同质化资产角度看铭文》。 铭文从技术上来看,简单粗暴,技术人第一次看了应该都是那个问号表情,这什么玩意? 不过经过这些天在智能合约中解析铭文的经历,总结了一下,它其实可以理解成一种半同质化资产(SFT)。 本来 Ordinals Inscription 可以理解成一种 NFT 的表达,有一个唯一 ID,包含了 content_type 以及 content,可以嵌入任何数据类型。而 BRC20 协议把 JSON 嵌入到 content 中,定义了 FT。FT 在 NFT 中,其实就是一种典型的 SFT 的表达方式,大家买卖铭文也习惯用“张”来作为单位。 而 SFT 有什么使用场景呢?这个其实上一次 DeFi 时候大家都有过深入的研究。比如用来表达游戏道具,中间的 FT 的 value 可以表达稀缺度,还比如用来表达债券,优惠券,各种票据等。但上个周期它的特性并没有充分发挥出来,也没有很多 SFT 类型的资产被创造出来。而现在铭文的火爆,让这种类型的资产被充分创造出来了,如何利用它们呢? 当前铭文的扩展性困境 如果要发挥出铭文作为 SFT 的优势,必须给它创造出使用场景,就必须扩展铭文协议。已经有一些团队尝试通过扩充铭文协议,比如 BRC20 中增加更多的 op 指令来实现。但一个铭文协议一旦被市场广泛接受,必然有多家索引器的实现,要扩展协议必须要多个索引器在链下达成共识,实现共识升级,这个升级的难度不低于 L1 的共识升级,显然很难满足扩展性的需求。 而针对这种扩展性要求,业界其实已经摸索出了一套成熟的方案,那就是智能合约。区块链的智能合约虚拟机模式,是整个软件工程界摸索出来的最具有扩展性的模式。所以现在的方案有两种:1. 在索引器中引入智能合约。2. 通过智能合约来表达铭文。 索引器中引入智能合约 索引器中引入智能合约,可以叫做智能索引器,或者模块化区块链中的执行层。铭文的模式可以把它理解成 DA first 的 sovereign Rollup,它把 L1 作为 DA,也没有引入 排序器(Sequencer),直接通过 L1 的区块来进行交易排序,而索引器也自然可以理解成执行层。这种模式我在文章《铭文是个 Bug 还是 Feature?nitter.gq/jolestar/status/… 中有过阐述。 而 Rooch 也在这个方向进行探索,具体方案参看 《Bitcoin 的 Layer2 应该怎么做?》nitter.gq/jolestar/status/… 。 我们正在构建一个这种场景的示例游戏,叫做 Bitcoin Plants。由于 Rooch 中有全量的 Bitcoin 状态,智能合约中可以读取到 Ordinals 的 Inscription,用户可以在游戏中把某个 Inscription 作为种子,种出一颗植物,这个植物需要用户定期浇水灌溉,然后它可以结出果实。而这个植物是绑定到 Inscription 上的,如果用户把 Bitcoin 上的 Inscription 转让,这个植物也会被转让。这个简单的例子展示了如何通过执行层的智能合约来给 L1 的铭文创造使用场景。详情参看 github issue github.com/rooch-network/roo… 。 另外,也看到 Ethscriptions 在构建 facet 虚拟机,也是类似的路线,看来业界朋友也都看到了这个方向。 通过智能合约来表达铭文 如果说 Bitcoin 上的是因为没有智能合约,所以开发者琢磨出了铭刻 JSON 的方法。而其他智能合约链上为啥还依然是写 JSON 呢?最不能理解的是 Rollup L2 上写 JSON,那个 JSON 最终还是会 Rollup 到 L1,那为啥去 L2 写呢?L2 不应该自然变成 L1 铭文的索引器吗?自己还需要个铭文索引器?但即便是这样,也挡不住用户玩铭文的热情,很多 L2 都被玩挂了。所以思来想去,我总结了铭文的几个启示: 1. 它是一种半同质化资产,它的流动性并不如 FT,但这在市场起步阶段是优势。 2. 它发行资产的门槛比各链上的 FT 都要低,认知成本也低。各链上发行资产一般都需要部署个智能合约,识别也主要是通过合约地址,而这对新手来说比较困难。而铭文这波把这个门槛基本降到了最低。 3. 它的公平发行模式,Bitcoin 上可以理解成通过 Gas 租赁矿工矿机的 PoW 发行模式。 那既然这样,我们为什么不用智能合约来实现一个铭文协议,并且兼具以上特性呢?于是这周我尝试用 Move 实现了一个 Movescriptions 协议。 首先,它是一种通过 Move 表达的半同质化资产协议。Move 基于数据结构的资产表达方式,非常适合表达这种协议。 1. 通过 tick 这个全局唯一的名字来表达类型,借鉴 BRC20,符合 KISS 原则,简单直观。 2. value 可以用来表达 FT 的余额,或者 NFT 里面的关键值。 3. Metadata 可以附加任意类型的数据。 其次,它支持通过 PoW 来分发资产。部署者可以通过指定 difficulty 来设置一个难度,保证资产的分发更公平,更分散。因为其他链的 Gas 太低,很难实现通过烧 Gas 来防女巫攻击。 而这样通过智能合约实现的铭文,我称之为智能铭文,铭文终于要进化到需要智能合约的时候了😂。 这样的铭刻出来的铭文自然就是智能合约的状态,也不依赖索引器,很容易和各种应用场景进行组合,比如 FOCG。对这个试验感兴趣的朋友可以关注 @movescription ,以及 github github.com/movescriptions/mo… 。当前 Rooch 版本的合约已经初步完成,PoW 分发也已经实现,其他 Move 链的版本正在进行中。 铭文的对开发者的启示 铭文始发于 Bitcoin 的上的随机尝试,如今席卷各公链,它虽然简单粗暴,但极具生命力。它的未来还不明朗,看待它的分歧也很大,但这也是市场有趣的地方,机会总是在产生分歧的地方。那让我们就给它再添加一些随机性吧,开发者们可以行动起来,与其让用户铭刻一堆不知道怎么用的 JSON,不如试试看能不能把它和智能合约结合起来。如果结合成功,它可能是 FOGC 以及 AW 的启动的点火石,这个我们可以下篇再聊。
Bitcoin 的 Layer2 应该怎么做? Bitcoin 上做通用计算智能合约的 Layer2 一直是个难题,因为无法依赖 Bitcoin 网络来保证智能合约安全。我们 18 年的时候尝试过让 Bitcoin 闪电网络支持了 WASM 的智能合约,但也需要第三方来提供仲裁,最后放弃了这个路线。 今年 Ordinals, BRC20 等 BTC 生态火爆的时候,展示了另外一种可能。它们只将 BTC 作为 DA,技术解决方案类似主权 Rollup,但得到了市场和用户的认可。然而,如果想进一步扩展生态,就会发现难题重重,Bitcoin 网络作为 DA 成本还是太高了。 于是我就想到那是不是可以换一种思路,Bitcoin 网络作为一种源 DA,而 Layer2 本身的 DA 通过另外的方式来解决,于是有了 Rooch 当前的方案。 Rooch作为Bitcoin的Side Rollup 1. 核心组件与交互: - Bitcoin:主链,其区块信息被同步到Rooch,为Rooch提供验证数据。 - Rooch:作为Side Rollup,包含以下核心组件: - Bitcoin轻客户端:在Rooch中使用Move智能合约实现,负责校验从Bitcoin同步过来的区块头信息。 - Relayer:定期将Bitcoin的最新区块头信息同步到Rooch的Bitcoin轻客户端。任何人都可以承担Relayer的角色,确保至少有一个诚实的Relayer可以确保整体安全性。 - Rooch Sequencer:与Rooch中的应用合约交互,用于验证交易证明并处理相关应用的逻辑。 - Rooch Full node:存储完整的Rooch链数据,并与DA交互同步交易信息。 - Client:用户或应用客户端,从 Bitcion 网络获取交易证明,并与应用合约交互。 2. 工作流程: 1. Relayer定期将Bitcoin的区块头信息同步给Rooch的Bitcoin轻客户端。 2. Bitcoin轻客户端在Rooch中校验和保存这些区块头信息。 3. 开发者可以使用Move智能合约在Rooch中创建应用,这些应用可以处理和验证Bitcoin交易,因为轻客户端可以提供验证交易的Merkle Tree证明。 4. 客户端从 Bitcoin 获取交易证明,并与应用合约交互。 3. 应用场景: - 触发式应用:例如,当Bitcoin网络上完成某种交易时,自动触发Rooch中的某个合约执行。 - 数据复制与再执行:例如,将Bitcoin上的Ordinals,BRC20,GRC20等标准定义的json在Rooch中再次执行,使Rooch充当去中心化的Indexer服务。这样,任何人都可以部署一个Rooch节点,同步并重新执行交易,创建自己的Indexer服务。 这个方案的关键点: 1. Bitcoin 作为源 DA,它为 Layer2 提供时间,关键数据源,用户的 Ordinals 交易直接发送给 Bitcoin 网络。 2. Rooch 作为 Bitcoin Layer2,会通过智能合约执行 Bitcoin 网络上的 Ordinals 交易。 3. Rooch Layer2 可以发行 Layer2 上的 Coin 以及应用,围绕 Bitcoin 构建扩展生态。 4. 而 Layer2 自己的交易,可以通过写入另外一个 DA,来实现可验证,任何人都可以运行一个节点来校验 Indexer 提供放的数据。 5. 如果生态进一步发展,安全的需求提高,则可以接入一个仲裁层,通过欺诈证明或者有效证明的方式,增强安全性。比如由以太坊来提供仲裁。 这个方案是不修改 Bitcoin 的机制的前提下,实现 Bitcoin Layer2 ,提供应用支持的一种可行方案。 以前大家会限于门户之见,但我认为行业正在从以叙事逻辑转向应用逻辑,以应用为中心,基础设施只是提供支撑,就不会有门户之见了。nitter.gq/jolestar/status/… 如果有对 Bitcoin 生态技术感兴趣的朋友欢迎和我联系,一起探讨技术方案以及实现。
13
49
15
135
82,235
🌐 Big news from @RoochsOfficial! We're excited to share that @joy_protocol's JoyID is now integrating the Rooch Network as its default choice, offering users a seamless #Web3 experience with smoother transactions. Get ready for a game-changing update! 🚀 #JoyID #RoochNetwork
5
19
1
55
14,368
#Rooch community developer Feliciss is exploring using Rooch Container as a backend to implement the #nostr protocol and utilize Rooch as a relay server for nostr. github.com/rooch-network/roo… The benefits of this approach are as follows: 1. Rooch ensures data consistency by storing the application state in a state tree, eliminating data loss. 2. Transactions in Rooch are ultimately written to sequencer and DA, enabling other nodes to recover the data using sequencer and DA. 3. Rooch includes the gas mechanism to prevent DDoS and utilizes an account abstraction to lower user entry barriers. 4. In the future, as Rooch Containers construct the Rooch Network, other application contracts can read nostr data through inter-app communication and state proofs. For instance, text-based airdrops could be carried out based on nostr's content. The preview version of Rooch v0.1 is set to be released soon. Stay tuned for updates!
1
2
1
5
4,597
今天是 88 岁的 Gil Strang 退休的日子,北京时间2023/05/15 23:00,老先生会在这里直播他退休前的最后一节课。grinfeld.org/strang/
我不知道怎么形容 Strang 和他的线代课程对我的影响。在某一个大二的深夜,只是无意中在网易公开课上点开了这门课,没想到那就是我转专业和转行开始的地方。。 dat really reshape my understanding of linear algebra...
3
112
6
520
101,505
1,000 followers 🎇!!! Alright everybody, huddle up, get in close! You all found Rooch before anybody else, and that's pretty cool 😎. Let's do something flashy, maybe take a picture 📸, and celebrate our community!
5
3
1
12
1,712
由 @MoveFunsDAO 举办的第一次线下 Move Dev Meetup(北京)圆满结束,这是一次非常精彩的技术研讨,感谢 @AptosLabs 的核心开发周润天, @RoochNetwork 的首席架构师 Jolestar 以及 @SuiNetwork 的技术大使 UVD 的精彩分享,感谢我们的赞助伙伴 @Connectome_CNTM 以及提供活动场地的车库咖啡!
1
5
13
2,537
What is Rooch? If you are building a Web3 DApp then you are facing 2 choices: architecture and programming language. Rooch is the only project that supports Modular Rollup/Layer2 and Move.
1
8
2
18
4,138
Today is Chinese New Year's Eve. The origin couplets mean: Top couplet: Web1 Web2 Web3 Application wave is higher and higher Next couplet: Layer1 Layer2 Layer3 Scaling capability is faster and faster horizontal couplet: Spring of DApp Happy New Year!
今天是大年三十,贴对联的日子。给大家献上一副 Web3 春联,祝大家新春快乐 上联: Web1 Web2 Web3 应用浪潮波波迭起波波高 下联: Layer1 Layer2 Layer3 扩容能力层层递进层层快 横批:DApp 之春
2
7
1,163
Joe Chen retweeted
最近关于用户和 Move 智能合约交互,不需要授权(Approve) 是更安全还是更不安全的争论很多,这里尝试用通俗的方式来解释一下二者背后的区别以及 Move 这样设计背后的思想。#MoveLang (1/n)
12
57
12
179