Back to Blog

Blog

Check out our blog with the latest news, stories and announcement from the NeonEVM ecosystem.

Announcements

One Codebase, Two Worlds: Stable AMMs on Solana via Neon

Written by
Julia Gallen
Published on
29 Aug 2025
Copy link

One Codebase, Two Worlds: Stable AMMs on Solana via Neon

When you think of stablecoin trading, Curve is one of the first protocols that comes to mind. Its stableswap design became Ethereum’s backbone for capital-efficient swaps, powering billions in daily volume at its peak. On Solana, the AMM landscape looks different but no less impressive - Raydium, Orca, and Meteora now handle well over a billion dollars in trades every day, helping make Solana the second-largest chain by TVL.

But the two ecosystems - EVM and Solana - evolved separately. Solidity developers wanting to reach Solana had to rewrite everything in Rust, while Solana users had to juggle bridges and RPCs to access Ethereum-style apps.

That’s the gap Neon closes. With minimal changes to the codebase, you can run Ethereum DeFi logic natively on Solana - no RPC switching, only minor additions to the code without full rewrites, and the same wallet-native UX Solana users already expect.

To prove it, we deployed a live StableSwap demo: a Curve-style AMM with Solidity contracts, running directly on Solana through Neon. This live demo showcases EVM-Solana compatibility with one of DeFi's core primitives.

Putting Neon to the Test

We didn’t want to settle for a “Hello World” token contract. To show that Neon really brings Ethereum DeFi to Solana, we needed something complex, battle-tested, and central to on-chain liquidity.

So we chose a stable AMM. These contracts are math-heavy, tested in production across multiple chains, and central to billions in liquidity.

The StableSwap Demo

To put Neon through its paces, we deployed a live StableSwap demo on Devnet. It’s not just a smart contract test in isolation - it comes with a simple frontend where you can connect your wallet, view pools, and start interacting right away (check out the demo on GitHub).

There are two pools available in the interface:

  • Neon Curve StableSwap Pool - a Curve-style AMM built to handle stablecoin swaps with high capital efficiency and low slippage. This is the kind of logic that has processed billions in daily volume on Ethereum, now running natively on Solana via Neon.
  • Test Pool - a test pool with devnet tokens (wSOL, fUSDC, USDC). The idea here is to let anyone experiment without worrying about “real” assets. Developers can play around with adding and withdrawing liquidity, or trying out different swap flows without consequence.

What’s important is the experience. From the user’s perspective, it feels like any other Solana dApp:

  • You connect your Phantom wallet.
  • You can see the available pools and their token balances.
  • You deposit tokens into a pool, and the contract mints LP tokens back to you.
  • You perform swaps between tokens in the pool with predictable, low slippage pricing.

Solana Native SDK

What makes this possible is Neon’s Solana Native SDK.

Here’s what it does under the hood:

  • Wallet integration - Solana wallets like Phantom sign transactions, which then execute against Neon’s EVM runtime. No bridging, no RPC switching.
  • Cross-program interactions - EVM contracts running on Neon can call into Solana programs (e.g. SPL Token) directly.
  • SPL ↔ ERC-20 translation - SPL tokens are automatically wrapped as ERC-20s when entering Neon logic and unwrapped back when exiting. This all happens inside a single Solana transaction - thanks to ERC20ForSPL token created by Neon EVM.
  • Token swaps and scheduling - The SDK supports scheduled transactions on Solana.

This SDK is the same foundation showcased in another demo that allows swaps via the Solana signer library.

Unlinke the stableswap demo that is based on Curve, this demo uses PancakeSwap contracts to deploy liquidity pools, but the underlying principle is the same, since both use Solana Native SDK.

User flow demonstrates the same Solana-native UX, as in StableSwap demo:

  1. Connect your Solana wallet (Phantom or any compatible option)
  2. Choose the SPL tokens you want to swap
  3. Execute the swap directly on Solana - powered by Solidity contracts (PancakeSwap logic under the hood)

Try running it yourself to see Solana Native SDK in action from this GitHub repository.

That’s it - no RPC switching, no bridging to another network, and no requirement to hold a separate Neon gas token. You’re still in the Solana environment you know, but all of the core AMM logic is Solidity code running through Neon.

On the backend, every interaction is recorded on Solana. All the transactions - pool creation, liquidity adds, token swaps - are visible on Neon Blockscout - and each EVM-side transaction contains links to the accompanying Solana-side transactions. This means developers can not only interact with the demo via the frontend but also trace the full flow of events both on Neon EVM and on Solana.

The result is a dual proof:

  1. For developers, it shows that Neon can execute one of Ethereum’s most important DeFi protocols almost unmodified.
  2. For users, it proves that Solidity contracts can deliver the exact same wallet-native UX that makes Solana popular.

Why It Matters

Stablecoins are now the backbone of DeFi. Solana alone has over $11B in circulating stables and more than $20B in bridged TVL. That’s a huge base of liquidity looking for efficient, low-slippage venues.

We’ve already seen what happens when stableswaps gain traction. According to a summary by Cyfrin, Curve’s TVL currently hovers around $2.25 billion, which places it solidly in the top three DEXs by TVL, just behind Uniswap and Raydium, and remains the go-to protocol for stable liquidity.

With Neon, Solidity developers don’t need to rebuild their stack from scratch to launch on Solana and tap into its liquidity and userbase. This is what makes this demo worth paying attention to.

  • If you’re building on Ethereum, you can deploy to Solana with the code you already have.
  • If you’re building on Solana, you can add Solidity contracts to your toolkit.
  • If you’re in DeFi, you can think of Neon as a way to build once and deploy into both of the largest ecosystems in crypto.

Closing Thoughts

One codebase, two worlds. With Neon and its Solana Native SDK, Solidity projects don’t need Rust rewrites to run on Solana, and Solana users don’t need extra steps to use them.

The StableSwap demo is live today. It’s not a partnership announcement or a future roadmap - it’s a working proof that cross-runtime liquidity is here already.

Try It Yourself

Latest

From the Blog

The latest industry news, interviews, technologies, and resources.
View all posts
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
By subscribing, you agree to receive marketing and promotional updates from Neon.