<!-- Canonical: https://docs.linea.build/network/build/tools/libraries/viem -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/network/build/tools/libraries/viem.md](https://docs.linea.build/network/build/tools/libraries/viem.md).

# Viem

Viem offers a TypeScript interface for Ethereum that provides low-level stateless features for interactions focused on reliability, performance, and developer experience.

To point to your dapp on Linea, you need to use

```text
import { linea, lineaSepolia } from 'viem/chains'
```

For more specifics, [see the docs](https://viem.sh/docs/chains/introduction).
