<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 0xSunvo on Medium]]></title>
        <description><![CDATA[Stories by 0xSunvo on Medium]]></description>
        <link>https://medium.com/@sunvo?source=rss-790c5d504efd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*v3JW-oilMfHONjRm.jpg</url>
            <title>Stories by 0xSunvo on Medium</title>
            <link>https://medium.com/@sunvo?source=rss-790c5d504efd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:40:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sunvo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[分步指南：将 RedStone Oracle 集成到 DApp 中]]></title>
            <link>https://medium.com/@sunvo/%E5%88%86%E6%AD%A5%E6%8C%87%E5%8D%97-%E5%B0%86-redstone-oracle-%E9%9B%86%E6%88%90%E5%88%B0-dapp-%E4%B8%AD-69f674068787?source=rss-790c5d504efd------2</link>
            <guid isPermaLink="false">https://medium.com/p/69f674068787</guid>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[0xSunvo]]></dc:creator>
            <pubDate>Fri, 11 Aug 2023 15:32:40 GMT</pubDate>
            <atom:updated>2023-08-11T15:32:40.311Z</atom:updated>
            <content:encoded><![CDATA[<p>本教程将指导如何将 RedStone Oracle 无缝集成到去中心化应用程序 (DApp) 中。RedStone Oracle 提供可靠且多样化的数据源，可以增强 DApp 的功能和准确性。</p><p><strong>先天条件：</strong></p><ul><li>对区块链技术有基本的了解</li><li>熟悉以太坊智能合约开发</li><li>安装了 Node.js 和 npm（节点包管理器）</li></ul><p><strong>步骤 1：安装所需的软件包</strong></p><p>首先，安装 <strong>@redstone-finance/evm-connector</strong> 软件包，打开终端并运行</p><blockquote>npm install @redstone-finance/evm-connector</blockquote><p><strong>步骤 2：选择集成模型</strong></p><p>RedStone Oracle 提供三种集成模型：Core、Classic 和 X。选择最的 DApp 要求的模型。每种模型都有其优点，因此选择与项目目标相符的模型。</p><p><strong>步骤 3：将 RedStone 集成到您的智能合约中</strong></p><p>根据所选模型，需要将 RedStone Oracle 集成到智能合约中</p><p>以下是每个模型的总体概述：</p><p><strong>Core 模型：</strong></p><ul><li>从 导入必要的基础合同 <strong>@redstone-finance/evm-connector/contracts</strong></li><li>从基本合同的基础上扩展合同</li><li>使用提供的函数从 RedStone Oracle 获取数据</li></ul><p><strong>Classic 模型</strong></p><ul><li>从适当的基础合同中扩展合同</li><li>使用提供的函数将数据存储在链上</li><li>设置数据更新的条件</li></ul><p><strong>X 模型</strong></p><ul><li>在合同中实施两步执行模式</li><li>在没有精确上下文的情况下在链上记录用户意图</li><li>推送价格数据进行最终结算</li></ul><p><strong>步骤 4：将 RedStone 集成到 JavaScript 代码中</strong></p><p>要在 DApp 中访问 RedStone Oracle，使用 web3.js 或 ethers.js 将其集成到 JavaScript 代码中。<strong>WrapperBuilder</strong> 从包中导入 <strong>@redstone-finance/evm-connector</strong> 并使用所需的数据服务包装合同。</p><p><strong>步骤 5：测试部署</strong></p><p>在部署之前，彻底测试与 RedStone Oracle 集成的智能合约。确保数据准确获取并及时。一旦测试通过，将 DApp 部署到所选的L1/L2网络</p><p><strong>第 6 步：后期维护</strong></p><p>部署后，监控 DApp 的性能以及从 RedStone Oracle 获取的数据的准确性。定期维护和更新合同，确保平稳运行。</p><p><strong>最后</strong></p><p>成功将 RedStone Oracle 集成到 DApp 中后，可通过可靠的数据源增强其功能。DApp 现在可以无缝访问实时数据，改善用户体验等</p><p>有关更详细的信息和示例，请参阅 <a href="https://docs.redstone.finance/"><strong>RedStone 官方文档</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69f674068787" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RedStone：探索预言机集成的三重境界]]></title>
            <link>https://medium.com/@sunvo/redstone-%E6%8E%A2%E7%B4%A2%E9%A2%84%E8%A8%80%E6%9C%BA%E9%9B%86%E6%88%90%E7%9A%84%E4%B8%89%E9%87%8D%E5%A2%83%E7%95%8C-d2bb0799fc8c?source=rss-790c5d504efd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2bb0799fc8c</guid>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[0xSunvo]]></dc:creator>
            <pubDate>Tue, 08 Aug 2023 08:00:19 GMT</pubDate>
            <atom:updated>2023-08-08T08:02:11.879Z</atom:updated>
            <content:encoded><![CDATA[<p>区块链的崛起已经改变了我们的生活方式和商业模式，但与外部世界的数据交换仍然是一个挑战。在这个领域，预言机（Oracle）扮演着关键角色，它们连接着智能合约和现实世界的数据。</p><p>在众多预言机项目中，RedStone 以其独特的模型和功能脱颖而出，为区块链生态系统提供了强大的数据支持。本文深入了解 RedStone 的三种集成模型，以及它们如何为不同的应用场景带来革命性的变化。</p><p><strong>一、核心模型：闪电般的数据传输</strong></p><p>核心模型是 RedStone 的首要集成方式，适用于那些需要实时数据的场景。无论是实时交易还是动态价格监测，核心模型都能够以闪电般的速度将数据传输到区块链上。这种模型的关键在于在同一笔交易中获取数据，从而提高了用户体验和交易效率。</p><p>举个例子，假设有一个去中心化交易所（DEX）项目正在进行交易，需要及时获取最新的价格数据。通过核心模型，该DEX可以在用户交易的同时，快速地从外部数据源获取价格信息，并将其传输到区块链上，确保交易的准确性和实时性。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IegbDIZsdhfaE55X.png" /></figure><p><strong>二、经典模型：自定义数据源与灵活配置</strong></p><p>经典模型为那些需要自定义数据源和更新条件的应用提供了灵活的解决方案。这种模型允许项目根据自身需求，选择合适的数据源，并进行灵活的配置和管理。无论是供应链管理还是多链互操作性，经典模型都能够满足不同应用的需求。</p><p>以供应链管理为例，一个企业可以利用 RedStone 经典模型，将供应链的各个环节数据与区块链进行连接。这样一来，企业可以实时监测物流信息、库存情况等数据，实现供应链的高效管理和追溯。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TW72rIYQXWn1HL2z.png" /></figure><p><strong>三、X 模型：金融应用的前沿选择</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aKxysdMhfWCex_VQ.png" /></figure><p>X 模型是 Redstone 为金融应用而设计的创新模型，它专注于解决前置攻击的问题。在金融领域，前置攻击可能导致交易的不公平和损失。X 模型通过在用户操作后的下一个区块内，提供准确的价格数据，有效地避免了前置攻击的风险。</p><p>一个金融衍生品项目可以利用 X 模型，确保在用户进行交易操作后，价格数据得到及时更新，从而避免不必要的争议和损失。</p><p>例如链上的杠杆合约、期权等产品，我们可以看到一些知名的 LSDFI 协议、 StarkNet 上的借贷和杠杆协议以及集成 Redstone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4bRYJVmRT41OAX-PznVXFQ.png" /></figure><p><strong>结语</strong></p><p>通过这三种集成模型，Redstone 为各种不同的应用场景提供了定制化的解决方案。无论是需要实时数据的交易所、供应链管理系统，还是金融应用，Redstone 都能够以其独特的模型和功能，为区块链生态系统带来更多的可能性和创新。</p><p>正如我们所看到的，Redstone 的三种集成模型各具特色，为不同应用场景提供了灵活和高效的数据传输方案。无论是快速数据传输、自定义数据源还是金融应用的前沿选择，Redstone 都在不断创新，为区块链世界注入新的活力和机会。</p><p>官方推特：<a href="https://twitter.com/redstone_defi">https://twitter.com/redstone_defi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2bb0799fc8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Msafe: A Secure and User-Friendly Wallet for Digital Assets]]></title>
            <link>https://medium.com/@sunvo/msafe-a-secure-and-user-friendly-wallet-for-digital-assets-72e3f087f573?source=rss-790c5d504efd------2</link>
            <guid isPermaLink="false">https://medium.com/p/72e3f087f573</guid>
            <dc:creator><![CDATA[0xSunvo]]></dc:creator>
            <pubDate>Thu, 03 Aug 2023 15:22:43 GMT</pubDate>
            <atom:updated>2023-08-03T15:22:43.280Z</atom:updated>
            <content:encoded><![CDATA[<p>As the world becomes increasingly digital, more and more people are turning to cryptocurrencies and other digital assets as a way to store and manage their wealth. However, with the rise of digital assets comes the need for secure and user-friendly wallets that can protect these assets and make them easily accessible. This is where Msafe comes in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wbdeVwaStMq7fQyI" /></figure><p>Msafe is a multi-signature wallet built on the APTOS blockchain network. It is designed to provide users with a secure and easy way to store, manage, and transact with their digital assets. The wallet is non-custodial, which means that users have full control over their private keys and digital assets.</p><p>One of the key features of Msafe is its support for multi-signature technology. This provides an added layer of security by requiring multiple signatures or approvals to authorize a transaction. Users can set up multisig accounts and specify the number of signatures required to complete a transaction. This feature makes Msafe an ideal wallet for individuals and institutions looking for a secure way to manage their digital assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jyIf61Q8LewAmXKG" /></figure><p>Msafe is also designed to be user-friendly, with a simple and intuitive interface that makes it easy for anyone to use. Users can add, send, receive, and manage their digital assets directly from the wallet, without the need for a separate exchange or platform. The wallet supports a wide range of digital assets, including cryptocurrencies, tokens, and NFTs.</p><p>The wallet is also built on the APTOS blockchain, which uses a unique consensus mechanism called Proof-of-Transaction (PoT) that eliminates the need for miners and reduces transaction costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L107_0CgYnkFOx5y" /></figure><p>Msafe is an attractive option for anyone looking to store, manage, and transact with their digital assets. Whether you are a seasoned crypto trader or a beginner, Msafe offers a simple and secure way to manage your digital assets. The wallet’s multi-signature and non-custodial features, as well as its support for a wide range of digital assets, make it an ideal choice for individuals and institutions looking for a secure and easy-to-use wallet.</p><p>In conclusion, Msafe is a secure and user-friendly wallet that is built on a fast and cost-effective blockchain network. Its multi-signature and non-custodial features, as well as its support for a wide range of digital assets, make it an attractive option for anyone looking to store, manage, and transact with their digital assets. As the digital asset market continues to grow, wallets like Msafe will become increasingly important in ensuring the security and accessibility of these assets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72e3f087f573" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>