Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/cow-protocol/integrate/solana.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ description: Integrate Solana swaps, choose who pays for order creation, and tra

For Solana swaps, use the [Solana Trading SDK](https://github.com/cowprotocol/cow-sdk/tree/main/packages/sdk-trading-solana) or integrate directly with the [Solana Order Book API](https://barn.api.cow.fi/docs/?urls.primaryName=Solana+Orderbook).

:::caution Alpha integration

The Solana integration is in alpha, so program versions and APIs can change. Both staging and production use Solana mainnet-beta and real tokens; use a separate wallet with small amounts for testing.

:::
The settlement program was audited by [Neodyme](https://neodyme.io). Read the [audit report](https://github.com/cowprotocol/solana-programs/tree/main/audits).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## Choose an Environment

Expand All @@ -28,6 +24,12 @@ import { SolanaTradingSdk } from '@cowprotocol/sdk-trading-solana'
const sdk = new SolanaTradingSdk({ env: 'prod' })
```

:::info Both environments use real funds

Staging and production both run on Solana mainnet-beta with real tokens. Staging is a separate order book and settlement program for integration testing, not a test network.

:::

## Order Creation

The user signs a creation transaction in both flows:
Expand Down
Loading