With Intent Swap, you can swap a chain's native token (like ETH on Ethereum) to any ERC-20 token. This is ideal for users who hold only native tokens and want to acquire other assets without first wrapping them manually.

## How It Works

Native token swaps require an additional on-chain step compared to ERC-20 swaps:

1. **Create Order** - The SDK generates a FusionOrder with optimal auction parameters
2. **Submit to Relayer** - Use `submitNativeOrder()` to register the order with the resolver network
3. **Deploy Escrow** - Use `NativeOrdersFactory` to deploy an escrow contract that holds your native token
4. **Automatic Wrapping** - The escrow wraps your native token (e.g., ETH → WETH) and locks it
5. **Order Execution** - Resolvers compete to fill your order at the best price
6. **Direct Delivery** - The destination token is transferred directly to your wallet

If no resolver fills the order before expiry, the escrow returns your native token.

## Key Differences from ERC-20 Swaps

- **No approval needed** - Native tokens don't require ERC-20 approval
- **Escrow deployment required** - You must send a transaction to deploy the escrow contract
- **Small gas cost** - The escrow deployment costs a small amount of gas (~0.001 ETH)

## Interactive Code Example

Explore the complete implementation — this example demonstrates swapping native ETH for USDC on Ethereum mainnet:

<stackblitz example="intent-swap" file="src/evm/swap-native.ts" />
