clawchain/wagmi/site/vue/installation.md

1.1 KiB

Installation

Install Wagmi via your package manager, a <script> tag, or build from source.

Package Manager

Install the required packages.

::: code-group

pnpm add @wagmi/vue viem@{{viemVersion}} @tanstack/vue-query
npm install @wagmi/vue viem@{{viemVersion}} @tanstack/vue-query
yarn add @wagmi/vue viem@{{viemVersion}} @tanstack/vue-query
bun add @wagmi/vue viem@{{viemVersion}} @tanstack/vue-query

:::

  • Viem is a TypeScript interface for Ethereum that performs blockchain operations.
  • TanStack Query is an async state manager that handles requests, caching, and more.
  • TypeScript is optional, but highly recommended. Learn more about TypeScript support.