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

# Ponder and Portal examples

> Run Portal-backed Ponder apps covering factories, multiple chains, receipts, traces, blocks, and accounts.

The [portal-ponder repository](https://github.com/subsquid-labs/portal-ponder/tree/main/examples) contains three bounded examples. Each one uses the public Portal and a public RPC by default, so you can run it without keys.

Clone the repository once:

```bash theme={"system"}
git clone https://github.com/subsquid-labs/portal-ponder.git
cd portal-ponder
```

## Euler subgraph port

[`examples/euler-subgraph`](https://github.com/subsquid-labs/portal-ponder/tree/main/examples/euler-subgraph) ports the core of the Euler V2 subgraph to Ponder. It covers factory discovery, five EVault action events, `readContract`, derived values, and GraphQL.

```bash theme={"system"}
cd examples/euler-subgraph
npm install
npm run dev
```

The repository's verification result is 39 vaults, 887 action rows, and 900 vault status rows. Run `npm run summary` after the backfill completes to check the result.

## Euler multichain

[`examples/euler-multichain`](https://github.com/subsquid-labs/portal-ponder/tree/main/examples/euler-multichain) configures Ethereum, Base, and Arbitrum in one app. Each chain has a `factory()` source and handlers for `Deposit`, `Withdraw`, `Borrow`, `Repay`, and `Liquidate`.

```bash theme={"system"}
cd examples/euler-multichain
npm install
npm run dev
```

The current bounded ranges return 39 vaults and 887 action events on Ethereum. The Base and Arbitrum demo ranges complete but contain no matching rows. Set your own ranges before using them as data-volume examples.

## All source types

[`examples/uniswap-portal`](https://github.com/subsquid-labs/portal-ponder/tree/main/examples/uniswap-portal) exercises the source paths in one Ethereum app:

* Uniswap V3 `Swap` logs with transaction receipts
* Uniswap V2 Router call traces
* a block source with an interval of 1,000
* transactions to and from WETH through an account source

```bash theme={"system"}
cd examples/uniswap-portal
npm install
npm run dev
```

The repository's verification query returns 848 swaps, 1,676 router calls, 3 block ticks, and 1,871 WETH account transactions for its default range.

<Note>
  These are functional examples, not benchmarks. Their public endpoints are shared and can run at different speeds under load.
</Note>
