You are a developer who wants to jump on a hackathon, and you are about to unleash this cool idea of yours into a full-fledged Dapp. To get running ASAP on some core functionalities like swap or staking, this guide is your one-stop shop for everything you need to get a working demo.

Here’s a quick FAQ to answer any immediate questions:

Do I need real tokens to test my app?

No. You can use Solana devnet with test tokens and faucet airdrops. This lets you run swaps and transfers without spending real money.

Which SDK should I use — AMM or DLMM?

How do I get started fast?

Install the SDK:

npm i @saros-finance/dlmm-sdk @solana/web3.js

Then copy the "Quick Start" example in this guide and run it against devnet.

Where can I find pool addresses?

Use lbs.fetchPoolAddresses() Or check the Saros website to find active pools. For devnet, the SDK provides sample addresses.

What if my swap transaction fails?

Can I deploy this directly to mainnet after testing?

Yes. Just switch MODE.DEVNET → MODE.MAINNET In your SDK setup and use real wallets/tokens.