<?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: Julian Berridi</title>
    <description>The latest articles on DEV Community by Julian Berridi (@julianberridi).</description>
    <link>https://dev.to/julianberridi</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%2F2888658%2Fabd8b71c-f4ed-45c3-83fb-a8e0cdfa055a.png</url>
      <title>DEV Community: Julian Berridi</title>
      <link>https://dev.to/julianberridi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/julianberridi"/>
    <language>en</language>
    <item>
      <title>Introducing Simulate: A Safer Way to Test Transactions on XRPL</title>
      <dc:creator>Julian Berridi</dc:creator>
      <pubDate>Thu, 20 Mar 2025 16:37:48 +0000</pubDate>
      <link>https://dev.to/ripplexdev/introducing-simulate-a-safer-way-to-test-transactions-on-xrpl-1ena</link>
      <guid>https://dev.to/ripplexdev/introducing-simulate-a-safer-way-to-test-transactions-on-xrpl-1ena</guid>
      <description>&lt;p&gt;When building applications on the XRP Ledger, testing transactions before committing them to the network is critical - especially for high-value or complex operations. To address this need, we're introducing Simulate, a new way to execute a "dry run" of transactions without actually submitting them to the network. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Simulate?&lt;/strong&gt;&lt;br&gt;
Traditionally, developers testing transactions on the XRPL have relied on testnets or devnets. However, these environments may not always mirror mainnet conditions, particularly for transactions that involve real-time market liquidity or large-scale asset transfers. The simulate method bridges this gap by providing a realistic preview of how a transaction would behave on mainnet - without the risks of actual submission.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features of Simulate&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No Actual Submission&lt;/strong&gt;: The transaction is never broadcasted, ensuring it does not affect account balances or ledger state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unsigned Transactions Only&lt;/strong&gt;: This prevents accidental or unauthorized transactions from being executed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Detailed Response Format&lt;/strong&gt;: The response includes metadata and affected ledger objects, helping users understand potential outcomes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How It Works&lt;/strong&gt;&lt;br&gt;
To use the simulate method, users submit a transaction in the same format as a regular submission request, but instead of committing it to the XRP Ledger, the server processes it internally and returns a simulated result. This allows developers to refine their transaction structure, preview fees, and verify expected outputs before making irreversible changes. The simulation replicates the exact conditions of a real submission, offering a reliable prediction of transaction behavior at a specific point in time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pre-flight checks for high-value transactions&lt;/strong&gt;: Ensure that complex transactions behave as expected before execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Avoiding unintended interactions with the DEX&lt;/strong&gt;: Projects distributing tokens and executing large batches of transactions can use Simulate to verify how these will interact with the DEX, helping prevent unexpected financial losses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Institutional-grade reliability&lt;/strong&gt;: Enterprises integrating XRPL into their workflows can incorporate Simulate into their transaction pipelines to ensure smooth execution and prevent failures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debugging transaction failures&lt;/strong&gt;: Instead of submitting a transaction and waiting for an error, simulate provides immediate feedback.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Looking Ahead&lt;/strong&gt;&lt;br&gt;
Simulate enhances the XRPL developer experience by offering a safe and efficient way to test transactions. As we continue improving XRPL tooling, we welcome feedback from the developer community to refine this feature further. &lt;/p&gt;

&lt;p&gt;Watch our video demo:&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/ttqGCbX2W3U"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Learn more: &lt;a href="https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0069-simulate" rel="noopener noreferrer"&gt;https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0069-simulate&lt;/a&gt;&lt;br&gt;
Documentation: &lt;a href="https://opensource.ripple.com/docs/xls-69d" rel="noopener noreferrer"&gt;https://opensource.ripple.com/docs/xls-69d&lt;/a&gt;&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
      <category>xrpl</category>
      <category>ripple</category>
    </item>
  </channel>
</rss>
