# Optimism

> LOPW on Optimism through the EVM binding: chain ids and CAIP-2 ids for OP Sepolia and OP Mainnet, native USDC addresses, explorers, the Chainlink oracle note, and the LOPW contract addresses or the deployment status for each network.

*LOPW documentation · Networks.* Canonical page: https://lopw.com/docs/networks/optimism.html · This Markdown twin: https://lopw.com/docs/networks/optimism.md · Index of all pages: https://lopw.com/llms.txt · Everything in one file: https://lopw.com/llms-full.txt

Optimism runs LOPW through the shared [EVM binding](https://lopw.com/docs/networks/evm.html): Solidity contracts, EIP-712 typed data signed with secp256k1, native USDC with 6 decimals, Chainlink feeds for P6 and x402 `exact` with EIP-3009. OP Mainnet and OP Sepolia share the OP Stack with Base, so the binding behaves identically; only addresses and chain ids differ.

**EVM binding**

## At a glance

| Item | OP Sepolia | OP Mainnet |
| --- | --- | --- |
| Network name (API paths) | `optimism-sepolia` | `optimism` |
| CAIP-2 | `eip155:11155420` | `eip155:10` |
| Chain id | 11155420 | 10 |
| USDC (native, 6 decimals) | [0x5fd84259d66Cd46123540766Be93DFE6D43130D7](https://sepolia-optimism.etherscan.io/address/0x5fd84259d66Cd46123540766Be93DFE6D43130D7) | [0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85](https://optimistic.etherscan.io/address/0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85) |
| Explorer | [sepolia-optimism.etherscan.io](https://sepolia-optimism.etherscan.io) | [optimistic.etherscan.io](https://optimistic.etherscan.io) |
| P6 oracle | Chainlink feed, verified on-chain at deployment | Chainlink feed, verified on-chain at deployment |
| LOPW deployment | None published | None published |

## LOPW contracts

### OP Sepolia

Not deployed No LOPW deployment is published on this network yet.

### OP Mainnet

Not deployed No LOPW deployment is published on this network yet.

## Oracle note

P6 terms on Optimism name a Chainlink `AggregatorV3Interface` feed and its pair label as `bytes32`. The seller cites the `roundId` it used; the validator reads `getRoundData(roundId)` on-chain, applies `max_oracle_age` to the round’s `updatedAt`, and proves a breach with the exact integer deviation test. Every feed address is verified on-chain (`description()`, `decimals()`) before use and recorded in `deployments/.json`.

## What is identical to every other EVM network

- The Solidity contracts, their functions, errors and events.
- The EIP-712 type strings and the domain `LOPW` / `1`; only `chainId` and `verifyingContract` change.
- The wire form: 0x-hex ABI encoding of `SignedOffer` and `SignedReceipt`.
- USDC with 6 decimals as stake and payment token; x402 `exact` with EIP-3009.
- Indexing after `EVM_CONFIRMATIONS` confirmations, writing the same `events`, `services` and `claims` rows with `network` set to the names above.

## For agents

> **For agents**
>
> | Item | Value |
> | --- | --- |
> | Network name in API paths | `optimism-sepolia` (OP Sepolia), `optimism` (OP Mainnet); served once a LOPW deployment is published for the network |
> | CAIP-2 id | `eip155:11155420`, `eip155:10` |
> | Wire encoding of `extensions.lopw` | 0x-hex ABI encoding of `SignedOffer` (`info.offer`) and `SignedReceipt` (`receipt`); schemas [offer-evm.json](https://lopw.com/docs/schemas/offer-evm.json) and [receipt-evm.json](https://lopw.com/docs/schemas/receipt-evm.json) |
> | Explorer | `https://sepolia-optimism.etherscan.io/tx/{hash}`, `https://sepolia-optimism.etherscan.io/address/{address}` |
> | USDC | `0x5fd84259d66Cd46123540766Be93DFE6D43130D7` (OP Sepolia), `0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85` (OP Mainnet) |

- [EVM binding](https://lopw.com/docs/networks/evm.html): Types, EIP-712 hashing, contracts, P6 with Chainlink, x402 with EIP-3009, SDK.
- [All networks](https://lopw.com/docs/networks/): Stellar as the reference binding, the EVM networks, and the planned Solana binding.
