## Introduction

This guide shows how to perform a cross-chain swap from Solana to an EVM chain (e.g., Ethereum) using 1inch Fusion+.

## Before You Start

- You must have a valid **1inch API Key**. You can get one from the [1inch Business](https://business.1inch.com/portal).
- Your wallet must have at least $5 worth of USDT on Solana (or the token you're swapping)
- Your wallet must have sufficient SOL for transaction fees
- You need both a Solana wallet (source) and an EVM wallet address (destination)

## Key Differences from EVM-to-EVM

- Uses `SolanaAddress` for the source token and `EvmAddress` for the destination token
- Order is created with `quote.createSolanaOrder()` and announced with `sdk.announceOrder()`
- Requires building and submitting a Solana transaction via `SvmSrcEscrowFactory` to lock tokens in escrow
- Uses `@solana/web3.js` and `@coral-xyz/anchor` for Solana transaction handling

## Integration Pattern

1. **Initialize SDK** — Create an SDK instance with your API key
2. **Fetch Quote** — Get cross-chain pricing from Solana to the destination EVM chain
3. **Generate Secrets** — Create cryptographic secrets for escrow locking
4. **Create & Announce Order** — Build the Solana order and announce it to the relayer
5. **Submit Solana Transaction** — Deploy the source escrow and lock tokens on-chain
6. **Monitor & Submit Secrets** — Poll for escrow deployment, then reveal secrets to finalize

## Interactive Code Example

The EVM-to-EVM example demonstrates the core cross-chain flow. The Solana variant follows the same secret submission pattern but uses Solana-specific order creation and transaction handling:

<stackblitz example="cross-chain-swap" file="src/quick-start.ts" />
