<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>AMM on S3v3ru5 Blog</title>
    <link>https://s3v3ru5.github.io/tags/amm/</link>
    <description>Recent content in AMM on S3v3ru5 Blog</description>
    <generator>Hugo -- 0.162.1</generator>
    <language>en</language>
    <lastBuildDate>Fri, 05 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://s3v3ru5.github.io/tags/amm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Property testing Solana AMM using Proptest</title>
      <link>https://s3v3ru5.github.io/posts/solana-property-testing/</link>
      <pubDate>Fri, 05 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://s3v3ru5.github.io/posts/solana-property-testing/</guid>
      <description>&lt;h1 id=&#34;property-testing-solana-amm-using-proptest&#34;&gt;Property testing Solana AMM using Proptest&lt;/h1&gt;
&lt;p&gt;Property testing verifies behavior across thousands of inputs by defining what should always be true. AMMs are ideal targets. They have clear economic properties like no arbitrage, path independence, and slippage bounds that must hold regardless of implementation. This makes it easy to generate random swap sequences, check the properties hold, and let the fuzzer find extreme states that manual testing wouldn&#39;t reach.&lt;/p&gt;
&lt;p&gt;This post walks through the methodology I used to test a novel stableswap Solana AMM during an audit. The curve was complex enough that verifying derivations by hand wasn&#39;t practical. Instead, I used proptest to generate thousands of random swap sequences and verify the economic properties held throughout.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
