> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/zkp2p/zkp2p-contracts/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the @zkp2p/contracts-v2 package in your project

The `@zkp2p/contracts-v2` package provides TypeScript interfaces, ABIs, contract addresses, and utilities for interacting with ZKP2P V2 smart contracts.

## Package Manager Installation

Install the package using your preferred package manager:

<CodeGroup>
  ```bash npm theme={null}
  npm install @zkp2p/contracts-v2
  ```

  ```bash yarn theme={null}
  yarn add @zkp2p/contracts-v2
  ```

  ```bash pnpm theme={null}
  pnpm add @zkp2p/contracts-v2
  ```
</CodeGroup>

## Peer Dependencies

The package requires ethers v5 or v6 as a peer dependency:

```json package.json theme={null}
{
  "dependencies": {
    "@zkp2p/contracts-v2": "^0.2.0",
    "ethers": "^5.7.2"
  }
}
```

<Note>
  The package supports both ethers v5 and v6. Make sure you have one of these versions installed.
</Note>

## What's Included

The package provides:

* **Contract Addresses** - Pre-configured addresses for all deployed networks
* **ABIs** - Minimal contract ABIs extracted from on-chain deployments
* **Constants** - Protocol parameters and configuration values
* **Payment Methods** - Payment method configurations with provider hashes
* **Types** - TypeScript type definitions for all contracts
* **Utilities** - Helper functions for protocol operations

## Version Information

Current stable version: **0.2.0-rc.3**

View the latest version on [npm](https://www.npmjs.com/package/@zkp2p/contracts-v2).

## Next Steps

<CardGroup cols={2}>
  <Card title="Setup" icon="gear" href="/sdk/setup">
    Learn how to set up and initialize the package
  </Card>

  <Card title="Contract Addresses" icon="location-dot" href="/sdk/addresses">
    Access deployed contract addresses
  </Card>
</CardGroup>
