> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cookbook

> Integration guides and Sauce program examples for transfers, deposits, treasury rebalancing, and solver development.

Choose a guide for your integration or a Sauce example for a specific program pattern. Follow each page's prerequisites and configuration steps before running its code.

## Guides

| Guide | Builds | Uses |
| - | - | - |
| [Sending USDC across chains](/cookbook/send-usdc-cross-chain) | A server-side transfer: signed quote, verification, funding transaction, status polling | Eco API v1 |
| [Cross-chain treasury rebalancing](/cookbook/treasury-rebalancing) | A design for balance thresholds, transfer submission, and reconciliation | Eco API v1 |
| [Auto-route deposits to Solana](/cookbook/auto-route-deposits) | A Base USDC deposit address associated with a Solana recipient | Deposit & Payout |
| [Gasless USDC into Circle Gateway](/cookbook/gasless-gateway-deposit) | A deposit into a Gateway balance funded by an ERC-3009 signature, with no user gas | Deposit & Payout |
| [Becoming an Eco solver](/cookbook/become-a-solver) | The two quote endpoints, registration, Portal event watching, fulfillment, withdrawal | Solver interface |

## Sauce programs

SauceScript examples from the compiler example set and the `@eco-incorp/sauce` package. See each page for its source, parameters, and limitations.

| Program | What it does | Source |
| - | - | - |
| [Best-pool swap](/cookbook/sauce/best-pool-swap) | Quotes two Uniswap V3 pools and swaps through the better one, decided inside the block | Compiler example set |
| [Liquidity-weighted order split](/cookbook/sauce/order-split) | Splits an order across two pools by live liquidity and enforces a floor on the combined output | Compiler example set |
| [Settle](/cookbook/sauce/settle) | Sweeps a Pot's balance of listed tokens to one recipient with a minimum-output floor; EVM and SVM versions | `@eco-incorp/sauce/recipes`, `/svm/recipes` |
| [CCTP split transfer](/cookbook/sauce/cctp-split) | Moves USDC in `depositForBurn` calls capped per message, atomically in one cook, with the plain-transfer baseline | `@eco-incorp/sauce/recipes` |
| [Conditional transfer and small programs](/cookbook/sauce/small-programs) | Conditional native transfer, arithmetic, a Uniswap factory lookup, an ERC-20-like transfer with storage and events, Fibonacci | Compiler docs and `dev-tools/sauce` |

## Agents

| Artifact | What it does |
| - | - |
| [`transfer.ts` reference script](/api-reference/agent-integration) | Chains, quote, signature verification, funding-transaction verification, funding, status polling, from an EVM or Solana source chain. Linked from the `eco-api-v1` skill |
| [Build with AI agents](/get-started/build-with-agents) | Skills install, docs MCP server, starter prompt |

## Contribute a recipe

[Contact Eco](mailto:contact@eco.com) to suggest a recipe. Include its dependencies, source, and validation steps.
