{"content":{"title":"Gear 月度更新｜8 月","body":"![](https:\/\/files.mdnice.com\/user\/24706\/6b5d0523-8eee-4441-a843-f7c64c3581a6.png)\r\n\r\n我们与社区分享月度更新已经一年啦！在这个里程碑时刻，我们将在本月开始分享一些重要更新与公告。本月，Gear 推出[官方白皮书](https:\/\/whitepaper.gear-tech.io\/ \"官方白皮书\")，有助于开发者深入了解 Gear Protocol。Gear 白皮书分为以下部分：Gear Protocol 技术背景；Gear 技术架构；Gear Protocol 组件；Gear 与其他 dApp 开发网络的区别。\r\n\r\n![](https:\/\/files.mdnice.com\/user\/24706\/2cbe9795-a837-46e6-a07c-4d1c55350b9d.png)\r\n\r\n本月，我们宣布了与 [Subsquid](https:\/\/medium.com\/@gear_techs\/announcing-the-integration-partnership-between-subsquid-and-gear-a-substrate-based-wasm-smart-8631da905ba4 \"Subsquid\")、[Bounce Finance](https:\/\/medium.com\/@gear_techs\/announcing-bounce-finances-integration-with-gear-a-substrate-based-wasm-smart-contract-platform-526bce1d3966 \"Bounce Finance\")、[RMRK](https:\/\/medium.com\/@gear_techs\/announcing-rmrks-integration-with-gear-a-substrate-based-wasm-smart-contract-platform-44ddbe6c783e \"RMRK\") 和  [Polkassembly](https:\/\/medium.com\/@gear_techs\/announcing-polkassemblys-integration-with-gear-a-substrate-based-wasm-smart-contract-platform-34201ee57a7 \"Polkassembly\") 的集成合作。\r\n\r\n除此之外，我们还与  [Subsquid 一起举办了 AMA](https:\/\/www.gear-tech.io\/events\/ama-gear-x-subsquid \"Subsquid 一起举办了 AMA\")，Gear 创始人兼 CEO Nikolay Volf 参加了 [RMRK Twitter Space](https:\/\/www.gear-tech.io\/events\/roundtable-gear-x-rmrk-on-twitter-spaces \"RMRK Twitter Space\")，向观众介绍了 Gear 以及如何使用 WASM 构建 NFT。9 月 6 日，我们与 [Polkassembly 共同举办了 AMA](https:\/\/twitter.com\/i\/spaces\/1nAKErOqkWXGL \"Polkassembly 共同举办了 AMA\")。\r\n\r\n![](https:\/\/files.mdnice.com\/user\/24706\/f2afb0c3-2222-44ed-8da1-2c0ccd94e5b8.png)\r\n\r\n本月 Gear Twitter 关注人数超过 2 万，这是一个重大的里程碑！我们参加了多场 AMA，分别由 [Crypto Talkz](https:\/\/www.gear-tech.io\/events\/ama-gear-x-crypto-talkz \"Crypto Talkz\"), [UCW](https:\/\/www.gear-tech.io\/events\/ama-gear-x-ucw \"UCW\"), [Polkadotters](https:\/\/www.gear-tech.io\/events\/ama-gear-x-polkadotters \"Polkadotters\"), [Hola Metaverso](https:\/\/www.gear-tech.io\/events\/ama-hola-metaverso \"Hola Metaverso\"), [PolkadotEspañol](https:\/\/www.gear-tech.io\/events\/ama-gear-x-polkadotespanol \"PolkadotEspañol\"), [Geek Chat](https:\/\/www.gear-tech.io\/events\/ama-gear-x-geek-chat \"Geek Chat\") 举办! 我们还参加了由 [Research DAO 主办的 Twitter Space](https:\/\/www.gear-tech.io\/events\/live-talk-hosted-by-research-dao \"Research DAO 主办的 Twitter Space\")，讨论了新公链及其未来发展的机遇。Gear 首席生态负责人 Pavel Salas 也受邀接受了 [The Bad Crypto Podcast 的采访](https:\/\/omny.fm\/shows\/badcrypto\/deploying-dapps-made-easy-with-pavel-salas-of-gear \"The Bad Crypto Podcast 的采访\")。\r\n\r\n![](https:\/\/files.mdnice.com\/user\/24706\/ae677772-4012-4deb-ac83-0232651d5520.png)\r\n\r\n我们组织并参与了众多线上线下活动。如[墨西哥的 Gear workshop](https:\/\/www.gear-tech.io\/events\/gear-mexico-workshop \"墨西哥的 Gear workshop\")、[中文线上 workshop](https:\/\/www.gear-tech.io\/events\/workshop-for-the-chinese-community-gear-whitepaper-and-future-developments \"中文线上 workshop\")、[墨西哥的 Meetup](https:\/\/www.gear-tech.io\/events\/mexico-meetup-gear-nft \"墨西哥的 Meetup\")、[大理首场 Meetup](https:\/\/www.gear-tech.io\/events\/first-meetup-in-dali-china \"大理首场 Meetup\")、[Polkadoxxed Meetup](https:\/\/www.gear-tech.io\/events\/polkadoxxed-meetup \"Polkadoxxed Meetup\"), [Substrate Saturday](https:\/\/www.gear-tech.io\/events\/live-stream-substrate-saturday \"Substrate Saturday\") 等等。另外，我们发布了关于 [NFT 及其用例](https:\/\/www.gear-tech.io\/news\/what-are-non-fungible-tokens-and-what-are-their-biggest-use-cases \"NFT 及其用例\")、[NFT 市场及其背后故事](https:\/\/www.gear-tech.io\/news\/what-is-the-story-behind-the-nft-marketplaces-and-how-to-build-your-own-nft-marketplace-on-gear-platform \"NFT 市场及其背后故事\")的教育性文章。九月份我们还将举办更多精彩活动！\r\n\r\n同样，我们想与大家分享近期的技术更新，使 Gear 社区成员能够了解近期进展。\r\n![](https:\/\/files.mdnice.com\/user\/24706\/3170f784-0d96-4a15-9311-ee0222da066c.png)\r\n\r\n在 8 月，我们[引入了对多运行时的支持](https:\/\/github.com\/gear-tech\/gear\/pull\/1304 \"引入了对多运行时的支持\")。这个 PR 提供了对多运行时的支持，这就为我们提供了一个机会，即拥有几个具有类似底层机制但在某些特定细节上可能不同的链（想想 Polkadot vs Kusama vs Westend vs Rococo 等等）。例如，可以有一条具有 PoS 共识和 Staking 的独立链，而另一条链可以实现必要的机制以插入中继链并充当 Polkadot 生态系统中的平行链，从而通过 XCM 系统为其他网络参与者提供对 Gear 计算引擎的访问。这些运行时在同一个源代码树中共存，因此可以在它们之间共享 pallet，从而无需为不同的链维护单独的分支。\r\n\r\n我们[在 pallet_gear 中引入了一个新的 extrinsic 为 create_program](https:\/\/github.com\/gear-tech\/gear\/pull\/1241 \"在 pallet_gear 中引入了一个新的 extrinsic 为 create_program\")。这个更新使得从已有的代码创建一个程序成为可能，这是 extrinsic 的特定用法。我们还[删除了执行后比较的页](https:\/\/github.com\/gear-tech\/gear\/pull\/1275 \"删除了执行后比较的页\")。现在在惰性页模式下，我们将页数据上传到存储。旧的逻辑是在执行前后比较页数据，如果数据发生变化则上传数据。所以，现在在惰性页模式下，比较被删除了。我们通过添加带有继承者 id 的新程序状态 (Exited) 来[实现已退出程序余额的继承](https:\/\/github.com\/gear-tech\/gear\/pull\/1347 \"实现已退出程序余额的继承\")。我们还[更正了错误回复的生命周期](https:\/\/github.com\/gear-tech\/gear\/pull\/1348 \"更正了错误回复的生命周期\")。现在，不需要在 mailbox 中存储错误回复，所以这个 PR 消除了这种可能性。\r\n\r\n现在，让我们转向 Gear 生态的最新进展，Gear 实现了 [NFT 像素板代码示例](https:\/\/github.com\/gear-dapps\/nft-pixelboard\/pull\/4 \"NFT 像素板代码示例\")，这是一个 NFT 市场，其中 NFT 是存储在区块链画布上的像素块。这个智能合约的想法是受到[「The Million Dollar Homepage」](http:\/\/www.milliondollarhomepage.com\/ \"「The Million Dollar Homepage」\")的启发，但在这里 NFT 可以在任何时候着色，而不仅仅是在购买和转售时。\r\n\r\n我们都知道怎么玩石头剪刀布，对吧？所以 Gear 实现了一个[石头剪刀布游戏](https:\/\/github.com\/gear-dapps\/rock-paper-scissors\/pull\/2 \"石头剪刀布游戏\")的逻辑，并把它做成了一个智能合约代码示例。Gear 还首次发布了[第三方托管智能合约的示例](https:\/\/github.com\/gear-dapps\/escrow\/pull\/4 \"第三方托管智能合约的示例\")。传统上，第三方托管是一种特殊账户，其中存放和存储一些资产（例如货币或股票），直到满足某些条件。在智能合约方面，第三方托管由存储在区块链上的钱包执行，与传统第三方托管一样，可以从一个用户那里接收一些资产（例如加密货币或同质化代币），并在满足某些条件时，再把它们发送给另一个用户。请查看相关的视频教程。\r\n\r\nGear 还初步发布了[供应链智能合约的示例](https:\/\/github.com\/gear-dapps\/supply-chain\/pull\/5 \"供应链智能合约的示例\")。供应链是用于跟踪和交付给最终消费者各种产品的系统。通常，如果没有大量的书面工作和其他层级的中心机构，这样的系统就无法运行。所有这些都会花费大量时间和金钱，并且增加了意外错误的可能性，或者最糟糕的是，增加了欺诈的可能性。借助智能合约和区块链技术，有可能通过使供应链更加高效、可靠和透明来消除这些问题。\r\n\r\n欢迎关注 Gear Twitter，加入 Telegram 社群，了解最新信息！你也可以直接访问 Gear 官网 gear-tech.io.\r\n\r\n## 关于 GearFans\r\n\r\n**Gear 是波卡生态的计算组件，GearFans 是 Gear 爱好者社区。**\r\n官网：https:\/\/gear-tech.io\/\r\nTwitter：https:\/\/twitter.com\/gear_techs\r\nGitHub：https:\/\/github.com\/gear-tech\r\nDiscord：https:\/\/discord.com\/invite\/7BQznC9uD9\r\nTelegram 中文群：https:\/\/t.me\/Gear_CN\r\nQQ 群：67770333"},"author":{"user":"https:\/\/learnblockchain.cn\/people\/6417","address":null},"history":null,"timestamp":1664155018,"version":1}