<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Scott Determan</title>
    <description>The latest articles on DEV Community by Scott Determan (@sdeterman).</description>
    <link>https://dev.to/sdeterman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F714569%2Fe5f5de59-c5fc-4632-b9a2-5ce5090e011f.jpeg</url>
      <title>DEV Community: Scott Determan</title>
      <link>https://dev.to/sdeterman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sdeterman"/>
    <language>en</language>
    <item>
      <title>Bridging Trust: Bishop Fox Completes XLS-38d Audit</title>
      <dc:creator>Scott Determan</dc:creator>
      <pubDate>Thu, 24 Aug 2023 00:41:52 +0000</pubDate>
      <link>https://dev.to/ripplexdev/bridging-trust-bishop-fox-completes-xls-38d-audit-2aoi</link>
      <guid>https://dev.to/ripplexdev/bridging-trust-bishop-fox-completes-xls-38d-audit-2aoi</guid>
      <description>&lt;p&gt;As we continue to see novel and exciting developments on the XRP Ledger trust and security remain paramount, which is why significant measures are taken to ensure new launches are robust. With each development we see, there is an understanding that users and indeed developers need reassurance that their activity is not vulnerable to risk. To address these concerns, a comprehensive security audit plays a vital role in establishing confidence and verifying the integrity of a project. &lt;/p&gt;

&lt;p&gt;We are excited to announce that a recent milestone has been reached in the development of XLS-38d cross-chain bridging primitive for the XRP Ledger. In an effort to prioritize user safety and ensure the robustness of the cross-chain bridging feature, a &lt;a href="https://ripple.com/reports/Ripple-Side-Chains-Assessment-Report-XRPL.pdf"&gt;rigorous security audit&lt;/a&gt; was conducted by Bishop Fox, a leading blockchain security firm.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audit Findings
&lt;/h2&gt;

&lt;p&gt;The audit primarily focused on the following facets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Identify vulnerabilities in systems and services exposed on the internet-facing services related to the XRP side chains bridging infrastructure.&lt;/li&gt;
&lt;li&gt;Assess the overall security of the rippled bridging protocol, witness server, and RPC interfaces.&lt;/li&gt;
&lt;li&gt;Enumerate any weaknesses or potential vulnerabilities within the rippled XRP bridging feature that could be remediated to improve the feature’s security posture.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The finalized security assessment offered a total of 8 findings (2 medium, 5 low and 1 informational) of which none were deemed critical or major. The Ripple engineering team has since acknowledged the relevant findings and have prepared fixes with a goal of deploying an effective update in the next rippled release.&lt;/p&gt;

&lt;h2&gt;
  
  
  XRPL Sidechains: The Pivotal Role of XLS-38d
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dev.to/ripplexdev/xrp-ledger-sidechains-available-on-new-devnet-24ep"&gt;XRPL Sidechains&lt;/a&gt; enable developers to create their own instance of the XRP Ledger, separate from mainnet. Expert developers that have specific use cases or customizability needs will benefit, as will financial institutions interested in creating permissioned networks that leverage the inherent advantages of the XRPL and XRP liquidity.  &lt;/p&gt;

&lt;p&gt;XRPL Sidechains are dependent on the XLS-38d amendment that will enable a cross-chain bridge that will be secured by &lt;a href="https://dev.to/ripplexdev/xrp-ledger-sidechains-redesigned-190i"&gt;witness servers&lt;/a&gt;. The bridge can move XRP (and issued assets) bi-directionally between the XRPL Mainnet and an XRPL Sidechain.  This cross-chain bridging software will also be used to establish a connection between XRPL Mainnet and the upcoming EVM sidechain. This is an important development that will bring interoperability to the XRP Ledger ecosystem and empower developers with better customization. To ensure this amendment is robust in its ability to support the development of the XRP Ledger, Bishop Fox’s audit was a necessary and effective step.&lt;/p&gt;

&lt;p&gt;All developers are welcome to build integrations and test functionalities on this open source technology. Refer to &lt;a href="https://opensource.ripple.com/docs/xls-38d-cross-chain-bridge/cross-chain-bridges/"&gt;documentation&lt;/a&gt;, and there is an active &lt;a href="https://discord.com/invite/xrpl"&gt;Discord&lt;/a&gt; community where developers can share ideas and ask questions to other XRPL community members.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>XRP Ledger Sidechains, Redesigned</title>
      <dc:creator>Scott Determan</dc:creator>
      <pubDate>Thu, 01 Sep 2022 23:09:49 +0000</pubDate>
      <link>https://dev.to/ripplexdev/xrp-ledger-sidechains-redesigned-190i</link>
      <guid>https://dev.to/ripplexdev/xrp-ledger-sidechains-redesigned-190i</guid>
      <description>&lt;p&gt;Last year, David Schwartz unveiled a vision for &lt;a href="https://dev.to/ripplexdev/a-vision-for-federated-sidechains-on-the-xrp-ledger-2o7o"&gt;federated sidechains&lt;/a&gt;: an innovation intended for developers to customize the &lt;a href="http://www.xrpl.org"&gt;XRP Ledger (XRPL)&lt;/a&gt; to the needs of their use case, or build and experiment with new features that, if successful, could be proposed to the mainnet. &lt;/p&gt;

&lt;p&gt;For the last few months, federated sidechains have been available in a &lt;a href="https://dev.to/ripplexdev/ripplex-releases-engineering-preview-of-proposed-federated-sidechains-system-3ncp"&gt;preview mode&lt;/a&gt; for developers to experiment with the transfer of tokens including the XRP Ledger’s native XRP from the "main" XRPL to a "sidechain." After testing and reviewing community feedback from the preview, Ripple engineers are excited to unveil the next iteration of XRPL sidechains with a new design. &lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding the New XRP Ledger Sidechains
&lt;/h2&gt;

&lt;p&gt;The original design for XRPL sidechains introduced an innovation called a “federator”—a piece of software that connects to at least two instances of the XRPL software. On one side, the federator connects to XRP Ledger Mainnet and to one (or more) sidechains on the other side. &lt;br&gt;
The federator software allows anyone to run a sidechain to the XRP Ledger while having the freedom to decide how their chains work.&lt;/p&gt;

&lt;p&gt;While the core concept remains the same, the new design for XRP Ledger sidechains does away with the federator and instead leverages a “witness.”&lt;/p&gt;

&lt;p&gt;Why? Witness servers introduce more simplicity for developers wanting to get started with sidechains. Moving from a system in which servers depend on a shared global state between servers (a federator) to one where servers act independently (a witness) makes testing and debugging easier while making sidechains more robust in production. The new design also addresses several pain points, such as fee escalation and transaction throughput. &lt;/p&gt;

&lt;p&gt;Any bridging solution between blockchains—such as the XRPL and its sidechains—should support the following primitives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Putting assets into trust on the mainchain&lt;/li&gt;
&lt;li&gt;Issuing wrapped assets on the sidechain&lt;/li&gt;
&lt;li&gt;Returning or destroying wrapped assets on the sidechain&lt;/li&gt;
&lt;li&gt;Proving to a sidechain that assets were put into trust on the mainchain&lt;/li&gt;
&lt;li&gt;Proving to a mainchain that assets were returned or destroyed on the sidechain&lt;/li&gt;
&lt;li&gt;Preventing assets from being wrapped multiple times, and preventing transaction replay&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While both designs support these primitives, the new design results in a simpler implementation. It also solves for a number of errors that previously hindered efficiency.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Federator&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Witness&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;In the situation of fee escalation, servers would have to decide on what fee to use&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Transactions are not submitted by the servers, so users can specify a fee like any other transaction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Out-of band transactions resulted in the need to use tickets&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;This is no longer an issue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failed transactions resulted in refunds&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Users can re-send the claim to an account&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fees paid by door resulted in awkward accounting for locked assets&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Fees are paid by a user account&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Door accounts acted as a bottleneck, limiting transactions on a single account&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Transactions are submitted by non-door accounts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Previously, federators relied on a codebase that was a fork of rippled&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Witnesses use a separate (and much simpler) codebase, so a few additional transactions are added to rippled&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Testing and bug fixes were complex, due to all federators needing to stay in sync&lt;/td&gt;
&lt;td&gt;→&lt;/td&gt;
&lt;td&gt;Transactions can be tested and debugged in isolation since the witness server is much simpler&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;While witness servers solve for the issues identified above, there is still some testing and exploration needed to address things like creating accounts and the need for wallets, which is often complex. &lt;/p&gt;

&lt;h2&gt;
  
  
  Cross-Chain Transfers
&lt;/h2&gt;

&lt;p&gt;The XRPL mainchain and sidechain operate as parallel networks with independent nodes and validators. With the new design, the witness watches transactions and attests that assets have moved into specially designated accounts.&lt;/p&gt;

&lt;p&gt;Doing so allows the ability to carry out a cross-chain transfer in which:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The user claims a cross-chain claim ID on the destination chain.&lt;/li&gt;
&lt;li&gt;The user submits a cross-chain transfer transaction on the source chain, attaching the claimed cross-chain claim ID and including a reward amount for the witness servers. This locks or burns the asset on the source chain.&lt;/li&gt;
&lt;li&gt;The witness server signs an attestation saying that the funds were locked/burned on the source chain. This is then submitted as a transaction on the destination chain.&lt;/li&gt;
&lt;li&gt;When there is a quorum of witness attestations, the funds can be claimed on the destination chain. If a destination account is included in the initial transfer, then the funds automatically transfer when quorum is reached. Otherwise, the user can submit a claim transaction for the transferred value on the destination chain.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Simply put, a witness watches transactions and attests that assets have moved into specially designated accounts. This is due to its use of a cross-chain claim ID, which makes it so that the ledger doesn’t need to keep track of all hashes that it has seen to prevent replay attacks and the fact that signatures are broadcast on the ledger instead of users needing to query the witness server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sidechains Roadmap
&lt;/h2&gt;

&lt;p&gt;Looking ahead, we’re working on an &lt;a href="https://twitter.com/JoelKatz/status/1443642565526360075?s=20&amp;amp;t=WoEoYoun1egGgwGi5Bg4cg"&gt;Ethereum Virtual Machine (EVM)&lt;/a&gt; sidechain to allow even more developers easy access to XRPL’s feature set and bring existing Solidity-based smart contracts written for EVM-compatible chains to the XRPL. The first step in bringing this to life will be a devnet release, and we’re excited to update on our progress in the coming weeks. &lt;/p&gt;

&lt;p&gt;As a direct response to the demand for smart contract-like functionality on the XRP Ledger, the team at XRPL Labs has introduced Hooks with plans to deploy the functionality to an XRPL sidechain. Doing so will allow for programmability on top of XRPL as well as smart contact capabilities that are fast, low-cost and eliminate the need for Solidity or contract-to-contract calling. &lt;/p&gt;

&lt;p&gt;We will keep the community apprised of new updates as we continue to progress our roadmap for XRPL sidechains. &lt;/p&gt;

&lt;h2&gt;
  
  
  Unlocking New Use Cases for the XRPL
&lt;/h2&gt;

&lt;p&gt;Sidechains ultimately allow for experimentation and specialization with new features on the XRPL. For example, developers could implement new features such as smart contracts via a sidechain to unlock native DeFi (and even more tokenization) capabilities on the XRP Ledger. Moreover, sidechains let developers use XRP in their own blockchain environment—effectively and without having to build value for a new token. &lt;/p&gt;

&lt;p&gt;Sidechains also act as an environment for imagining new XRPL functionality while ensuring its existing feature set isn’t compromised. This is because sidechains have their own validators and can have their own set of custom transactions. Because sidechains act as their own blockchain, developers can pick and choose XRPL features that best fit their particular use case. Devs could even create a private, parallel network for a permissioned blockchain if they wanted—all the while enjoying the inherent benefits of the main XRPL like low costs and fast transactions. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;With the re-release of sidechains, we invite developers and contributors to the XRPL community to comment and ask questions below. To learn more about sidechains, visit &lt;a href="https://github.com/XRPLF/rippled/pull/4292"&gt;GitHub&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>RippleX Releases Engineering Preview of Proposed Federated Sidechains System</title>
      <dc:creator>Scott Determan</dc:creator>
      <pubDate>Thu, 30 Sep 2021 17:09:58 +0000</pubDate>
      <link>https://dev.to/ripplexdev/ripplex-releases-engineering-preview-of-proposed-federated-sidechains-system-3ncp</link>
      <guid>https://dev.to/ripplexdev/ripplex-releases-engineering-preview-of-proposed-federated-sidechains-system-3ncp</guid>
      <description>&lt;p&gt;&lt;em&gt;Update: As of December 12 2021, XRPL &lt;a href="https://xrpl.org/blog/2021/rippled-1.8.1.html"&gt;version 1.8.1&lt;/a&gt; has experimental functionality to support sidechain federators. It is now possible to connect a sidechain to the Mainnet or a test network through servers running version 1.8.1 or higher. See &lt;a href="https://xrpl.org/federated-sidechains.html"&gt;here&lt;/a&gt; for documentation on Federated Sidechains on the XRPL.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In addition, the application window for the XRPL Grants Program is now closed, and the link has been removed from this post.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Earlier this year, Ripple &lt;a href="https://ripple.com/insights/a-vision-for-federated-sidechains-xrp-ledger/"&gt;shared&lt;/a&gt; a vision for Federated Sidechains that can complement the XRP Ledger (XRPL) Mainnet. Federated Sidechains support the developer community by unlocking new capabilities related to smart contracts and DeFi, interoperability, NFTs and more.&lt;/p&gt;

&lt;p&gt;Today, an engineering preview of Federated Sidechains that can be used with the XRPL is available for developers to experiment with. Developers are welcome to view and comment on the &lt;a href="https://github.com/ripple/rippled/blob/sidechain/docs/sidechain/design.md"&gt;technical design&lt;/a&gt;, as well as leverage this technology to &lt;a href="https://github.com/ripple/rippled/blob/sidechain/docs/sidechain/GettingStarted.md"&gt;start&lt;/a&gt; exploring its potential.&lt;/p&gt;

&lt;p&gt;At a high level, each sidechain acts as its own blockchain, while federation enables value in the form of XRP and other tokens to move efficiently from the sidechain to the Mainnet. Federated Sidechains operate without compromising the impressive speed, efficiency, and throughput of the public XRPL Mainnet.&lt;/p&gt;

&lt;p&gt;Federated Sidechains create exciting new opportunities for developers. They expand the scope for developers to customize the core, proven XRPL technology to the needs of a specific use case or project. Examples of the kinds of customization enabled include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Innovative design characteristics that can be tuned to specific use cases like tokenization, DeFi, or payments &lt;/li&gt;
&lt;li&gt;Flexibility to make permissioned or nearly permissionless, centralized or largely decentralized ledgers whose assets can be traded on the Mainnet DEX&lt;/li&gt;
&lt;li&gt;Choice in validators and flexibility of system rules (e.g. optional transaction fees and reserve requirements)&lt;/li&gt;
&lt;li&gt;Opportunity to temporarily manage a sidechain and shut it down after it has served its purpose &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note that successful new sidechain features may even eventually be ported to the XRPL Mainnet. &lt;/p&gt;

&lt;p&gt;Federated Sidechains give developers an opportunity to launch new features and innovative applications built on foundational XRP Ledger technology, like a smart sidechain with &lt;a href="https://hooks-testnet.xrpl-labs.com/"&gt;Hooks&lt;/a&gt; enabled. Developers can also create private or public sidechains, with public sidechains available for the community to leverage for various use cases. &lt;/p&gt;

&lt;p&gt;Ripple itself will be looking to leverage the flexibility and customizability that Federated Sidechains afford in its own &lt;a href="https://ripple.com/insights/ripple-pilots-a-private-ledger-for-central-banks-launching-cbdcs/"&gt;CBDC efforts&lt;/a&gt;, making it possible for private CBDC ledgers to easily and seamlessly interconnect.&lt;/p&gt;

&lt;p&gt;See &lt;a href="https://xrpl.org/federated-sidechains.html"&gt;here&lt;/a&gt; for documentation on Federated Sidechains on the XRPL, or start exploring with our Federated Sidechains launch &lt;a href="https://github.com/xpring-eng/sidechain-launch-kit"&gt;kit&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Please share your thoughts below.&lt;/p&gt;

</description>
      <category>xrpl</category>
      <category>crypto</category>
      <category>blockchain</category>
    </item>
  </channel>
</rss>
