Real Saros SDK Playground

Saros SDK Playground

Execute real Saros SDK functions on Solana networks. This playground uses actual SDK functions and requires a connected wallet for blockchain operations.

Connect your wallet to execute real blockchain transactions
Network Configuration
Select your Solana network and connect your wallet
SDK Examples
Real Saros SDK implementations

Token Swap (Regular)

Token swap using regular Saros SDK

DLMM Swap

Dynamic Liquidity Market Maker swap using DLMM SDK

Add Liquidity (Regular)

Add liquidity to regular Saros pool

Farm Staking

Stake LP tokens in Saros farms

Controls
Wallet Status
Status:Disconnected
Network:devnet
Token Swap (Regular)
Real SDKTypeScript
🚨 Real SDK Integration
Real Blockchain Operations: This playground executes actual Saros SDK functions that interact with Solana blockchain. All operations are real and will affect your wallet and token balances.
Required Setup:
  • Connected Solana wallet (Phantom, Solflare, etc.)
  • Sufficient SOL for transaction fees (usually ~0.01 SOL per transaction)
  • Token accounts for the tokens you want to trade
  • Understanding that all operations are irreversible
Available SDK Functions:
  • @saros-finance/sdk - Regular AMM operations (swap, liquidity)
  • @saros-finance/dlmm-sdk - Dynamic Liquidity Market Maker
  • Farm staking and reward claiming
  • Pool creation and management
Safety Tips:
  • Start with small amounts on Devnet for testing
  • Always verify transaction details before signing
  • Keep track of your transaction hashes
  • Use Mainnet only when you're confident with the operations