Skip to main content
The Sauce SDK, published as @eco-incorp/sauce, gives you tools to write, compile, simulate and run onchain programs. Use it to build payments, swaps, lending operations and workflows that choose actions based on blockchain state. You express the calls and conditions in SauceScript, which uses a supported subset of TypeScript syntax. The SDK provides a TypeScript library for applications, a CLI for terminal workflows, and MCP tools and skills for coding agents.

What you can build

Programs execute when a transaction is submitted; they do not schedule future transactions themselves. Programmable Transactions explains the execution model, and Sauce SDK quickstarts provides complete examples.

Run independently or within a route

A program can run on its own, without a Routes transfer. Its contract calls and checks execute within one transaction on one chain. An unhandled failure rolls back that transaction’s changes; earlier approvals and funding transactions remain separate. A program usually runs through a Pot, the account that holds its funds and makes its calls. You can reuse that account for different programs. The Sauce introduction explains Pots and the execution runtime. For a cross-chain transfer, use Routes API + CLI. If that transfer should run a program at its destination, follow Sauce in a route. Funding, destination execution and settlement retain their separate lifecycle.

Choose how to build

Chains and setup

The CLI and agent tools build and send transactions on Ethereum, Base, Arc and Solana, and on the testnets Arc Testnet, Base Sepolia, Ethereum Sepolia, Solana Devnet and Solana Testnet. Other registry chains have preview support with different restrictions. Check chains and endpoints and the release’s deployments for your target chain; a registry entry alone does not establish deployment availability.

Next steps

Follow Installation for requirements and setup, then build your first program. Use the SDK reference when you need exact TypeScript signatures.