> ## 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.

# Celo

> Everything a program can name on Celo, and how a program writes each name.

> [!NOTE]
>
> Archived documentation for `@eco-incorp/sauce@0.99.16`. Install this release with `npm install --save-exact @eco-incorp/sauce@0.99.16`. Links to guides outside this tab open current documentation.

**Preview chain.** Sauce supports transactions on Ethereum, Base, Arc and Solana only. On Celo a program
compiles (`sauce compile`) and the reads work (`sauce globals`, `sauce price`, `sauce pools`),
and `sauce simulate` runs wherever the release is deployed on the chain, but the `sauce`
command and the MCP server build and send no transaction: `sauce tx`, `sauce run` and
`sauce pot --deploy` are refused,
naming this chain and the supported chains: the last section shows the refusal and how to
request this chain.

| Fact | Value |
| - | - |
| Support | preview: compile and read; no transaction is built or sent |
| Slug (`--chain`) | `celo` |
| Chain id | 42220 |
| Kind | EVM |
| Name in a program | `Celo` |
| In TypeScript | `import { Celo } from "@eco-incorp/sauce"`: its tokens and protocol namespaces are properties of it |
| Native coin | CELO (CELO), 18 decimals |
| Sauce | the engine, Kitchen and Routers, at the same addresses on every EVM chain: [Deployments](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/deployments.md) |

## In a program

Compiled with `--chain celo`, a program names Celo's tokens and contracts with no
import; the same file compiled for another chain resolves each name there, or fails where the
chain does not have it.

```ts theme={null}
function main() {
  // `UniswapV3.Factory` is Celo's factory: `0xAfE208a311B21f13EF87E33A90049fC17A7acDEc`.
  require(UniswapV3.Factory != 0);
  // The same contract, qualified by the chain's name, from a program on any chain.
  require(Celo.UniswapV3.Factory == UniswapV3.Factory);
}
```

## Tokens

The registry names no token on this chain: a program uses `Token(<address>)`.

## Protocols

Every protocol the registry records here, each contract with how a program names it: its
namespace contract, or its ABI imported from `./protocols/<slug>/<Export>.json` and bound to the
address.

| Protocol | Contract | Address | In a program |
| - | - | - | - |
| [Uniswap V3](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v3.md) | factory | `0xAfE208a311B21f13EF87E33A90049fC17A7acDEc` | `UniswapV3.Factory` |
| [Uniswap V3](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v3.md) | nonfungiblePositionManager | `0x3d79EdAaBC0EaB6F08ED885C05Fc0B014290D95A` | `UniswapV3.NonfungiblePositionManager` |
| [Uniswap V3](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v3.md) | quoterV2 | `0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8` | `UniswapV3.QuoterV2` |
| [Uniswap V3](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v3.md) | swapRouter02 | `0x5615CDAb10dc425a742d643d949a7F474C01abc4` | `UniswapV3.SwapRouter02` |
| [Uniswap V4](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v4.md) | poolManager | `0x288dc841A52FCA2707c6947B3A777c5E56cd87BC` | `UniswapV4.PoolManager` |
| [Uniswap V4](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols/uniswap-v4.md) | stateView | `0xbc21f8720BABf4b20d195eE5C6e99c52b76F2bfb` | `UniswapV4.StateView` |

## Requesting support

On Celo, `sauce tx`, `sauce run` and `sauce pot --deploy` exit with status 1 before
they reach an endpoint or read a key. The first line `sauce tx` prints is:

```text theme={null}
sauce tx: building the cook transaction is refused: it involves celo (Celo, chain id 42220), a preview chain. The sauce command and its MCP server build and send transactions only on Ethereum, Base, Arc and Solana. On a preview chain they build and send none. A program still compiles there and globals, price, pools and pot's prediction still read; simulate runs wherever the release is deployed on the chain, and says so where it is not.
```

To request Celo, contact Eco through [Support and community](https://docs.eco.com/resources/support.md),
naming the chain and its id (Celo, 42220) and what you want to run there.

## Next steps

* [Chains](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/chains.md): every other chain, with its support.
* [Names and registries](https://docs.eco.com/sauce-versions/0.99.16/sauce/names.md): how a name in a program becomes an address on the chain it is compiled for.
* [Glossary](https://docs.eco.com/sauce-versions/0.99.16/sauce/glossary.md): the words these pages use, in plain terms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.